Problems initializing daemon user cache

Havoc Pennington hp at
Fri Nov 7 07:08:10 PST 2008


On Fri, Nov 7, 2008 at 9:14 AM, Schmottlach, Glenn
<GSchmott at> wrote:
> The UID for root is of course zero (0) and in _dbus_user_database_lookup()
> it tries to look up the cached value for this user. Since the user cache has
> just been created and initialized, the database is empty and the lookup
> fails. This susequently cascades out as an error and startup fails. Maybe
> I'm missing something here, but how is the user cache supposed to be filled
> initially when the daemon starts up?

It calls the standard libc functions to convert a username to uid, so
that isn't working properly on your system.

You might be able to just change the config file to have "0" instead
of "root" in it, but it's probably a good idea to fix the system too.


More information about the dbus mailing list