Dear systemd developers,

In my custom initramfs, lvm vgmknodes successfully creates the device
nodes for /dev/vg0/home and /dev/vg0/swap . However, /home is left unmounted
and swap is still off. Then, after handing business over to systemd (with
/dev re-mounted), and after some services are activated successfully,
systemd enters an emergency shell: The (autogenerated)
[email protected] and [email protected] want
dev-vg0-home.device and dev-vg0-swap.device to be ready, but

        $ systemctl status dev-vg0-home.device
and     $ systemctl status dev-vg0-swap.device

show they are inactive -- even though the device nodes at /dev/vg0/home and
/dev/vg0/swap actually exists and are working!

A workaround for this bug is to mask these devices:

        $ systemctl mask /etc/systemd/system/dev-vg0-home.device
        $ systemctl mask /etc/systemd/system/dev-vg0-var.device

Is there any better option available?

Many thanks for taking a look at this issue.

Best,
        Dominik

[*] Debian version 215-12. The issue is present (at least) since 204-8, see
Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745390 . I
_could_ try out upstream systemd if really needed, but maybe that's not
necessary?

Attachment: signature.asc
Description: Digital signature

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to