diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-12 20:31:38 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-13 01:07:42 +0200 |
commit | 1be55335097607bb9e1aa5226597bc51f8954b52 (patch) | |
tree | 8e3994aa8f281ee73447255fbe138f7d09e033ac /sys-auth | |
parent | sys-auth/elogind: Add a warning about IUSE="-pam" in postinst (diff) | |
download | gentoo-1be55335097607bb9e1aa5226597bc51f8954b52.tar.gz gentoo-1be55335097607bb9e1aa5226597bc51f8954b52.tar.bz2 gentoo-1be55335097607bb9e1aa5226597bc51f8954b52.zip |
sys-auth/elogind: Add a warning about IUSE="-policykit" in postinst
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/elogind/elogind-243.7.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-auth/elogind/elogind-243.7.ebuild b/sys-auth/elogind/elogind-243.7.ebuild index 43b02dab0c6a..b8d79dc55636 100644 --- a/sys-auth/elogind/elogind-243.7.ebuild +++ b/sys-auth/elogind/elogind-243.7.ebuild @@ -116,6 +116,11 @@ pkg_postinst() { ewarn "In other words, it will be useless for most applications." ewarn fi + if ! use policykit; then + ewarn "loginctl will not be able to perform privileged operations without" + ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate." + ewarn + fi if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then elog "elogind is currently started from boot runlevel." elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then |