[Bug 1792978] Re: initscript avahi-daemon, action "start" failed
Jason Hobbs
jason.hobbs at canonical.com
Wed Mar 20 18:56:16 UTC 2019
1) Testing
2) No, it's in baremetal
3) Attached.
4) The machine was deployed with maas - it's a bionic cloud image. We then install/configure maas, run some tests, and remove maas via purge, and repeat. This shows up sometimes on deployments after the initial one - avahi-daemon, or at least its pid file, is left in /var/run/avahi-daemon from a previous run. There are LOTS of commands run. The important ones seem like:
1) apt-get -q install -y avahi-utils maas-region-api maas-dns
2) apt-get -q autoremove --purge maas-common -y
3) apt-get -q autoremove --purge avahi-daemon -y
... repeat until failure
** Attachment added: "syslog"
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1792978/+attachment/5247981/+files/syslog
** Changed in: avahi (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1792978
Title:
initscript avahi-daemon, action "start" failed
Status in avahi package in Ubuntu:
New
Bug description:
When installing maas-region-controller, avahi-deamon failed to install
because it was it seemed to already be running.
$ apt-get -q install -y maas-region-controller
....
[1invoke-rc.d: initscript avahi-daemon, action "start" failed.
[0;1;31m●[0m avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: [0;1;31mfailed[0m (Result: exit-code) since Sat 2018-09-15 19:42:29 UTC; 9ms ago
Process: 22726 ExecStart=/usr/sbin/avahi-daemon -s [0;1;31m(code=exited, status=255)[0m
Main PID: 22726 (code=exited, status=255)
Sep 15 19:42:29 leafeon systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Sep 15 19:42:29 leafeon avahi-daemon[22726]: Daemon already running on PID 21868
Sep 15 19:42:29 leafeon systemd[1]: [0;1;39mavahi-daemon.service: Main process exit.../a[0m
Sep 15 19:42:29 leafeon systemd[1]: [0;1;31mFailed to start Avahi mDNS/DNS-SD Stack.[0m
Sep 15 19:42:29 leafeon systemd[1]: [0;1;39mavahi-daemon.service: Unit entered fail...e.[0m
Sep 15 19:42:29 leafeon systemd[1]: [0;1;39mavahi-daemon.service: Failed with resul...'.[0m
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package avahi-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of avahi-utils:
avahi-utils depends on avahi-daemon; however:
Package avahi-daemon is not configured yet.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1792978/+subscriptions
More information about the foundations-bugs
mailing list