[Bug 332845] New: HAL denies access to its functions after ConsoleKit cannot connect to dbus at boot
https://bugzilla.novell.com/show_bug.cgi?id=332845 Summary: HAL denies access to its functions after ConsoleKit cannot connect to dbus at boot Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pitkali@gmail.com QAContact: qa@suse.de Found By: --- When parallel script execution is enabled, ConsoleKit may not be able to connect to dbus. As a result power management functions are not accessible from KDE. Also, KDE cannot mount media. The problem disappears after manually starting ConsoleKit (which by then is reportedly 'unused') and logging again. It look as if: 1. dbus is starting. Its script finishes execution, but /var/run/dbus/system_bus_socket is not yet available. 2. ConsoleKit is started and tries to connect to the above-mentioned socket. It fails and reports a warning in syslog. 3. The socket becomes available. 4. The boot continues. On my Core Duo laptop the bug can be reproduced by: 1. Ensuring parallel startup script execution is enabled (seems to be the default.) 2. Booting the system. 3. Right-click kde power management applet and see that no power management functions are available. Try to mount a media (cdrom, e.g.) and get error about access denied by policy. The problem is gone after one of the following: 1. Modifying /etc/PolicyKit/PolicyKit.conf and allowing a certain user to do everything with <match user="id"><return result="yes"/></match>. Apparently PolicyKit considers a user inactive despite logging in. Clearly a ConsoleKit problem? 2. Disable parallel execution of startup scripts. 3. Modifying /etc/init.d/consolekit to include something like: while [ ! -S /var/run/dbus/system_bus_socket ] do sleep 1 done before starting consolekit. Probably something like that should actually be added to dbus script, so that after the script exits the socket is available. -- 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=332845
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=332845#c1
Kay Sievers
https://bugzilla.novell.com/show_bug.cgi?id=332845#c2
--- Comment #2 from Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=332845#c3
--- Comment #3 from Piotr Kalinowski
https://bugzilla.novell.com/show_bug.cgi?id=332845#c4
--- Comment #4 from Kay Sievers
https://bugzilla.novell.com/show_bug.cgi?id=332845#c5
--- Comment #5 from Piotr Kalinowski
https://bugzilla.novell.com/show_bug.cgi?id=332845#c6
Kay Sievers
https://bugzilla.novell.com/show_bug.cgi?id=332845#c7
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=332845
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332845#c8
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=332845
User koenig@linux.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=332845#c9
Harald Koenig
Submitted fixed package to STABLE.
the same problem shows up with SLES10/SLED10 SP1: powersaved doesn't run (so shutdown with power button does not work) because of hald not starting correctly: Sep 16 09:19:46 CE2737455 [powersave]: ERROR (MainLoop:85) Haldaemon did not appear. Aborting... this seems to occur _very_ infrequently (about 1 of 50 reboots) for a customer with slightly newer/faster hardware, hasen't been an issue before... is there a fix for SLES10 SP1 available too ? I'll suggest them to remove the "startproc" for dbus and see what happens (will report if they agree it's more stable than now...;) -- 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=332845
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=332845
User behlert@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332845#c17
Stefan Behlert
https://bugzilla.novell.com/show_bug.cgi?id=332845
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332845#c18
Timo Hoenig
participants (1)
-
bugzilla_noreply@novell.com