Comment 6 for bug 1576341

Revision history for this message
Martin Pitt (pitti) wrote : Re: fails in lxd container

> ● 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.