> ● systemd-remount-fs.service loaded failed failed Remount Root and Kernel File Systems
Actually, I cannot reproduce this bit. I launched a xenial lxd container with the default lxd config on xenial host, and this unit succeeded. It's also supposed to be a no-op as there are no actual fstab entries. Scott, can you please run
strace /lib/systemd/systemd-remount-fs
in your container and paste the output here? Thanks!
> Adding ConditionPathIsReadWrite=!/ may be the simplest and most straightforward solution here.
It's actually not. You actually *may* have an fstab, and systemd-remount-fs is then necessary to (re)mount file systems with the options in fstab.
> ● systemd- remount- fs.service loaded failed failed Remount Root and Kernel File Systems
Actually, I cannot reproduce this bit. I launched a xenial lxd container with the default lxd config on xenial host, and this unit succeeded. It's also supposed to be a no-op as there are no actual fstab entries. Scott, can you please run
strace /lib/systemd/ systemd- remount- fs
in your container and paste the output here? Thanks!
> Adding ConditionPathIs ReadWrite= !/ may be the simplest and most straightforward solution here.
It's actually not. You actually *may* have an fstab, and systemd-remount-fs is then necessary to (re)mount file systems with the options in fstab.