[systemd-devel] systemd-networkd in initrd

Thijs Cramer thijs.cramer at gmail.com
Fri Dec 23 16:26:48 UTC 2016


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?

- Thijs

2016-12-23 17:14 GMT+01:00 Tomasz Torcz <tomek at pipebreaker.pl>:
> On Fri, Dec 23, 2016 at 04:43:32PM +0100, Thijs Cramer wrote:
>> In that case, is there any guide on what's required to get it working?
>>
>> My current scripting only adds the binary (and library dependancies)
>> and adds the systemd-network and resolve users to /etc/passwd.
>> When it starts it says: "Cannot resolve user name systemd-network: No
>> such file or directory".
>>
>> Which seems to me as if it lacks some dependency?
>
>   Lack of configuration – it cannot find *user* named systemd-network.
> Put the user data in /etc/passwd or whatever user database are you using
> in initrd.
>
> --
> Tomasz Torcz                        Once you've read the dictionary,
> xmpp: zdzichubg at chrome.pl           every other book is just a remix.
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list