You are not logged in.

#1 2006-10-22 10:12:28

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

dbus - unkown user "avahi"

Since I have just recently had to reinstall the base system dbus now complains with 'Unknown username "avahi" in message bus configuration file'

I've checked and there is indeed no user called "avahi". Reinstalling avahi hasn't added it.

Do I just add a user called "avahi"? If so where do I set it's home directory and other settings?

I'm using gnome btw.

Cheers.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#2 2006-10-22 11:28:55

detto
Member
Registered: 2006-01-23
Posts: 510

Re: dbus - unkown user "avahi"

Any specific application that reports this message ?
I had this when i wanted to hear radio with rhythmbox. Had to start "avahi-daemon" from /etc/rc.d/ and it worked. Then added it to DAEMONS line, hope that helps.

cheers,
deTTo

Offline

#3 2008-04-09 18:45:39

dpc
Member
Registered: 2005-10-16
Posts: 103

Re: dbus - unkown user "avahi"

$ sudo /etc/rc.d/dbus restart
:: Stopping D-BUS system messagebus                                                                                   [DONE]
:: Starting D-BUS system messagebus                                                                                   [BUSY]Unknown username "avahi" in message bus configuration file
                                                                                                                      [DONE]

Offline

#4 2008-04-10 06:40:07

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

Re: dbus - unkown user "avahi"

The postinstall script of avahi should have added a user. This fails when you already have a user and/or group at id 84.

Offline

#5 2008-05-21 05:44:52

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: dbus - unkown user "avahi"

That look like a bug to me. I also have the same bug after reinstalling base packages. No user with id 84 and "pacman -S avahi" doesn't help.

Added user manually and the warning disappeared.

Last edited by Ambi (2008-05-21 05:47:22)

Offline

#6 2008-05-21 07:15:42

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

Re: dbus - unkown user "avahi"

avahi only creates these users on post_install, not on post_upgrade. Check /var/lib/pacman/local/avahi-0.6.22-1/install for the postinstall instructions, run those by hand in case they weren't executed.

Offline

#7 2009-08-12 21:28:51

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 415

Re: dbus - unkown user "avahi"

I have same issue and I don`t know how to solve this? Any help please?


I do not speak English, but I understand...

Offline

#8 2009-09-07 12:00:52

DaJinx
Member
From: Canada
Registered: 2009-04-29
Posts: 7

Re: dbus - unkown user "avahi"

*Bump*

Getting this error on start-up as well now, how to fix?


Asus M4A785-M MoBo :: AMD Phenom II X4 955 :: 3 GB DDR II RAM
Main OS: Arch :: ATI Radeon HD 4200 IGP :: VIA VT1708S HD Audio

Offline

#9 2009-09-07 14:57:07

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: dbus - unkown user "avahi"

From the previously mentioned install file by JGC:

groupadd -g 84 avahi
useradd -c "Avahi daemon" -u 84 -d / -g avahi -s /bin/false avahi

All that I did was leave out the echo commands which keep you updated.
Since by doing it manually, you would be aware anyway.

Run those commands as root, and you should be good.


Knute

Offline

#10 2009-09-08 10:47:35

DaJinx
Member
From: Canada
Registered: 2009-04-29
Posts: 7

Re: dbus - unkown user "avahi"

Thanks that worked!


Asus M4A785-M MoBo :: AMD Phenom II X4 955 :: 3 GB DDR II RAM
Main OS: Arch :: ATI Radeon HD 4200 IGP :: VIA VT1708S HD Audio

Offline

#11 2013-09-09 07:46:07

mizux
Member
Registered: 2010-10-03
Posts: 6

Re: dbus - unkown user "avahi"

Thanks having the same problem no group avahi on my install.
using:

groupadd -g 84 avahi

solved the problem.

Strange avahi look good to me
src: https://projects.archlinux.org/svntogit … ages/avahi

Offline

#12 2013-09-09 13:23:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,453

Re: dbus - unkown user "avahi"

Glad it is working.  I am now going to close this 4 year old thread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB