Bug#742048: systemd-remount-fs.service fails for split-usr

Michael Biebl biebl at debian.org
Sat Dec 27 01:44:07 GMT 2014


control: severity -1 serious

On Tue, 18 Mar 2014 17:11:37 +0100 Michael Biebl <biebl at debian.org> wrote:
> Package: systemd
> Version: 204-7
> Severity: normal
> 
> I've setup a jessie test VM with a LVM/split-partition configuration,
> i.e. a separate partition for /home, /usr/, /var and /tmp (as created
> by the installer)
> 
> The systemd-remount-fs.service fails:
> 
> Mär 18 17:00:41 debian systemd[1]: Starting Remount Root and Kernel File Systems...
> Mär 18 17:00:41 debian systemd-remount-fs[295]: mount: /usr not mounted or bad option
> Mär 18 17:00:41 debian systemd-remount-fs[295]: /bin/mount for /usr exited with exit status 32.
> Mär 18 17:00:41 debian systemd[1]: systemd-remount-fs.service: main process exited, code=exited, status=1/FAILURE
> Mär 18 17:00:41 debian systemd[1]: Failed to start Remount Root and Kernel File Systems.
> Mär 18 17:00:41 debian systemd[1]: Unit systemd-remount-fs.service entered failed state.
> Mär 18 17:00:41 debian systemd[1]: Starting Local File Systems (Pre).
> 
> Earlier, systemd already complained:
> Mär 18 17:00:40 debian systemd[1]: /usr appears to be on its own filesytem and is not already mounted. This is not a supported setup. Some things will probably break (sometimes even silently) in mysterious ways. Consult http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken for more information.
> 
> 
> System seems to boot fine and /usr is mounted, so I'm not sure if it's
> worth spending effort on this and we should rather push to get
> initramfs-tools updated to mount /usr for us.
> 
> The problematic bits seem to be at [0]
> 
> Michael
> 
> [0] http://anonscm.debian.org/gitweb/?p=pkg-systemd/systemd.git;a=blob;f=src/remount-fs/remount-fs.c;hb=HEAD#l82


It looks like we won't get initramfs-tools 0.118 with usr-mount support
in the initramfs, as this created quite a few regressions which need to
be dealt with first.

I therefore think we need to workaround this issue in systemd and make
sure systemd-remount-fs.service doesn't fail for split-usr setups.
So marking this bug as RC and bumping the severity to serious.

The patch might be as simple as the attached one. But we'll need to
check if it doesn't cause any regressions with dracut and
initramfs-tools 0.118, which actually do mount /usr in the initramfs.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remount-fs.patch
Type: text/x-patch
Size: 712 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141227/50836fcc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141227/50836fcc/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list