commit:     3d79fbe8c0e790f44530319e99347fd734ce8d54
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 12:38:21 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr  3 12:41:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d79fbe8

sys-apps/dbus: Warn people about the potential breakages they could get when 
enabling user-session (#577416#c21)

Package-Manager: portage-2.2.28

 sys-apps/dbus/dbus-1.10.8-r1.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sys-apps/dbus/dbus-1.10.8-r1.ebuild 
b/sys-apps/dbus/dbus-1.10.8-r1.ebuild
index ccec841..dd38eb2 100644
--- a/sys-apps/dbus/dbus-1.10.8-r1.ebuild
+++ b/sys-apps/dbus/dbus-1.10.8-r1.ebuild
@@ -253,4 +253,16 @@ pkg_postinst() {
                elog "the following to your environment:"
                elog " 
DBUS_SESSION_BUS_ADDRESS=\"launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET\""
        fi
+
+       if use user-session; then
+               ewarn "You have enabled used-session, please note this can 
cause"
+               ewarn "bogus behaviors in several DBUS consumers due to they"
+               ewarn "not being prepared for this dbus activation method yet"
+               ewarn
+               ewarn "Please take a look to the following link for 
understanding"
+               ewarn "the change:"
+               ewarn 
"https://lists.freedesktop.org/archives/systemd-devel/2015-January/027711.html";
+               ewarn "You can also take a look to the already known issues at:"
+               ewarn "https://bugs.gentoo.org/show_bug.cgi?id=576028";
+       fi
 }

Reply via email to