[lxc-users] ntpdate errors in vivid container

Serge Hallyn serge.hallyn at ubuntu.com
Mon Jun 29 14:56:30 UTC 2015


Quoting Joe McDonald (ideafilter at gmail.com):
> host is Ubuntu 14.04.2 LTS
> container is Ubuntu 15.04 (vivid)
> lxc is 1.1.2
> 
> using bridging for networking.
> container /etc/network/interfaces looks like:
> auto lo
> iface lo inet loopback
> 
> auto eth0
> iface eth0 inet static

Why are you using static here?  Have you set up the ip address
using the container configuration file?  The problem with that
is that unless you've done it manually, dns won't be set up so
ntp would still fail.

> bringing it up, everything works fine, but there is a 2 minute delay in the
> bootup process.  delay from (i think bringing up network calls ntpdate):
> 
> Jun 26 12:20:32 vivweb ntpdate[611]: Can't adjust the time of day:
> Operation not permitted
> Jun 26 12:22:25 vivweb systemd[1]: ifup-wait-all-auto.service start
> operation timed out. Terminating.
> Jun 26 12:22:25 vivweb systemd[1]: Failed to start Wait for all "auto"
> /etc/network/interfaces to be up for network-online.target.
> Jun 26 12:22:25 vivweb systemd[1]: Unit ifup-wait-all-auto.service entered
> failed state.
> Jun 26 12:22:25 vivweb systemd[1]: ifup-wait-all-auto.service failed.
> 
> other errors:
> Jun 26 12:22:25 vivweb systemd[1]: Failed to reset devices.list on
> /lxc/vivweb/system.slice/networking.service: Permission denied
> Jun 26 12:22:26 vivweb systemd[1]: Failed to reset devices.list on
> /lxc/vivweb/system.slice/systemd-update-utmp-runlevel.service: Permission
> denied
> 
> any idea why these errors are occuring?

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list