After upgrading xfce-base/xfce4-session from 4.10.0 to 4.10.1, the buttons "Restart" and "Shut Down" are disabled. This happens with USE=policykit set and having sys-apps/systemd not installed. With USE=policykit, the ebuild passes --enable-systemd to configure, and, starting from version 4.10.1, xfce4-session will (try to) use systemd to restart or shut down the system. Without systemd installed, this fails and the buttons are disabled. See URL for more information. I do not know whether policykit is used by xfce4-session if systemd is not used. Depending on that, the useflag policykit may be renamed to systemd or a separate systemd useflag could be added. At least, if the ebuild passes --enable-systemd to configure, it should depend on sys-apps/systemd. Reproducible: Always Steps to Reproduce: 1. Make sure that systemd is not installed 2. Install Xfce with xfce4-session-4.10.1 with USE=policykit 3. Restart your Xfce session 4. Click on "Log Out" Actual Results: The buttons "Restart" and "Shut Down" are disabled. Expected Results: The buttons "Restart" and "Shut Down" (as well as the others) are enabled.
oops, you are right, how stupid #ifdef this should be runtime detected instead of compile time :-( + 09 May 2013; Samuli Suominen <ssuominen@gentoo.org> + xfce4-session-4.10.1.ebuild: + Rename USE="policykit" with USE="systemd" because --enable-systemd is + disabling ConsoleKit support wrt #469190 by Timo Kamph