Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440526 - sys-apps/dbus-1.6.8:: some elog messages should only be shown for the first install.
Summary: sys-apps/dbus-1.6.8:: some elog messages should only be shown for the first i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 11:10 UTC by poletti.marco
Modified: 2012-11-17 13:21 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 11:10:12 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package sys-apps/dbus-1.6.8:, the following elog messages are displayed:

 * To start the D-Bus system-wide messagebus by default
 * you should add it to the default runlevel :
 * `rc-update add dbus default`
 * 
 * Some applications require a session bus in addition to the system
 * bus. Please see `man dbus-launch` for more information.

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 'sys-apps/dbus-1.6.8:'; then

See the tracker bug 440214 for more details.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-10-31 12:38:37 UTC
The proper fix would rather be to show this message only when the service is in no rc-script. See gdm ebuild for example.
Comment 2 Pacho Ramos gentoo-dev 2012-11-17 13:21:04 UTC
+  17 Nov 2012; Pacho Ramos <pacho@gentoo.org> dbus-1.6.8-r1.ebuild:
+  Show elog messages only when needed (#440526 by poletti.marco), disable silent
+  rules.
+