Created attachment 275499 [details, diff] udisks ebuild patch By popular demand. This will workaround broken setups as side effect but is useful for PAM-less setups (no pam_ck_connector.so) and useful for remote logins. Using this same bug for both udisks and upower.
Created attachment 275501 [details] 01-org.freedesktop.udisks.pkla For files/ directory in udisks
Created attachment 275503 [details] 01-org.freedesktop.upower.pkla For files/ directory of upower
Created attachment 275505 [details, diff] upower ebuild patch
And to communicate with users, something like this should propably go into both ebuilds pkg_postinst(): elog "PolicyKit authorization file 01-org.freedesktop.uXXXX has been installed" elog "into /etc/polkit-1/localauthority/10-vendor.d for group plugdev." elog "See \"man 8 pklocalauthority\" for more information."
I am sorry, I am not _that_ familiar with the "PAM-less" definition. You mean systems without a polikt agent?
(In reply to comment #5) > I am sorry, I am not _that_ familiar with the "PAM-less" definition. You mean > systems without a polikt agent? USE="pam" in consolekit installs pam_ck_connector.so pam module USE="consolekit" in pambase adds pam_ck_connector.so line in /etc/pam.d/system-login So when you login normally to console, you get a ConsoleKit session, viewable by `ck-list-sessions`. Then if you run startx with proper ck-launch-session stuff it gets passed on... So if you don't use PAM, ConsoleKit mostly won't work for you at all So we install .pkla files for PolicyKit to get the authorization regardless, with group plugdev
Created attachment 275519 [details] 01-org.freedesktop.consolekit.pkla For files/ directory of consolekit
Created attachment 275521 [details, diff] patch for consolekit ebuild
on a second thought, this is a poor idea and users really just need to read the pklocalauthority manpage if they want something like this