[Bug 737527] New: arpwatch fails to start if interface is controlled by NetworkManager
https://bugzilla.novell.com/show_bug.cgi?id=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c0 Summary: arpwatch fails to start if interface is controlled by NetworkManager Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: halsmit@t-online.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 There is this ifstatus check in the init script that fails if NM controls that device. Also, an arpwatch account would be nice. Reproducible: Always Steps to Reproduce: 1.enter IF you want to listen on to sysconfig/arpwatch 2.start arpwatch service 3. Actual Results: does not start Expected Results: does start to listen on specified device -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |bili@suse.com |ovo.novell.com | -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c1 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |halsmit@t-online.de --- Comment #1 from Li Bin <bili@suse.com> 2011-12-20 11:18:29 UTC --- Dirk, It works fine in my laptop, you can view my NetworkManager already started, so it's no problem for me. And below operation is same with you? Thanks! $ sudo /etc/init.d/arpwatch start redirecting to systemctl $ sudo /etc/init.d/arpwatch status redirecting to systemctl arpwatch.service - LSB: Start the arpwatch daemon Loaded: loaded (/etc/init.d/arpwatch) Active: active (running) since Tue, 20 Dec 2011 19:14:43 +0800; 3s ago Process: 6538 ExecStart=/etc/init.d/arpwatch start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/arpwatch.service └ 6554 /usr/sbin/arpwatch $ ps auxw | grep arp root 6554 0.1 0.3 6008 3276 ? S 19:14 0:00 /usr/sbin/arpwatch $ ps auxw | grep Net root 799 0.0 0.5 27620 6032 ? Ssl 10:55 0:06 /usr/sbin/NetworkManager --no-daemon -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c2 --- Comment #2 from Dirk Wallenstein <halsmit@t-online.de> 2011-12-20 11:28:24 UTC --- Sorry, I formulated the summary wrong. It starts but if you add a device to sysconfig/arpwatch to listen on you get an error message saying that the device is not ready. ifstatus returns the value 3 in that case. -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c3 --- Comment #3 from Dirk Wallenstein <halsmit@t-online.de> 2011-12-20 11:36:31 UTC --- Actually, I skipped an introduction to systemd so far and thought that was the reason why arpwatch did not start on boot. Gotta take a further look... -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c4 --- Comment #4 from Dirk Wallenstein <halsmit@t-online.de> 2011-12-20 13:58:16 UTC --- Ok, the init scrip works (I've misunderstood the logic) but arpwatch doesn't start at boot. I have this line in dmesg: arpwatch[11993]: Link layer type 113 not ethernet, fddi or tokenring I've switched runlevels and at some point it started obviously, but some tips how to debug this would be helpful. -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c5 --- Comment #5 from Dirk Wallenstein <halsmit@t-online.de> 2011-12-21 10:04:29 UTC --- I removed configuration from sysconfig/arpwatch There is now other output than the [failed] runlevel output Changing runlevels (3,5) does not always immediately start aprwatch After boot: arpwatch.service - LSB: Start the arpwatch daemon Loaded: loaded (/etc/init.d/arpwatch) Active: active (exited) since Wed, 21 Dec 2011 07:47:03 +0100; 2h 49min ago Process: 1089 ExecStart=/etc/init.d/arpwatch start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/arpwatch.service /etc/init.d/arpwatch start /etc/init.d/arpwatch status arpwatch.service - LSB: Start the arpwatch daemon Loaded: loaded (/etc/init.d/arpwatch) Active: active (exited) since Wed, 21 Dec 2011 07:47:03 +0100; 3h 11min ago Process: 1089 ExecStart=/etc/init.d/arpwatch start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/arpwatch.service /etc/init.d/arpwatch stop /etc/init.d/arpwatch start /etc/init.d/arpwatch status arpwatch.service - LSB: Start the arpwatch daemon Loaded: loaded (/etc/init.d/arpwatch) Active: inactive (dead) since Wed, 21 Dec 2011 10:59:24 +0100; 6s ago Process: 17870 ExecStop=/etc/init.d/arpwatch stop (code=exited, status=0/SUCCESS) Process: 1089 ExecStart=/etc/init.d/arpwatch start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/arpwatch.service ps waux | grep arp root 17900 0.0 0.1 11176 3568 ? S 10:59 0:00 /usr/sbin/arpwatch I'm looking a bit at systemd occasionally and post more info when I find something -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c6 --- Comment #6 from Dirk Wallenstein <halsmit@t-online.de> 2011-12-21 10:05:40 UTC --- (In reply to comment #5)
I removed configuration from sysconfig/arpwatch There is now other output than the [failed] runlevel output
There is _NO_ other output than the [failed] runlevel output -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c7 Dirk Wallenstein <halsmit@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|halsmit@t-online.de | Summary|arpwatch fails to start if |arpwatch fails to start |interface is controlled by |correctly during boot |NetworkManager | --- Comment #7 from Dirk Wallenstein <halsmit@t-online.de> 2011-12-23 08:09:15 UTC --- I've renamed rc5.d/S08arpwatch to rc5.d/S99arpwatch and nothing changed after boot: ps waux | grep arpwatch <nothing> service arpwatch status redirecting to systemctl arpwatch.service - LSB: Start the arpwatch daemon Loaded: loaded (/etc/init.d/arpwatch) Active: active (exited) since Fri, 23 Dec 2011 08:13:22 +0100; 42min ago Process: 1068 ExecStart=/etc/init.d/arpwatch start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/arpwatch.service service arpwatch stop ps waux | grep arpwatch <nothing> service arpwatch status arpwatch.service - LSB: Start the arpwatch daemon Loaded: loaded (/etc/init.d/arpwatch) Active: inactive (dead) since Fri, 23 Dec 2011 08:56:26 +0100; 14s ago Process: 10043 ExecStop=/etc/init.d/arpwatch stop (code=exited, status=0/SUCCESS) Process: 1068 ExecStart=/etc/init.d/arpwatch start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/arpwatch.service service arpwatch start service arpwatch status arpwatch.service - LSB: Start the arpwatch daemon Loaded: loaded (/etc/init.d/arpwatch) Active: active (running) since Fri, 23 Dec 2011 08:57:29 +0100; 14s ago Process: 10043 ExecStop=/etc/init.d/arpwatch stop (code=exited, status=0/SUCCESS) Process: 10132 ExecStart=/etc/init.d/arpwatch start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/arpwatch.service └ 10151 /usr/sbin/arpwatch -e arpwatch ps waux | grep arpwatch root 10151 0.0 0.1 11172 3564 ? S 08:57 0:00 /usr/sbin/arpwatch -e arpwatch Does it stay alive when you enable arpwatch at boot -- 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=737527 https://bugzilla.novell.com/show_bug.cgi?id=737527#c9 Fernando Hartmann <fh@sadig.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fh@sadig.com --- Comment #9 from Fernando Hartmann <fh@sadig.com> 2014-08-20 12:22:48 UTC --- This is happening to my openSUE 12.3 installation, any news here ? -- 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