Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529186 - Plasma desktop 5.1.1 does not offer suspend/shutdown options with openrc
Summary: Plasma desktop 5.1.1 does not offer suspend/shutdown options with openrc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 23:14 UTC by vltg0903
Modified: 2015-09-11 14:24 UTC (History)
7 users (show)

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


Attachments
shutdown.desktop (shutdown.desktop,548 bytes, application/x-desktop)
2014-12-23 16:10 UTC, vltg0903
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vltg0903 2014-11-13 23:14:36 UTC
Hi all,

I'm encountering a problem with plasma desktop 5.1.1 (actually I've seen this since 5.0): The kicker menu or the lock/logout plasmoid offer only lock and logout, but not suspend or shutdown. At least for shutdown, it's not a permission problem in principle, because I can shutdown as user with

dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop

I say 'in principle' because this is only when I'm using slim as DM. With the recomended DM sddm, I get a permission error and have to log out first and then shut down from the DM screen, so there might be a separate dbus issue at work here (even though I did remove nox11 from /etc/pam.d/system-login as the sddm einfo tells me to). I'm not using systemd btw.

My emerge info:Portage 2.2.12 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.19-r1, 3.17.2-gentoo x86_64)
=================================================================
System uname: Linux-3.17.2-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3844248 total,   1112344 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 13 Nov 2014 15:30:02 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.9.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo kde aeoverlay kde5overlay
Installed sets: @networking, @portageutils, @toolbox
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=corei7 -pipe"
DISTDIR="/data/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/data/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /data/portage/overlay /data/portage/kde5overlay"
USE="X X509 a52 aac aacplus acpi alsa alsashared amd64 apng bluetooth bzip2 cairo caps cdda cdr cli clucene consolekit cracklib crypt cups cxx dbus declarative dri dri3 dts dvd dvdr dvdread egl encode exif faad fdk firefox flac foomaticdb gif gles gles1 gles2 gles3 glut glx gps hou iconv icu inotify ipv6 irda java6 javadoc javasrc jpeg kde kipi kms kpathsea latex ldns mmx modules mp3 mp4 mpeg multilib ncurses networkmanager nls nmea2000 nptl ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds private-headers python3 python3_2 qt3support quicktime rdp readline sasl scanner session sou spell sse sse2 ssl startup-notification svg system-sqlite tcpd theora threads tiff truetype udev udisks udisks2 unicode upower usb userlocales v4l vorbis vpx wayland wayland-compositor win32codecs x264 xattr xcb xcomposite xetex xinerama xml xv xvfb xvid xwayland zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm x86_64 i386" QEMU_USER_TARGETS="arm armeb x86_64 i386" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON



Reproducible: Always
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-11-17 08:54:55 UTC
I have the same issue with lightdm.
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2014-12-01 09:02:34 UTC
"
One feature I missed since yesterday was the hability to select "shutdown computer" from leave dialog. Being the one that ported the old QWidget based shutdown dialog to Qml I expected the new dialog to be located in /usr/share/apps/ksmserver/themes/default, but now it is located in /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/logout/Logout.qml. Plasma 4's shutdown dialog theme is still in /usr/share/apps/ksmserver/themes/. After digging into ksmserver and libkworkspace's source codes I figured out that using kwrapper5 with ksmserver prevents shutdown and restart buttons from appearing in the shutdown dialog. The problem is that org.freedesktop.ConsoleKit.Manager.CanStop always return false when ksmserver is started through kwrapper5. I had to edit startkde script to do not use kwrapper5. OBS: I am using sddm and consolekit.
"

See: http://lamarque-lvs.blogspot.de/2014/11/installing-plasma-5-on-gentoo-linux.html
Comment 3 vltg0903 2014-12-23 16:10:05 UTC
Created attachment 392286 [details]
shutdown.desktop

