Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125521 - sys-apps/dbus pkg_postinst improvements
Summary: sys-apps/dbus pkg_postinst improvements
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 12:51 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2006-03-13 23:03 UTC (History)
0 users

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


Attachments
proposed ebuild patch (dbus.patch,1.23 KB, patch)
2006-03-08 12:52 UTC, Paweł Hajdan, Jr. (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-03-08 12:51:04 UTC
Information about adding dbus to "default" runlevel should be printed only if it is not added to this runlevel.

Warning about api/abi changes should be printed only when upgrading from previous dbus version, not when re-emerging the package or revision bump. I suggest using has_version to determine previous dbus version. It is possible according to http://dev.gentoo.org/~plasmaroo/devmanual//ebuild-writing/functions/pkg_postinst/#common-pkg-postinst-tasks
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-03-08 12:52:07 UTC
Created attachment 81719 [details, diff]
proposed ebuild patch
Comment 2 Joe McCann (RETIRED) gentoo-dev 2006-03-09 10:35:41 UTC
I don't agree with the first if statement, since you may be building packages for another machine on a box that already has dbus in the default run level, in which case the message is still valid. I don't think it hurts anything to always show the message about adding it to startup. I guess the same could apply for the 2nd api/abi change message. Maybe the message could be reworded some...
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-03-13 23:03:58 UTC
I happen to disagree as well.