Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546612 - sys-apps/dbus: rework elog messages
Summary: sys-apps/dbus: rework elog messages
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:
: 427610 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-14 18:17 UTC by Pacho Ramos
Modified: 2015-04-18 07:57 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 Pacho Ramos gentoo-dev 2015-04-14 18:17:22 UTC
This one needs to detect systemd running or, othersise, it's always shown:
        if [ "$(rc-config list default | grep dbus)" = "" ] ; then
                elog "To start the D-Bus system-wide messagebus by default"
                elog "you should add it to the default runlevel :"
                elog "\`rc-update add dbus default\`"
                elog
        fi


Anyway, having an elog message to simply tell people to add the service to the runlevel looks really overkill to me, I would then simply drop it

        elog "Some applications require a session bus in addition to the system"
        elog "bus. Please see \`man dbus-launch\` for more information."
        elog

About this, if we really need to inform people about this, we could use readme.gentoo.eclass to not need to show it always 

I can do all the changes if no problem is rised

Thanks
Comment 1 Pacho Ramos gentoo-dev 2015-04-18 07:46:03 UTC
*** Bug 427610 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2015-04-18 07:57:32 UTC
+  18 Apr 2015; Pacho Ramos <pacho@gentoo.org> dbus-1.8.16.ebuild:
+  Rework elog messages (#546612)
+