Small workaround for a shutdown button in your desktop folder view.
Comment 4 vltg0903 2014-12-23 16:11:12 UTC
Needs kde-apps/kdialog.
Comment 5 vltg0903 2015-03-22 21:55:53 UTC
Ok, I think I've figured this one out (although I have to admit I don't really understand why it works). As of now, I'm using

=sys-auth/consolekit-0.9.2
=sys-power/upower-pm-utils-0.9.23-r2
=x11-misc/sddm-0.11.0

The consolekit upgrade from stable provided me with an active ck session and thus allowed me to control plasma-nm without additional authentication and made the self-made shutdown icon workaround I had posted earlier work with sddm (after removing the nox11 option from that PAM file as suggested by the ebuild). However, there still was no shutdown and reboot options. The workaround for that, as suggested by Manuel Rüger, doesn't work anymore for me after the consolekit upgrade. What did work however was creating a script called launchcksession.sh (it needs to have the file extension .sh) with the content

#!/bin/bash
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.OpenSession

and in "System Settings -> Startup and Shutdown -> Autostart" adding it as a script file to run on 'Pre-KDE startup', and finally Plasma's shutdown and reboot options are made available. What I don't quite understand is how this is any different from including the ck-launch-session command in /usr/share/sddm/scripts/Xsession, but whatever. Hopefully somebody with a better understanding of consolekit will figure out how to integrate that into Gentoo's plasma 5 setup...
Comment 6 vltg0903 2015-03-22 21:59:40 UTC
(In reply to Andreas Eckstein from comment #5)

> The consolekit upgrade from stable provided me with an active ck session
as opposed to sys-auth/consolekit-0.4.6, which, in conjunction with slim (ck support) did but with sddm (no native ck support) didn't.
Comment 7 vltg0903 2015-03-22 22:09:41 UTC
The sleep option is still not available. Although the commands

dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.CanSuspend

dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.SuspendAllowed

return both true, hacking powerdevil shows that SuspendAllowed returns false within this context (while CanSuspend returns true). Forcing a positive result here makes a 'Sleep' option available throughout the plasma desktop, but it still doesn't work. Calling

dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend

however does.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-04-09 13:53:24 UTC
Looking at shutdown/restart options with LightDM, I found that libkworkspace is checking org.freedesktop.ConsoleKit.Manager.CanStop to determine whether to display the options or not. When ksmserver is run via kwrapper5, this returns false.
Comment 9 Johannes Huber (RETIRED) gentoo-dev 2015-05-30 12:12:25 UTC
@kensington polkit files attached at upstream bug, cant test it myself as i am on systemd
Comment 10 Michael Palimaka (kensington) gentoo-dev 2015-05-30 15:37:44 UTC
It's on my todo.
Comment 11 Michael Palimaka (kensington) gentoo-dev 2015-06-04 14:24:02 UTC
I pushed a fix for testing / feedback:

https://gitweb.gentoo.org/proj/kde.git/commit/?id=894909f17af84d1b744cf58ceb0f52c033c55bfd
Comment 12 vltg0903 2015-06-04 18:32:52 UTC
Thanks Michael, your fix works great here! (Without any of the other workarounds in place.)
Comment 13 Jakub Caban 2015-06-07 10:17:29 UTC
I've upgraded all packages to overlay versions and have upower-pm-utils installed. But I still see no hibernate, shutdown nor restart option in my Plasma menu.

I see there are some workarounds flying around. What should I try and what details of my system would be helpful here?
Comment 14 Manuel Rüger (RETIRED) gentoo-dev 2015-06-12 17:31:25 UTC
*powerdevil-5.3.1-r1 (12 Jun 2015)

  12 Jun 2015; Manuel Rüger <mrueg@gentoo.org>
  +files/10-org.freedesktop.upower.pkla,
  +files/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla,
  +files/30-org.freedesktop.consolekit.system.restart-multiple-users.pkla,
  +powerdevil-5.3.1-r1.ebuild:
  Fix missing shutdown/restart/suspend/hibernate options for non-systemd systems
  wrt bug #529186.


And it's in the tree. Please report back if the behaviour did not change.
Comment 15 Jakub Caban 2015-06-15 20:10:05 UTC
I still have no suspend nor shutdown (or reboot) options in Plasma.

I use OpenRC with SDDM.

# emerge --info powerdevil
Portage 2.2.20 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8138380 total,   4467260 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 15 Jun 2015 19:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.2 [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11.git
    masters: gentoo
    priority: 50

my
    location: /var/lib/layman/my
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi aes alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif facebook fam firefox firmware flac fortran gdbm gif git google gpm iconv icu ipv6 jpeg kde kdepim kipi kontact lcms ldap libav mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp optimized-qmake pam pango pcre pdf phonon php plasma png policykit popcnt ppds pulseaudio python3 qt3support qt4 qt5 readline scanner sdl semantic-desktop session spell sse sse2 sse3 sse4 sse4_1 sse4_2 sse4_4way ssl ssse3 ssse4 startup-notification svg system-cairo system-ffmpeg system-icu system-jpeg system-sqlite tcpd tiff touchpad truetype udev udisks unicode upower usb v4l v4ls vdpau vim-syntax vorbis wayland wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

kde-plasma/powerdevil-5.3.1-r1::gentoo was built with the following:
USE="handbook -debug -systemd" ABI_X86="64"
Comment 16 Jakub Caban 2015-06-15 20:23:00 UTC
Upgrading to consolekit-0.9.2 did not help :(
Comment 17 Andreas Sturmlechner gentoo-dev 2015-06-15 20:32:24 UTC
sddm does not have consolekit support. Please try with lightdm! That works for me since the powerdevil bump.
Comment 18 Jakub Caban 2015-06-16 19:44:44 UTC
No luck with lightdm 1.14.1 nor 1.15.0 (I use lightdm-kde-greeter if that matters) :(

should I try to apply some of workarounds from this ticket to make it work?

# emerge --info lightdm
Portage 2.2.20 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8138380 total,   4751784 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Tue, 16 Jun 2015 08:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
ccache version 3.2.2 [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11.git
    masters: gentoo
    priority: 50

my
    location: /var/lib/layman/my
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi aes alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif facebook fam firefox firmware flac fortran gdbm gif git google gpm iconv icu ipv6 jpeg kde kdepim kipi kontact lcms ldap libav mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp optimized-qmake pam pango pcre pdf phonon php plasma png policykit popcnt ppds pulseaudio python3 qt3support qt4 qt5 readline scanner sdl semantic-desktop session spell sse sse2 sse3 sse4 sse4_1 sse4_2 sse4_4way ssl ssse3 ssse4 startup-notification svg system-cairo system-ffmpeg system-icu system-jpeg system-sqlite tcpd tiff touchpad truetype udev udisks unicode upower usb v4l v4ls vdpau vim-syntax vorbis wayland wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

x11-misc/lightdm-1.15.0::gentoo was built with the following:
USE="introspection kde qt4 -gnome -gtk" ABI_X86="64"
Comment 19 Chris Reffett (RETIRED) gentoo-dev Security 2015-07-07 14:48:04 UTC
The fix doesn't quite work--it doesn't allow all users to perform the action; rather, it only allows users in group "users" to do it, and Gentoo does not add users to that group by default.
Comment 20 Johannes Huber (RETIRED) gentoo-dev 2015-07-10 19:30:35 UTC
(In reply to Chris Reffett from comment #19)
> The fix doesn't quite work--it doesn't allow all users to perform the
> action; rather, it only allows users in group "users" to do it, and Gentoo
> does not add users to that group by default.

The users account setup is well documented in the handbook. 

You will need to file a bug to base system / releng to setup the account automatically as its part of the installation process.

https://wiki.gentoo.org/wiki/Complete_Handbook/Configuring_the_system#User_account