[Touch-packages] [Bug 1507247] Re: avahi-daemon dies after about a minute
I actually have a fix for this. The reason why the daemon is dying is because dbus is disabled in avahi and the configuration expects DBUS to be enabled for status checking. Make sure you have "enable-dbus=yes" in avahi-daemon.conf :) ** Changed in: avahi (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to avahi in Ubuntu. https://bugs.launchpad.net/bugs/1507247 Title: avahi-daemon dies after about a minute Status in avahi package in Ubuntu: Fix Committed Bug description: So I thought I'd try running Vagrant inside of an Ubuntu VM to do some development work as detailed here: http://taoofmac.com/space/HOWTO/Vagrant When the box starts up, there is a short delay before broadcasting begins, and I'm able to ping the guest (in this case registered as "hobo-container.local"). Then, after a minute or two, it stops responding. The logs look like this: -- Logs begin at Thu 2015-10-15 14:36:55 EDT, end at Thu 2015-10-15 14:40:00 EDT. -- Oct 15 14:36:58 hobo-container systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Oct 15 14:36:58 hobo-container avahi-daemon[507]: Found user 'avahi' (UID 110) and group 'avahi' (GID 119). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped root privileges. Oct 15 14:36:58 hobo-container avahi-daemon[507]: avahi-daemon 0.6.31 starting up. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully called chroot(). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped remaining capabilities. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Loading service file /services/ssh.service. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::a0 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv6 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv4 with address 203.0.11 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv4 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Network interface enumeration completed. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for fe80::a00:27ff:fef9:e38c on eth1.*. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for 203.0.113.2 on eth1.IPv4. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering HINFO record with values 'X86_64'/'LINUX'. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface lxcbr0.IPv4 with address 10.0.3 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface lxcbr0.IPv4 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for 10.0.3.1 on lxcbr0.IPv4. Oct 15 14:36:59 hobo-container avahi-daemon[507]: Server startup complete. Host name is hobo-container.local. Local service Oct 15 14:37:00 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface lxcbr0.IPv6 with address fe80:: Oct 15 14:37:00 hobo-container avahi-daemon[507]: New relevant interface lxcbr0.IPv6 for mDNS. Oct 15 14:37:00 hobo-container avahi-daemon[507]: Registering new address record for fe80::704a:9bff:fe76:a607 on lxcbr0.*. Oct 15 14:37:01 hobo-container avahi-daemon[507]: Service "hobo-container" (/services/ssh.service) successfully established Oct 15 14:38:28 hobo-container systemd[1]: avahi-daemon.service start operation timed out. Terminating. Oct 15 14:38:28 hobo-container avahi-daemon[507]: Got SIGTERM, quitting. Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface lxcbr0.IPv6 with address fe80:: Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface lxcbr0.IPv4 with address 10.0.3 Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::a0 Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface eth1.IPv4 with address 203.0.11 Oct 15 14:38:28 hobo-container systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack. Oct 15 14:38:28 hobo-container systemd[1]: Unit avahi-daemon.service entered failed state. Oct 15 14:38:28 hobo-container systemd[1]: avahi-daemon.service failed. Further attempts to restart the service fail: $ sudo service avahi-daemon start Job for avahi-daemon.service failed. See "systemctl status avahi-daemon.service" and "journalctl -xe" for details. With similar logs: Oct 15 14:41:16 hobo-container systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Oct 15 14:41:16 hobo-container avahi-daemon[1099]: Found user 'avahi' (UID 110) and group 'avahi' (GID 119). Oct 15 14:41:16 hobo-container avahi-daemon[1099]:
[Touch-packages] [Bug 1507247] Re: avahi-daemon dies after about a minute
Confirming what appears to be the same or very similar issue on Ubuntu 16.04.3. The starting of avahi-daemon and SIGTERM after about a minute is a cyclical process, repeating every few minutes or hours: Sep 29 16:01:09 host123 avahi-daemon[7072]: Process 3321 died: No such process; trying to remove PID file. (/var/run/avahi-daemon//pid) Sep 29 16:01:09 host123 avahi-daemon[7072]: Found user 'avahi' (UID 111) and group 'avahi' (GID 120). Sep 29 16:01:09 host123 avahi-daemon[7072]: Successfully dropped root privileges. Sep 29 16:01:09 host123 avahi-daemon[7072]: avahi-daemon 0.6.32-rc starting up. Sep 29 16:01:09 host123 avahi-daemon[7072]: Successfully called chroot(). Sep 29 16:01:09 host123 avahi-daemon[7072]: Successfully dropped remaining capabilities. Sep 29 16:01:09 host123 avahi-daemon[7072]: No service file found in /etc/avahi/services. Sep 29 16:01:09 host123 avahi-daemon[7072]: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. *** Sep 29 16:01:09 host123 avahi-daemon[7072]: *** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. *** Sep 29 16:01:09 host123 avahi-daemon[7072]: Joining mDNS multicast group on interface eno1.IPv6 with address :4aae:be84:cf7d:f493. Sep 29 16:01:09 host123 avahi-daemon[7072]: New relevant interface eno1.IPv6 for mDNS. Sep 29 16:01:09 host123 avahi-daemon[7072]: Joining mDNS multicast group on interface eno1.IPv4 with address 192.168.215.6. Sep 29 16:01:09 host123 avahi-daemon[7072]: New relevant interface eno1.IPv4 for mDNS. Sep 29 16:01:09 host123 avahi-daemon[7072]: Network interface enumeration completed. Sep 29 16:01:09 host123 avahi-daemon[7072]: Registering new address record for :4aae:be84:cf7d:f493 on eno1.*. Sep 29 16:01:09 host123 avahi-daemon[7072]: Registering new address record for :781d:848d:385a:720c on eno1.*. Sep 29 16:01:09 host123 avahi-daemon[7072]: Registering new address record for ::6 on eno1.*. Sep 29 16:01:09 host123 avahi-daemon[7072]: Registering new address record for 192.168.215.6 on eno1.IPv4. Sep 29 16:01:09 host123 avahi-daemon[7072]: Server startup complete. Host name is host123.local. Local service cookie is 4044503296. Sep 29 16:02:39 host123 systemd[1]: avahi-daemon.service: Start operation timed out. Terminating. Sep 29 16:02:39 host123 avahi-daemon[7072]: Got SIGTERM, quitting. Sep 29 16:02:39 host123 avahi-daemon[7072]: Leaving mDNS multicast group on interface eno1.IPv6 with address :4aae:be84:cf7d:f493. Sep 29 16:02:39 host123 avahi-daemon[7072]: Leaving mDNS multicast group on interface eno1.IPv4 with address 192.168.215.6. Sep 29 16:02:39 host123 avahi-daemon[7072]: avahi-daemon 0.6.32-rc exiting. Sep 29 16:02:39 host123 systemd[1]: avahi-daemon.service: Unit entered failed state. Sep 29 16:02:39 host123 systemd[1]: avahi-daemon.service: Failed with result 'timeout'. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to avahi in Ubuntu. https://bugs.launchpad.net/bugs/1507247 Title: avahi-daemon dies after about a minute Status in avahi package in Ubuntu: Confirmed Bug description: So I thought I'd try running Vagrant inside of an Ubuntu VM to do some development work as detailed here: http://taoofmac.com/space/HOWTO/Vagrant When the box starts up, there is a short delay before broadcasting begins, and I'm able to ping the guest (in this case registered as "hobo-container.local"). Then, after a minute or two, it stops responding. The logs look like this: -- Logs begin at Thu 2015-10-15 14:36:55 EDT, end at Thu 2015-10-15 14:40:00 EDT. -- Oct 15 14:36:58 hobo-container systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Oct 15 14:36:58 hobo-container avahi-daemon[507]: Found user 'avahi' (UID 110) and group 'avahi' (GID 119). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped root privileges. Oct 15 14:36:58 hobo-container avahi-daemon[507]: avahi-daemon 0.6.31 starting up. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully called chroot(). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped remaining capabilities. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Loading service file /services/ssh.service. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::a0 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv6 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv4 with address 203.0.11 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv4 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Network interface enumeration completed. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering
[Touch-packages] [Bug 1507247] Re: avahi-daemon dies after about a minute
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: avahi (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to avahi in Ubuntu. https://bugs.launchpad.net/bugs/1507247 Title: avahi-daemon dies after about a minute Status in avahi package in Ubuntu: Confirmed Bug description: So I thought I'd try running Vagrant inside of an Ubuntu VM to do some development work as detailed here: http://taoofmac.com/space/HOWTO/Vagrant When the box starts up, there is a short delay before broadcasting begins, and I'm able to ping the guest (in this case registered as "hobo-container.local"). Then, after a minute or two, it stops responding. The logs look like this: -- Logs begin at Thu 2015-10-15 14:36:55 EDT, end at Thu 2015-10-15 14:40:00 EDT. -- Oct 15 14:36:58 hobo-container systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Oct 15 14:36:58 hobo-container avahi-daemon[507]: Found user 'avahi' (UID 110) and group 'avahi' (GID 119). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped root privileges. Oct 15 14:36:58 hobo-container avahi-daemon[507]: avahi-daemon 0.6.31 starting up. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully called chroot(). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped remaining capabilities. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Loading service file /services/ssh.service. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::a0 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv6 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv4 with address 203.0.11 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv4 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Network interface enumeration completed. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for fe80::a00:27ff:fef9:e38c on eth1.*. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for 203.0.113.2 on eth1.IPv4. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering HINFO record with values 'X86_64'/'LINUX'. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface lxcbr0.IPv4 with address 10.0.3 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface lxcbr0.IPv4 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for 10.0.3.1 on lxcbr0.IPv4. Oct 15 14:36:59 hobo-container avahi-daemon[507]: Server startup complete. Host name is hobo-container.local. Local service Oct 15 14:37:00 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface lxcbr0.IPv6 with address fe80:: Oct 15 14:37:00 hobo-container avahi-daemon[507]: New relevant interface lxcbr0.IPv6 for mDNS. Oct 15 14:37:00 hobo-container avahi-daemon[507]: Registering new address record for fe80::704a:9bff:fe76:a607 on lxcbr0.*. Oct 15 14:37:01 hobo-container avahi-daemon[507]: Service "hobo-container" (/services/ssh.service) successfully established Oct 15 14:38:28 hobo-container systemd[1]: avahi-daemon.service start operation timed out. Terminating. Oct 15 14:38:28 hobo-container avahi-daemon[507]: Got SIGTERM, quitting. Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface lxcbr0.IPv6 with address fe80:: Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface lxcbr0.IPv4 with address 10.0.3 Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::a0 Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface eth1.IPv4 with address 203.0.11 Oct 15 14:38:28 hobo-container systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack. Oct 15 14:38:28 hobo-container systemd[1]: Unit avahi-daemon.service entered failed state. Oct 15 14:38:28 hobo-container systemd[1]: avahi-daemon.service failed. Further attempts to restart the service fail: $ sudo service avahi-daemon start Job for avahi-daemon.service failed. See "systemctl status avahi-daemon.service" and "journalctl -xe" for details. With similar logs: Oct 15 14:41:16 hobo-container systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Oct 15 14:41:16 hobo-container avahi-daemon[1099]: Found user 'avahi' (UID 110) and group 'avahi' (GID 119). Oct 15 14:41:16 hobo-container avahi-daemon[1099]: Successfully dropped root privileges. Oct 15 14:41:16 hobo-container avahi-daemon[1099]: avahi-daemon 0.6.31 starting up. Oct 15 14:41:16 hobo-container avahi-daemon[1099]:
[Touch-packages] [Bug 1507247] Re: avahi-daemon dies after about a minute
** Package changed: ubuntu => avahi (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to avahi in Ubuntu. https://bugs.launchpad.net/bugs/1507247 Title: avahi-daemon dies after about a minute Status in avahi package in Ubuntu: New Bug description: So I thought I'd try running Vagrant inside of an Ubuntu VM to do some development work as detailed here: http://taoofmac.com/space/HOWTO/Vagrant When the box starts up, there is a short delay before broadcasting begins, and I'm able to ping the guest (in this case registered as "hobo-container.local"). Then, after a minute or two, it stops responding. The logs look like this: -- Logs begin at Thu 2015-10-15 14:36:55 EDT, end at Thu 2015-10-15 14:40:00 EDT. -- Oct 15 14:36:58 hobo-container systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Oct 15 14:36:58 hobo-container avahi-daemon[507]: Found user 'avahi' (UID 110) and group 'avahi' (GID 119). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped root privileges. Oct 15 14:36:58 hobo-container avahi-daemon[507]: avahi-daemon 0.6.31 starting up. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully called chroot(). Oct 15 14:36:58 hobo-container avahi-daemon[507]: Successfully dropped remaining capabilities. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Loading service file /services/ssh.service. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::a0 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv6 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface eth1.IPv4 with address 203.0.11 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface eth1.IPv4 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Network interface enumeration completed. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for fe80::a00:27ff:fef9:e38c on eth1.*. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for 203.0.113.2 on eth1.IPv4. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering HINFO record with values 'X86_64'/'LINUX'. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface lxcbr0.IPv4 with address 10.0.3 Oct 15 14:36:58 hobo-container avahi-daemon[507]: New relevant interface lxcbr0.IPv4 for mDNS. Oct 15 14:36:58 hobo-container avahi-daemon[507]: Registering new address record for 10.0.3.1 on lxcbr0.IPv4. Oct 15 14:36:59 hobo-container avahi-daemon[507]: Server startup complete. Host name is hobo-container.local. Local service Oct 15 14:37:00 hobo-container avahi-daemon[507]: Joining mDNS multicast group on interface lxcbr0.IPv6 with address fe80:: Oct 15 14:37:00 hobo-container avahi-daemon[507]: New relevant interface lxcbr0.IPv6 for mDNS. Oct 15 14:37:00 hobo-container avahi-daemon[507]: Registering new address record for fe80::704a:9bff:fe76:a607 on lxcbr0.*. Oct 15 14:37:01 hobo-container avahi-daemon[507]: Service "hobo-container" (/services/ssh.service) successfully established Oct 15 14:38:28 hobo-container systemd[1]: avahi-daemon.service start operation timed out. Terminating. Oct 15 14:38:28 hobo-container avahi-daemon[507]: Got SIGTERM, quitting. Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface lxcbr0.IPv6 with address fe80:: Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface lxcbr0.IPv4 with address 10.0.3 Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::a0 Oct 15 14:38:28 hobo-container avahi-daemon[507]: Leaving mDNS multicast group on interface eth1.IPv4 with address 203.0.11 Oct 15 14:38:28 hobo-container systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack. Oct 15 14:38:28 hobo-container systemd[1]: Unit avahi-daemon.service entered failed state. Oct 15 14:38:28 hobo-container systemd[1]: avahi-daemon.service failed. Further attempts to restart the service fail: $ sudo service avahi-daemon start Job for avahi-daemon.service failed. See "systemctl status avahi-daemon.service" and "journalctl -xe" for details. With similar logs: Oct 15 14:41:16 hobo-container systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Oct 15 14:41:16 hobo-container avahi-daemon[1099]: Found user 'avahi' (UID 110) and group 'avahi' (GID 119). Oct 15 14:41:16 hobo-container avahi-daemon[1099]: Successfully dropped root privileges. Oct 15 14:41:16 hobo-container avahi-daemon[1099]: avahi-daemon 0.6.31 starting up. Oct 15 14:41:16 hobo-container avahi-daemon[1099]: Successfully called chroot(). Oct 15 14:41:16 hobo-container avahi-daemon[1099]: Successfully dropped