So, I tested this template today. It installs OK, but I had a problem with package installs.
The package avahi-daemon fails to install through apt with the following error:
Code:
Setting up avahi-daemon (0.6.32~rc+dfsg-1ubuntu2) ...
Failed to add /run/systemd/ask-password to directory watch: No space left on device
Failed to add /run/systemd/ask-password to directory watch: No space left on device
Job for avahi-daemon.service failed because the control process exited with error code. See "systemctl status avahi-daemon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript avahi-daemon, action "start" failed.
dpkg: error processing package avahi-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
So, it errors out with a "no space left on device" when trying to set up some type of directory watch...
The thing is, none of the devices are full, I'm not sure where it is trying to write and failing:
Code:
$ df -h
Filesystem Size Used Avail Use% Mounted on
rpool/subvol-999-disk-1 16G 2.4G 14G 15% /
none 100K 0 100K 0% /dev
cgroup 12K 0 12K 0% /sys/fs/cgroup
tmpfs 95G 0 95G 0% /sys/fs/cgroup/cgmanager
tmpfs 95G 0 95G 0% /dev/shm
tmpfs 95G 8.5M 95G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 19G 0 19G 0% /run/user/1000
So, this problem could be one of the following, and I'm not really sure how to diagnose which it is:
1.) Ubuntu Xenial repository/package problem
2.) Avahi bug
3.) Avahi not compatible with LXC containers
4.) Problem with this Ubuntu Xenial template
5.) Apparmor prevents Avahi from working somehow.
Does anyone know which it might be, and if there is a way for me to work around it?
Much obliged,
Matt