Comment 1 for bug 1759578

Revision history for this message
Simon IJskes (sim-nyx) wrote :

i tried two variants:
1) lxc launch images:ubuntu/18.04 u1
2) lxc launch ubuntu:18.04 u2

1) takes ages before runlevel becomes "N 5" and contains mentioned bug.
2) is fast but contains cloud-init package.

lxd containers are create on a 10.* net.

1) syslog:
root@u1:~# grep hostname /var/log/syslog
May 4 17:16:57 u1 dbus-daemon[78]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.1' (uid=100 pid=58 comm="/lib/systemd/systemd-networkd " label="unconfined")
May 4 17:16:57 u1 systemd[1]: systemd-hostnamed.service: Failed to reset devices.list: Operation not permitted
May 4 17:16:57 u1 systemd[1]: Failed to set devices.allow on /system.slice/systemd-hostnamed.service: Operation not permitted
May 4 17:16:57 u1 systemd[1]: message repeated 7 times: [ Failed to set devices.allow on /system.slice/systemd-hostnamed.service: Operation not permitted]
May 4 17:16:57 u1 systemd[90]: systemd-hostnamed.service: Failed to set up network namespacing: Permission denied
May 4 17:16:57 u1 systemd[90]: systemd-hostnamed.service: Failed at step NETWORK spawning /lib/systemd/systemd-hostnamed: Permission denied
May 4 17:16:57 u1 systemd[1]: systemd-hostnamed.service: Main process exited, code=exited, status=225/NETWORK
May 4 17:16:57 u1 systemd[1]: systemd-hostnamed.service: Failed with result 'exit-code'.
May 4 17:17:22 u1 systemd-networkd[58]: Could not set hostname: Method call timed out