Bug 310509

Summary: NetworkManager: NM spams /var/log/NetworkManager
Product: [openSUSE] openSUSE 10.3 Reporter: Timo Hoenig <thoenig>
Component: NetworkAssignee: Tambet Ingo <tambet>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: aj, ast, dimstar, djmills, fvzwieten, hmuelle, kkaempf, registration, roffermanns, sreeves
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: potential hotfix
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: patch with fix for this problem
Updated patch

Description Timo Hoenig 2007-09-14 08:21:17 UTC
NetworkManager: NM spams /var/log/NetworkManager

thoenig@zimtstern:~> sudo tail -n 20 /var/log/NetworkManager
Sep 14 10:10:03 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:10:05 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:11:03 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:11:06 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:12:03 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:12:06 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:13:03 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:13:07 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:14:03 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:14:07 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:15:04 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:15:08 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:16:04 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:16:08 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:17:04 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:17:08 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:18:04 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:18:09 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32" 
Sep 14 10:19:04 zimtstern syslog-ng[2817]: last message repeated 9 times
Sep 14 10:19:09 zimtstern NetworkManager: <info>  Error getting killswitch power arguments: org.freedesktop.DBus.Error.InvalidArgs - Argument 0 is specified to be of type "uint32", but is actually of type "int32"
Comment 1 Fred van Zwieten 2007-09-20 20:56:30 UTC
This happens also to me, but i'm on a 10.3 RC1 amd64 1CD KDE install
Comment 2 Timo Hoenig 2007-09-25 12:21:25 UTC
Any update on this?  This is quite annoying and my NetworkManager log grows pretty quick ;-)
Comment 3 Rolf Offermanns 2007-09-25 17:51:33 UTC
I have the same problem.

openSuSE 10.3 RC1 on a Thinkpad T43 with ipw2200. My wireless connection disconnects every two minutes and the connection process starts again. Very annoying.

Ubuntu has a bug for this, too:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/138794
Comment 4 Timo Hoenig 2007-09-26 11:32:50 UTC
*** Bug 328428 has been marked as a duplicate of this bug. ***
Comment 5 Danny Al-Gaaf 2007-09-26 15:07:16 UTC
Created attachment 174875 [details]
patch with fix for this problem
Comment 6 Timo Hoenig 2007-09-26 15:19:47 UTC
Patch is obviously correct.  Thanks, Danny.
Comment 7 Tambet Ingo 2007-09-27 07:47:56 UTC
Thanks for the patch, I'll add it to the build. Any idea why this started happening? Was the type of the return value of GetPower() changed in hal recently? If it did, wouldn't it had made more sense to change the type to boolean instead?
Comment 8 Danny Al-Gaaf 2007-09-27 08:28:24 UTC
The return value of all methodes which are handeled via scripts or addons are now INT32. There where before trouble with scripts and addons which returned different types in some cases. This was a general decision and not specific to this method.
Comment 9 JP Rosevear 2007-09-28 19:21:47 UTC
Tambet, it would be great if you could submit this as a maintenance update to 10.3.  You can use swamp ID 13500.
Comment 10 Mark Gordon 2007-10-01 17:36:17 UTC
*** Bug 329634 has been marked as a duplicate of this bug. ***
Comment 11 Fred van Zwieten 2007-10-04 21:05:47 UTC
Why is the patch not in 10.3 GM?
Comment 12 Andreas Jaeger 2007-10-05 07:36:01 UTC
Fred, the patch was done too late for 10.3 GM.  We plan to deliver it via an online update.
Comment 15 JP Rosevear 2007-10-07 15:48:52 UTC
I have test packages for bug 310509 and for bug 293556 in my build service repo at http://download.opensuse.org/repositories/home:/jproseve/openSUSE_Factory/

Tambet, If you ok the changes I can submit the packages.  The patches added are nm-310509.patch and nm-293556.patch
Comment 17 Tambet Ingo 2007-10-08 08:16:40 UTC
JP, thanks, but I'll do it myself. First, the patch attached here is a bit wrong, it changes the dbus type but not the variable type the return value is stored in. Second, there's already a nm-0.6.5-killswitch-fix.patch so I'd rather collect all killswitch related patches into one patch.
Comment 19 Tambet Ingo 2007-10-08 15:51:55 UTC
Created attachment 176843 [details]
Updated patch

Here's an updated patch based on Danny's for review.
Comment 20 JP Rosevear 2007-10-08 15:53:43 UTC
Scott, please do the patch review so we can check this in.
Comment 21 Scott Reeves 2007-10-10 18:36:06 UTC
Looks good to me. Looks the same as the fix made for Bug#310273
Comment 22 Scott Reeves 2007-10-10 18:38:00 UTC
remove needinfo
Comment 23 JP Rosevear 2007-10-12 12:52:40 UTC
Bumping to major, same type of issue as bug 304262.
Comment 24 Timo Hoenig 2007-10-14 21:15:01 UTC
*** Bug 333734 has been marked as a duplicate of this bug. ***
Comment 25 Tambet Ingo 2007-10-15 14:40:15 UTC
Patch submitted for 10.3
Comment 26 Anja Stock 2007-10-18 11:54:41 UTC
released
Comment 27 David Mills 2008-04-29 02:36:08 UTC
Is there an online update rpm to fix this for openSUSE 10.3?