Comment 10 for bug 1979952

Revision history for this message
Nick Rosbrook (enr0n) wrote :

I have verified this fix using systemd 249.11-0ubuntu3.6 from jammy-proposed:

nr@clean-jammy-amd64:~$ apt-cache policy systemd
systemd:
  Installed: 249.11-0ubuntu3.6
  Candidate: 249.11-0ubuntu3.6
  Version table:
 *** 249.11-0ubuntu3.6 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     249.11-0ubuntu3.4 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     249.11-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
nr@clean-jammy-amd64:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/vda3 during installation
UUID=32a6b55f-64d3-421b-a77d-2f9a2c6d68be / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/vda2 during installation
UUID=C591-26A1 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
172.16.99.107:/data /data nfs defaults,nfsvers=3 0 0
/data/home /home2 none bind,_netdev,x-systemd.requires-mounts-for=/data 0 0
nr@clean-jammy-amd64:~$ systemctl status home2.mount
● home2.mount - /home2
     Loaded: loaded (/etc/fstab; generated)
     Active: active (mounted) since Mon 2022-09-12 15:29:19 EDT; 29s ago
      Where: /home2
       What: 172.16.99.107:/data/home
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
      Tasks: 0 (limit: 1084)
     Memory: 16.0K
        CPU: 2ms
     CGroup: /system.slice/home2.mount

Sep 12 15:29:19 clean-jammy-amd64 systemd[1]: Mounting /home2...
Sep 12 15:29:19 clean-jammy-amd64 systemd[1]: Mounted /home2.