Likely related, but in Artful systemd-networkd is setting the hostname
and has a 10 second timeout:
# systemctl status --no-pager -l systemd-networkd
● systemd-networkd.service - Network Service
Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled;
vendor preset: enabled)
Active: active (running) since Thu 2017-11-09 15:20:37 UTC; 1h 7min ago
Docs: man:systemd-networkd.service(8)
Main PID: 146 (systemd-network)
Status: "Processing requests..."
Tasks: 1 (limit: 4915)
Memory: 1.4M
CPU: 32ms
CGroup: /system.slice/systemd-networkd.service
└─146 /lib/systemd/systemd-networkd
Nov 09 15:20:37 a2 systemd[1]: systemd-networkd.service: Failed to set
invocation ID on control group /system.slice/systemd-networkd.service,
ignoring: Operation not permitted
Nov 09 15:20:37 a2 systemd[1]: Starting Network Service...
Nov 09 15:20:37 a2 systemd-networkd[146]: eth0: Gained IPv6LL
Nov 09 15:20:37 a2 systemd-networkd[146]: Enumeration completed
Nov 09 15:20:37 a2 systemd[1]: Started Network Service.
Nov 09 15:20:40 a2 systemd-networkd[146]: eth0: DHCPv4 address
10.245.119.172/24 via 10.245.119.1
Nov 09 15:20:40 a2 systemd-networkd[146]: Not connected to system bus, ignoring
transient hostname.
Nov 09 15:20:49 a2 systemd-networkd[146]: eth0: Configured
Nov 09 15:21:18 a2 systemd-networkd[146]: Could not set hostname: Method call
timed out
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575779
Title:
hostnamectl fails under lxd unpriv container
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1575779/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs