https://bugzilla.novell.com/show_bug.cgi?id=491063
User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=491063#c486710
Summary: console-kit-daemon may crash within libglib Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: hmacht@novell.com ReportedBy: werner@novell.com QAContact: qa@suse.de CC: mboman@novell.com, lnussel@novell.com, vuntz@novell.com Found By: Development
Created an attachment (id=283395) --> (https://bugzilla.novell.com/attachment.cgi?id=283395) fixed /etc/init.d/dbus
During debuging a problem at shutdown (see bug #486710) the systems hangs at calling
/etc/init.d/dbus stop
sometimes the message that /usr/sbin/console-kit-daemon had crashed within /usr/lib/libglib-2.0.so.0 ...
I can avoid the problem by adding
killproc -TERM /usr/sbin/console-kit-daemon
before
killproc -p $DBUS_DAEMON_PID -TERM $DBUS_DAEMON_BIN
.. beside this the script is broken ... a) the killproc binary its self remove the pid file on success and b) at the end of line of a shell script no semi colon is required (this is not perl nor C/C++).