timedatectl fails inside container
Bug #1477130 reported by
god
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
lxc-attach -n mycont -- timedatectl
Failed to create bus connection: No such file or directory
while on the host timedatectl works just fine.
lxc Version: 1.1.2-0ubuntu3 on ubuntu 15.04 x86_64
To post a comment you must log in.
Seems to work fine here:
root@ubuntu:~# timedatectl
Local time: Mon 2015-11-09 18:33:40 UTC
Universal time: Mon 2015-11-09 18:33:40 UTC
RTC time: n/a
Time zone: Etc/UTC (UTC, +0000)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
That's with a 15.10 container on a 14.04 host.
I suspect this was actually a systemd issue where the daemon side of this wasn't starting somehow.