Bug#419935: [Pkg-utopia-maintainers] Bug#419935: avahi-daemon: getent hosts work only root

Sjoerd Simons sjoerd at spring.luon.net
Thu Apr 19 19:48:11 UTC 2007


tag 419935 +pending
thanks,

On Wed, Apr 18, 2007 at 11:57:58PM +0300, Riku Valli wrote:
> Package: avahi-daemon
> Version: 0.6.16-3etch1
> Severity: important
> 
> It seems at avahi-daemon /var/run/avahi-daemon directory permissions are 
> too restrictive 0700. So normal user can't solve addresees via getent 
> hosts host.local because he/she can't connect socket. Example kongueror 
> show services, but can't connect them. I change directory permissions to 
> 755 and now konqueror can connect services. Socket and pid permissions 
> are right.

Reviewing the avahi packaging. This is most probably caused by adduser creating
the homedir (/var/run/avahi-daemon). You've probably set your DIR_MODE in
/etc/adduser.conf to 0700, which is what causes the issue. I've fixed this in
svn.

You can savely chmod the dir to 0755 on your system (after a reboot the dir
will be recreated with the right perms too). 

  Sjoerd
-- 
When some people discover the truth, they just can't understand why
everybody isn't eager to hear it.




More information about the Pkg-utopia-maintainers mailing list