Describe the bug
system-volatile-root.service requires /sysroot to be mounted
Distribution used
Manjaro
Dracut version
056-1
Init system
systemd
To Reproduce
Add systemd.volatile=overlay to kernel command line of a functional nfsroot setup:
root=10.1.1.2:/srv/nfs/root systemd.volatile=overlay
Expected behavior
An overlayfs on top of the nfsroot
Additional context
I added a small shell script to bring up the network and mount the nfsroot on /sysroot as a ExecStartPre in systemd-volatile-root.service and this proved to be successful. I had a ticket open with systemd thinking this was a systemd issue, but was informed it is a dracut issue, as dracut is responsible for the nfsroot mount.
systemd.volatile=overlay works fine without modification for a local root filesystem, the issue is only with an NFS root.
Describe the bug
system-volatile-root.service requires /sysroot to be mounted
Distribution used
Manjaro
Dracut version
056-1
Init system
systemd
To Reproduce
Add systemd.volatile=overlay to kernel command line of a functional nfsroot setup:
root=10.1.1.2:/srv/nfs/root systemd.volatile=overlayExpected behavior
An overlayfs on top of the nfsroot
Additional context
I added a small shell script to bring up the network and mount the nfsroot on /sysroot as a ExecStartPre in systemd-volatile-root.service and this proved to be successful. I had a ticket open with systemd thinking this was a systemd issue, but was informed it is a dracut issue, as dracut is responsible for the nfsroot mount.
systemd.volatile=overlay works fine without modification for a local root filesystem, the issue is only with an NFS root.