Consolekit crashes due to /var/dbus/system_bus_socket
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
consolekit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: consolekit
Hi Martin Pitt,
I am assigning this directly to you because you seem to be the developer in charge of all these issues. I am experiencing a lot of these bugs: they all have in common that I cannot acces /var/dbus or Permission Error and such:
Bug #270330: /var/run/dbus (new - not triaged -unassigned)
I encountered a problem with dpkg-reconfigure -a. When I get to configure dash, I am asked use dash or bash. Whatever I choose, the command stops and I am in the rootterminal again. dpkg-reconfigure dash gives me the same screen, accepts my choice and reverts to rootterminal without notifications. If I run it again, it has saved my previous choice. When I restart dpkg-reconfigure -a, the problem reoccurs. Error messages: /var/run/dbus does not exist chown cannot acces, no permission, user 'messagebus' already exists. I cannot use touch /var/run/dbus + chmod 777 + chown 1000 or root with any success, that is: the problem remains. I now get: cannot create /var/run/dbus, file exists.
Bug #254238: update manager crashes on upgrade (critical - unassigned - incomplete)
thomas@thomas:~$ sudo dpkg-reconfigure hal
Failed to open connection to system message bus: Failed to connect to socket /var/run/
Connection refused
invoke-rc.d: initscript dbus, action "force-reload" failed.
polkit-auth: This operation requires the system message bus and Consolekit to be running
/usr/lib/
lookup error: /usr/lib/
undefined symbol: kit-getpwnam
polkit-auth: Not Authorized To Read Authorizations For Other Users:
uid 0 is not authorized to read authorizations for uid 111
(requires org.freedesktop
thomas@
update-rc.d: warning: multiuser is deprecated ; specify runlevels manually
You can find these errors mostly in the /var/log files.
For instance Kernel.log:
Oct 15 00:38:47 thomas-laptop su[5264]: + console root:clamav
Oct 15 00:38:47 thomas-laptop su[5264]: pam_unix(
Oct 15 00:38:47 thomas-laptop su[5264]: pam_unix(
Oct 15 00:39:32 thomas-laptop gdm[5922]: pam_unix(
Oct 15 00:39:32 thomas-laptop gdm[5922]: pam_ck_
Oct 15 00:39:33 thomas-laptop gdm[5922]: gnome-keyring-
Oct 15 00:39:33 thomas-laptop gdm[5922]: Autolaunch error: X11 initialization failed.
Oct 15 00:39:33 thomas-laptop gdm[5922]: )gnome-
Oct 15 00:39:33 thomas-laptop gdm[5922]: Autolaunch error: X11 initialization failed.
Oct 15 00:39:33 thomas-laptop gdm[5922]: )gnome-
Oct 15 00:39:33 thomas-laptop gdm[5922]: Autolaunch error: X11 initialization failed.
Oct 16 00:25:56 thomas-laptop kernel: [ 201.312043] type=1503 audit(122411315
Oct 16 00:25:56 thomas-laptop kernel: [ 201.367837] type=1503 audit(122411315
Oct 16 00:25:57 thomas-laptop kernel: [ 202.374242] type=1503 audit(122411315
Oct 16 00:25:57 thomas-laptop kernel: [ 202.422640] type=1503 audit(122411315
Oct 16 00:25:57 thomas-laptop kernel: [ 202.435629] type=1503 audit(122411315
Oct 16 00:25:57 thomas-laptop kernel: [ 202.435690] type=1503 audit(122411315
Oct 16 00:25:57 thomas-laptop kernel: [ 202.435708] type=1503 audit(122411315
Oct 16 00:25:57 thomas-laptop kernel: [ 202.435725] type=1503 audit(122411315
Oct 16 00:25:57 thomas-laptop kernel: [ 202.435742] type=1503 audit(122411315
and user.log:
Oct 15 17:31:42 thomas-laptop usbmount[18587]: cannot read from /dev/sdb
Oct 15 20:04:35 thomas-laptop usbmount[4327]: cannot read from /dev/sdb
Oct 15 20:04:38 thomas-laptop dhcdbd: Started up.
Oct 15 20:05:21 thomas-laptop pulseaudio[6568]: ltdl-bind-now.c: Failed to find original dlopen loader.
Oct 15 20:05:21 thomas-laptop pulseaudio[6574]: main.c: setrlimit(
Oct 15 20:05:21 thomas-laptop pulseaudio[6574]: main.c: setrlimit(
Oct 15 21:27:42 thomas-laptop bonobo-
Oct 15 21:29:12 thomas-laptop dhcdbd: Started up.
Oct 15 21:29:46 thomas-laptop pulseaudio[6315]: ltdl-bind-now.c: Failed to find original dlopen loader.
Oct 15 21:29:46 thomas-laptop pulseaudio[6323]: main.c: setrlimit(
Oct 15 21:29:46 thomas-laptop pulseaudio[6323]: main.c: setrlimit(
Oct 15 21:51:02 thomas-laptop dhcdbd: Started up.
Oct 16 00:20:52 thomas-laptop bonobo-
Oct 16 00:23:30 thomas-laptop dhcdbd: Started up.
Oct 16 00:24:22 thomas-laptop pulseaudio[6333]: ltdl-bind-now.c: Failed to find original dlopen loader.
Oct 16 00:24:22 thomas-laptop pulseaudio[6341]: main.c: setrlimit(
Oct 16 00:24:22 thomas-laptop pulseaudio[6341]: main.c: setrlimit(
Oct 16 00:39:08 thomas-laptop dhcdbd: Started up.
Oct 16 13:06:21 thomas-laptop bonobo-
Oct 16 13:06:21 thomas-laptop bonobo-
Oct 16 13:12:45 thomas-laptop dhcdbd: Started up.
Oct 16 13:13:23 thomas-laptop pulseaudio[6318]: ltdl-bind-now.c: Failed to find original dlopen loader.
Oct 16 13:13:23 thomas-laptop pulseaudio[6326]: main.c: setrlimit(
Oct 16 13:13:23 thomas-laptop pulseaudio[6326]: main.c: setrlimit(
Oct 16 13:45:07 thomas-laptop dhcdbd: Started up.
Oct 16 14:32:21 thomas-laptop bonobo-
Most of my outstanding bug reports have dbus errors:
jockey-gtk
canberra-gtk-play with pulseaudio crashes
(BTW the hal-volume-monitor crash was probably something similar - also dbus related)
I suspect many of my fatal system crashes were due to permission errors and the inability to access /var/run/
A lot of my network-manager crashes.
And so on and so forth ...
If you want to verify something on my pc through ssh, just let me know.
I can also upload half a ton of /var/log files with dbus error things. (daemon.log sys.log debug.log dpkg.log auth.log ...)
I cannot often succesfully use Valgrind for that, because usually the crash is either fatal or not possible to trigger at will.
Cheers,
Thomas
Sorry if this distracts you, do not break your head over it and sent it to a triager if you do not have time. I am just trying to help. Cheers, Thomas
thomas@ thomas- laptop: ~$ lsb_release -rd ; uname -a ; apt-cache policy linux linux-image linux-source-2.6.27 linux-headers- generic linux-restricte d-modules update-manager network-manager compiz apport-gtk xserver-xorg x-session-manager jockey-gtk gvfs nautilus consolekit gb.archive. ubuntu. com intrepid/restricted Packages dpkg/status gb.archive. ubuntu. com intrepid/main Packages dpkg/status 2.6.27: gb.archive. ubuntu. com intrepid/main Packages dpkg/status generic: gb.archive. ubuntu. com intrepid/main Packages dpkg/status d-modules: gb.archive. ubuntu. com intrepid/restricted Packages dpkg/status gb.archive. ubuntu. com intrepid/main Packages dpkg/status 5t224738- 0ubuntu1 5t224738- 0ubuntu1 5t224738- 0ubuntu1 0 gb.archive. ubuntu. com intrepid/main Packages dpkg/status gb.archive. ubuntu. com intrepid/main Packages dpkg/status gb.archive. ubuntu. com intrepid/main Packages dpkg/status gb.archive. ubuntu. com intrepid/main Packages dpkg/status gb.archive. ubuntu. com intrepid/main Packages dpkg/status gb.archive. ubuntu. com intrepid/main Packages dpkg/status
Description: Ubuntu intrepid (development branch)
Release: 8.10
Linux thomas-laptop 2.6.27-7-generic #1 SMP Tue Oct 14 18:40:44 UTC 2008 i686 GNU/Linux
linux:
Installed: 2.6.27.7.10
Candidate: 2.6.27.7.10
Version table:
*** 2.6.27.7.10 0
500 http://
100 /var/lib/
linux-image:
Installed: 2.6.27.7.10
Candidate: 2.6.27.7.10
Version table:
*** 2.6.27.7.10 0
500 http://
100 /var/lib/
linux-source-
Installed: 2.6.27-7.11
Candidate: 2.6.27-7.11
Version table:
*** 2.6.27-7.11 0
500 http://
100 /var/lib/
linux-headers-
Installed: 2.6.27.7.10
Candidate: 2.6.27.7.10
Version table:
*** 2.6.27.7.10 0
500 http://
100 /var/lib/
linux-restricte
Installed: 2.6.27.7.10
Candidate: 2.6.27.7.10
Version table:
*** 2.6.27.7.10 0
500 http://
100 /var/lib/
update-manager:
Installed: 1:0.93.26
Candidate: 1:0.93.26
Version table:
*** 1:0.93.26 0
500 http://
100 /var/lib/
network-manager:
Installed: 0.7~~svn2008101
Candidate: 0.7~~svn2008101
Version table:
*** 0.7~~svn2008101
500 http://
100 /var/lib/
compiz:
Installed: 1:0.7.8-0ubuntu3
Candidate: 1:0.7.8-0ubuntu3
Version table:
*** 1:0.7.8-0ubuntu3 0
500 http://
100 /var/lib/
apport-gtk:
Installed: 0.117
Candidate: 0.117
Version table:
*** 0.117 0
500 http://
100 /var/lib/
xserver-xorg:
Installed: 1:7.4~5ubuntu1
Candidate: 1:7.4~5ubuntu1
Version table:
*** 1:7.4~5ubuntu1 0
500 http://
100 /var/lib/
x-session-manager:
Installed: (none)
Candidate: (none)
Version table:
jockey-gtk:
Installed: 0.5~beta3-0ubuntu1
Candidate: 0.5~beta3-0ubuntu1
Version table:
*** 0.5~beta3-0ubuntu1 0
500 http://
100 /var/lib/
gvfs:
Installed: 1.0.1-0ubuntu5
Candidate: 1.0.1-0ubuntu5
Version table:
*** 1.0.1-0ubuntu5 0
500 http://
100 /var/lib/
nautilus:
Installed: 1:2.24.0-0ubuntu2
Candidate: 1:2.24.0-0ubuntu2
...