Bug#810748: systemd does not mount /usr in initramfs, breaking split /usr

Michael Biebl biebl at debian.org
Thu Jan 14 15:09:14 GMT 2016


Am 14.01.2016 um 00:04 schrieb Nis Martensen:
> If I read the code correctly, than this patch is the culprit:
> http://sources.debian.net/src/systemd/215-17%2Bdeb8u2/debian/patches/Skip-filesystem-check-if-already-done-by-the-initram.patch/?hl=29#L29
> 
> When systemd is run in the initramfs (which it is with dracut), there
> is no /run/initramfs/fsck-usr.

...

> Perhaps interesting side note: When dracut does not use systemd, its
> usrmount module will use the flag file /run/initramfs/usr-fsck to
> indicate that fsck has been performed [1]. Might be worth agreeing on a
> common file name for this?
> 
> [1]
> https://sources.debian.net/src/dracut/044%2B3-2/modules.d/98usrmount/mount-usr.sh/#L95

Agreed, would be nice to have dracut and initramfs-tools use the same
flag file here. I don't have a strong opinion on which name should be
chosen and leave that up to the dracut and initramfs-tools maintainers
to decide (in CC).



-- 
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: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160114/c5813f1c/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list