Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440460 - net-dns/avahi-0.6.30-r3: some elog messages should only be shown for the first install.
Summary: net-dns/avahi-0.6.30-r3: some elog messages should only be shown for the firs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 10:58 UTC by poletti.marco
Modified: 2013-05-26 23:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.