Bug#419935: [Pkg-utopia-maintainers] Bug#419935: avahi-daemon: getent
hosts work only root
Riku Valli
riku.valli at vallit.fi
Thu Apr 19 19:59:14 UTC 2007
Sjoerd Simons wrote:
> 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
>
Hi
You are right, /etc/adduser .conf DIR_MODE is 0700.
Regards, Riku
More information about the Pkg-utopia-maintainers
mailing list