On Sun, Oct 09, 2016 at 12:15:05PM +0200, Jean-Charles de Longueville wrote: > Hi > > This morning the 3 hosts running LXD/LXC on Ubuntu Xenial behave > differently from yesterday morning. I cannot start a container anymore > > """ > root@lab:~# lxc launch ubuntu: test -e > Creating test > Starting test > error: Error calling 'lxd forkstart > test /var/lib/lxd/containers /var/log/lxd/test/lxc.conf': err='exit > status 1' > lxc 20161009095915.905 ERROR lxc_utils - utils.c:open_devnull:1760 - > Permission denied - Can't open /dev/null > lxc 20161009115915.905 ERROR lxc_sync - sync.c:__sync_wait:57 - An > error occurred in another process (expected sequence number 5) > lxc 20161009115915.905 ERROR lxc_start - start.c:__lxc_start:1354 - > failed to spawn 'test' > > Try `lxc info --show-log test` for more info > """ > > All containers are giving that same answer. I did not change anything > myself and no one else has acces to the machines. How did that happen? > And how to fix it? I did google a couple of hours to no extend :/ > > I did reboot the hosts but nothing changes.
What does "ls -lh /dev/null" show on your host? I had a friend of mine report something similar a while back, where some (out of the archive) package he installed on the host added a udev hook which would then accidently interfere with the permission of /dev/null (making it 664 and changing ownership too). -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: PGP signature
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
