[Bug 885969] New: Avahi autoip daemon doesn't startup after power failure
https://bugzilla.novell.com/show_bug.cgi?id=885969 https://bugzilla.novell.com/show_bug.cgi?id=885969#c0 Summary: Avahi autoip daemon doesn't startup after power failure Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: i586 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: markus.walser@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 The autoip daemon creates the file /var/lib/autoip which contains information about its current state, the choosen ip address and the PID of the autoip daemon. After a machine crash or a power failure the autoip daemon is no longer started because a stale PID entry remains in the file /var/lib/autoip. Reproducible: Always Steps to Reproduce: 1.Create an network interface with autoip only. 2.Verify the interface has negotiated a valid zeroconf IP address. 3.Plug off power Actual Results: During next start up the network interface won't get an IP address because its autoip daemon is no longer started. Expected Results: The autoipd should startup and setup the network interface with a valid zeroconf IP address. Removing the PID entry manually in the file /var/lib/autoip allows the autoip daemon to start up again and to setup the IP address. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885969 https://bugzilla.novell.com/show_bug.cgi?id=885969#c1 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com Component|Basesystem |Firefox AssignedTo|bnc-team-screening@forge.pr |bnc-team-mozilla@forge.prov |ovo.novell.com |o.novell.com --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-07-23 15:29:55 CEST --- something could check for stale PID files and remove them... or maybe move the file to /run which will be empty on boot because it is a tmpfs ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885969 https://bugzilla.novell.com/show_bug.cgi?id=885969#c2 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org Component|Firefox |Basesystem AssignedTo|bnc-team-mozilla@forge.prov |bnc-team-screening@forge.pr |o.novell.com |ovo.novell.com --- Comment #2 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2014-07-28 11:02:55 UTC --- I fail to get the relation to Firefox and therefore reset it back. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885969 https://bugzilla.novell.com/show_bug.cgi?id=885969#c3 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|wolfgang@rosenauer.org | Component|Basesystem |GNOME AssignedTo|bnc-team-screening@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |novell.com --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-07-28 16:01:30 CEST --- Oops. This was meant to go to GNOME (which is right next to Firefox) because avahi has devel-project: GNOME:Factory and no dedicated maintainer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885969 https://bugzilla.novell.com/show_bug.cgi?id=885969#c4 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> 2014-07-28 14:06:47 UTC --- (In reply to comment #1)
something could check for stale PID files and remove them... or maybe move the file to /run which will be empty on boot because it is a tmpfs ?
That sounds like the correct approach to me... will see how easy / complex this proves to be. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885969 https://bugzilla.novell.com/show_bug.cgi?id=885969#c5 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |markus.walser@gmail.com --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> 2014-07-28 14:20:37 UTC --- Hmm. Mon Jan 28 10:01:28 UTC 2013 - rmilasan@suse.com - Add avahi-move-everything-to-run.patch: move everything (socket and pid files) to /run. avahi-autoipd/main.c has: pid_file_name = avahi_strdup_printf(AVAHI_RUNTIME_DIR"/avahi-autoipd.%s.pid", interface_name); And the patch introduced by Robert contains: Index: avahi-0.6.31/configure =================================================================== --- avahi-0.6.31.orig/configure +++ avahi-0.6.31/configure @@ -22710,7 +22710,7 @@ _ACEOF # # Avahi runtime dir # -avahi_runtime_dir="${localstatedir}/run" +avahi_runtime_dir="/run" avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket" Markus, - What version of avahi do you have installed? - Can you check, using rpm -q --changelog avahi-autoipd if the above entry can be found -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com