Failed to start systemd-hostnamed.service [ System ] #1949
Comments
|
As the kernel is not configured with namespace support,and systemd looks for network namespace..I missed that patch. |
|
Thanks @ratagupt |
|
workaround is:-
|
|
https://gerrit.openbmc-project.xyz/5398 Don't return the error if unable to create the network namespace |
|
STATUS 7/20 Peer review pending |
|
Verified working on latest build |
On systems where kernel is not configured with namespace support then don't return error during setting up network namespace. Rationale to not enable the kernel with namespace support as it brings lot of unnecessary code. Resolves openbmc/openbmc#1949 Change-Id: I3b52a8c61b9bd3e3fff02cfab998c3746b8b72c6 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
For those that need this, follow the steps below:
You should now be able to run hostnamectl without it hanging. |
|
The above suggestions do work, but don't do that! Instead enable CONFIG_NET_NS - if you don't you will have other strange errors, for example pulseaudio won't work (will freeze on startup), and errors like |
Driver info:
Journald snippet:
Host_service_startup_failure.txt
The text was updated successfully, but these errors were encountered: