You are not logged in.

#1 2008-04-17 00:23:58

shaurz
Member
Registered: 2004-02-02
Posts: 358

System won't boot after update - dbus UID/GID error

Error message:

Failed to start message bus: Could not get UID and GID for username "dbus"

Hangs on "Starting Hardware Abstraction Layer".

Great.

As a temporary fix I've disabled dbus, hal, etc.

Last edited by shaurz (2008-04-17 00:36:37)

Offline

#2 2008-04-17 06:47:03

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: System won't boot after update - dbus UID/GID error

Check that the dbus user and group on your system exist. Somehow those users weren't added to your system, probably because the reserved uid/gid combination was already taken.

Offline

#3 2008-04-17 14:54:31

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: System won't boot after update - dbus UID/GID error

I re-installed dbus and got the followin error message:

useradd: UID 81 is not unique

That UID is already used by NX:

nx:x:81:100::/opt/NX/home/nx:/opt/NX/bin/nxserver

I uninstalled nxserver, re-installed dbus and re-installed nxserver, what allocated a different UID.

Offline

#4 2009-02-07 16:02:51

Guillawme
Member
From: France
Registered: 2009-02-07
Posts: 2

Re: System won't boot after update - dbus UID/GID error

Hello

I just installed Arch (I'm still in the configuration and tweaking period), and I got the same error while trying to start HAL/DBUS.

I ran these commands :

# useradd -rU dbus
# usermod -d / dbus
# usermod -s /bin/false dbus
# usermod -c "DBUS daemon" dbus

(I guess that these commands might be one-line-only-written, but I'm still a newbie so I did it step by step...)
to obtain to DBUS a similar line than HAL's one in /etc/passwd :

# cat /etc/passwd
[...]
hal:x:82:82:HAL daemon:/:/bin/false
dbus:x:100:13:DBUS daemon:/:/bin/false

And everything seems to be OK : my user is able to "$ startx" (after performing some configuration on X11 of course).

Sorry for "upping" this topic from so long ago, but the problem seems to occure yet, so my post might be useful for someone over there.


Have a nice week-end. smile

Offline

#5 2009-02-07 16:10:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: System won't boot after update - dbus UID/GID error

This is a known bug on new installs, and the best solution is simply to reinstall dbus-core after the system is up and running. dbus is a system user, and requires the UID/GID 81. In your case, as you have already created the user manually, you should delete the dbus user with UID 100/GID 13 and then reinstall dbus-core.

This bug will be fixed on the next install ISO.

Offline

#6 2009-02-08 10:39:04

Guillawme
Member
From: France
Registered: 2009-02-07
Posts: 2

Re: System won't boot after update - dbus UID/GID error

Thank you for your answer tomk, I fixed it. smile

Offline

Board footer

Powered by FluxBB