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

Bug 440526

Summary: sys-apps/dbus-1.6.8:: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
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 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.
+