Bug#765622: Dracut, systemd and base-files

Krzysztof A. Sobiecki sobkas at gmail.com
Mon Oct 27 23:46:46 GMT 2014


>So, which package is to blame for not booting? dracut or systemd?
Dracut uses Systemd as initial init system. Systemd should switch
to real / using /lib/systemd/system/initrd-switch-root.service

It calls "/bin/systemctl --no-block --force switch-root /sysroot"
During this it checks /sysroot for /etc/os-release.
Because thanks to base-files /etc/os-release is a link to
../usr/lib/os-release it fails on systems with separate /usr.

Applying one of my patches to base-files fixes boot problem with dracut
and systemd. I think that patching systemd to not search for
/etc/os-release would also fix it.

-- 
X was an interactive protocol: 
alpha blending a full-screen image looked like slugs racing down the monitor. 
http://www.keithp.com/~keithp/talks/usenix2000/render.html



More information about the Pkg-systemd-maintainers mailing list