Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440460

Summary: net-dns/avahi-0.6.30-r3: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:58:57 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package net-dns/avahi-0.6.30-r3, the following elog messages are displayed:

 * To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)
 * addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!
 * If this is your first install of avahi please reload your dbus config
 * with /etc/init.d/dbus reload before starting avahi-daemon!

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'net-dns/avahi'; then

See the tracker bug 440214 for more details.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-10-31 12:41:09 UTC
The second part of the message is probably irrelevant since dbus has been watching its services directories for a while and reload itself in case there is a change in it afaik.
Comment 2 Anthony Basile gentoo-dev 2013-01-19 17:29:00 UTC
(In reply to comment #1)
> The second part of the message is probably irrelevant since dbus has been
> watching its services directories for a while and reload itself in case
> there is a change in it afaik.

Hi Gilles are you sure about this?  I tried and I'm not sure dbus reloaded.  Is there some way I can convince myself and I'll drop that second message from the elog.
Comment 3 Anthony Basile gentoo-dev 2013-05-26 23:47:28 UTC
(In reply to Anthony Basile from comment #2)
> (In reply to comment #1)
> > The second part of the message is probably irrelevant since dbus has been
> > watching its services directories for a while and reload itself in case
> > there is a change in it afaik.
> 
> Hi Gilles are you sure about this?  I tried and I'm not sure dbus reloaded. 
> Is there some way I can convince myself and I'll drop that second message
> from the elog.

It uses inotify so yeah, the second part of that message can be dropped.