[systemd-devel] systemd-networkd in initrd

Martin Pitt martin at piware.de
Sun Dec 25 20:35:35 UTC 2016


Hello Thijs,

Thijs Cramer [2016-12-23 17:26 +0100]:
> I've already done that, and at the time the hook is executed i'm
> printing the contents of /etc/passwd (inside the initrd) and it prints
> the entries just fine.
> Could it be the lack of dbus? Maybe it tries to gather more
> information from the user other than /etc/passwd?

No, networkd works fine without D-Bus (of course you can't use D-Bus specific
functionality then, mostly transient hostnames and DHCP-acquired timezones).
I've tried it myself in a Debian initramfs-tools context (which has no systemd
nor D-Bus nor much other bells and whistles aside from busybox and udev) and it
works fine.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list