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.
I have verified this fix using systemd 249.11-0ubuntu3.6 from jammy-proposed:
nr@clean- jammy-amd64: ~$ apt-cache policy systemd archive. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages dpkg/status 11-0ubuntu3. 4 500 archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages 11-0ubuntu3 500 archive. ubuntu. com/ubuntu jammy/main amd64 Packages jammy-amd64: ~$ cat /etc/fstab 64d3-421b- a77d-2f9a2c6d68 be / ext4 errors=remount-ro 0 1 x-systemd. requires- mounts- for=/data 0 0 jammy-amd64: ~$ systemctl status home2.mount 99.107: /data/home
man: systemd- fstab-generator (8) slice/home2. mount
systemd:
Installed: 249.11-0ubuntu3.6
Candidate: 249.11-0ubuntu3.6
Version table:
*** 249.11-0ubuntu3.6 500
500 http://
100 /var/lib/
249.
500 http://
249.
500 http://
nr@clean-
# /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-
# /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,
nr@clean-
● 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.
Docs: man:fstab(5)
Tasks: 0 (limit: 1084)
Memory: 16.0K
CPU: 2ms
CGroup: /system.
Sep 12 15:29:19 clean-jammy-amd64 systemd[1]: Mounting /home2...
Sep 12 15:29:19 clean-jammy-amd64 systemd[1]: Mounted /home2.