Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267621 - net-misc/networkmanager-0.7.{0,1-r1} can't get killswitch power state with sys-apps/dbus-1.2.12, causes dbus-related syslog spam
Summary: net-misc/networkmanager-0.7.{0,1-r1} can't get killswitch power state with sy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-27 06:30 UTC by Kenneth Lakin
Modified: 2009-08-18 16:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add rule to hal to fix this issue (nm-hal.diff,502 bytes, patch)
2009-05-01 19:24 UTC, Robert Piasek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Lakin 2009-04-27 06:30:34 UTC
Upon startup of networkmanager, I get two of the the following message in syslog every six seconds:

dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.50" (uid=0 pid=13400 comm="/usr/sbin/NetworkManager --pid-file /var/run/Netwo") interface="org.freedesktop.Hal.Device.KillSwitch" member="GetPower" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=8727 comm="/usr/sbin/hald --use-syslog --verbose=no "))

This behaviour did not occur with networkmanager-0.6.6.
I have a Intel Pro 3945ABG that's using the iwl3945 kernel module and version 2.14.1.5 of net-wireless/iwl3945-ucode. I have the in-kernel rfkill module loaded and active.

Steps to reproduce:
1. emerge =net-misc/networkmanager-0.7.1-r1
2. /etc/init.d/NetworkManager restart
3. tail -f /var/log/messages

emerge --info:

Portage 2.1.6.11 (unavailable, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-gentoo-2.0.0
Timestamp of tree: Unknown
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="~x86"
CFLAGS="-O2 -march=prescott -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa avahi bash-completion caps cdr dbus dvd ffmpeg flac gtk hal ieee1394 inotify ipv6 java jpeg kde kerberos lame ldap mad matroska mmx mp3 mysql offensive ogg opengl pcmcia png postgres pulseaudio qt qt3 qt4 samba sasl sdl slp sndfile speex spell sse sse2 sse3 svg theora tiff truetype unicode usb v4l2 vim-syntax vorbis wifi win32codecs wireless xattr xinerama xv xvid zeroconf"
Unset:  EMERGE_DEFAULT_OPTS
Comment 1 Kenneth Lakin 2009-04-27 17:37:10 UTC
Ah. I just noticed that some information was missing from my previous emerge --info. I re-ran emerge --regen (There are some eclasses being overridden in the kde-testing layman overlay that seem to muck things up.). Anyway, here's the previously missing info from emerge --info

Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-gentoo-2.0.0
Timestamp of tree: Sat, 25 Apr 2009 20:30:01 +0000
Comment 2 Kenneth Lakin 2009-04-27 17:45:05 UTC
Please ignore the emerge --info in the bug description and in Comment #1. This is the correct, full output from emerge --info.
Sorry for the noise. :/


Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-gentoo-2.0.0
Timestamp of tree: Sat, 25 Apr 2009 20:30:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-l 4.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi bash-completion berkdb bzip2 caps cdr cli cracklib crypt cups dbus dri dvd ffmpeg flac fortran gdbm gpm gtk hal iconv ieee1394 inotify ipv6 isdnlog java jpeg kde kerberos lame ldap mad matroska midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcmcia pcre perl png postgres pppd pulseaudio python qt qt3 qt4 readline reflection samba sasl sdl session slp sndfile speex spell spl sse sse2 sse3 ssl svg sysfs tcpd theora tiff truetype unicode usb v4l2 vim-syntax vorbis wifi win32codecs wireless x86 xattr xinerama xorg xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom synaptics spaceorb" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-27 19:32:03 UTC
Rather looks like another sys-apps/dbus-1.2.12 regression. Does this also happen with sys-apps/dbus-1.2.3-r1?
Comment 4 Eric N. Vander Weele 2009-04-27 22:15:06 UTC
(In reply to comment #3)
> Rather looks like another sys-apps/dbus-1.2.12 regression. Does this also
> happen with sys-apps/dbus-1.2.3-r1?
> 

I was having the same issue.  Reverting back to dbus-1.2.3-r1 seems to work, but as soon as I go to 1.2.12, the original issue occurs.
Comment 5 Robert Piasek (RETIRED) gentoo-dev 2009-04-28 22:06:50 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Rather looks like another sys-apps/dbus-1.2.12 regression. Does this also
> > happen with sys-apps/dbus-1.2.3-r1?
> > 
> 
> I was having the same issue.  Reverting back to dbus-1.2.3-r1 seems to work,
> but as soon as I go to 1.2.12, the original issue occurs.
> 

It's dbus rules permission problem. There's same problem with some HAL rules as well.
Comment 6 Robert Piasek (RETIRED) gentoo-dev 2009-05-01 19:24:04 UTC
Created attachment 190061 [details, diff]
add rule to hal to fix this issue

That fixes it
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-01 19:37:28 UTC
This is a hal bug.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-05-02 00:18:46 UTC
Fixed in hal-0.5.12_rc1-r2.
Comment 9 David Carlos Manuelda 2009-06-14 08:55:04 UTC
It is still spamming:
dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.8" (uid=0 pid=3794 comm="/usr/sbin/NetworkManager --pid-file /var/run/Netwo") interface="org.freedesktop.Hal.Device.KillSwitch" member="GetPower" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3622 comm="/usr/sbin/hald --use-syslog --verbose=no "))
to syslog.
I'm using:
NetworkManager-0.7.1-r4
dbus-1.2.12
hal-0.5.12_rc1-r6

Can this be reopened?
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-06-15 19:37:52 UTC
Different issue, different bug.  You want bug #273907