Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] polkit, kde, systemd not working together
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Wed Feb 05, 2014 9:59 pm    Post subject: [SOLVED] polkit, kde, systemd not working together Reply with quote

Hi,

I just installed gentoo on two laptops, both of which have the same problem: polkit rules seem to be ignored.
I'm using
Code:
default/linux/amd64/13.0/desktop/kde/systemd
.

I have the following in /etc/polkit-1/rules.d:
10-admin.rules:
Code:
polkit.addAdminRule(function(action, subject) {
    return ["unix-group:wheel"];
});


50-org.freedesktop.NetworkManager.rules:
Code:
polkit.addRule(function(action, subject) {
  if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0) {
    return polkit.Result.YES;
  }
});


I have this in /etc/pam.d/system-auth:
Code:
auth      required   pam_env.so
auth      required   pam_unix.so try_first_pass likeauth nullok
auth      optional   pam_permit.so
 
account      required   pam_unix.so
account      optional   pam_permit.so
 
password   required   pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
password   required   pam_unix.so try_first_pass use_authtok nullok sha512 shadow
password   optional   pam_permit.so
 
session      required   pam_limits.so
session      required   pam_env.so
session      required   pam_unix.so
session      optional   pam_permit.so
-session         optional        pam_systemd.so


and errors in journalctl -u dbus:
Code:
Feb 05 22:35:35 daban-urnud dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.NetworkManager" member="state" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 05 22:35:35 daban-urnud dbus-daemon[2269]: dbus[2269]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.77" (uid=1000 pid=13974 comm="kdeinit4: kcmshell4 [kdeinit] --icon networkmanag") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=2267 comm="/usr/sbin/NetworkManager --no-daemon ")


pkcheck --list-temp comes back empty, no idea whether that is normal. I don't know where to go from here... any help appreciated.


Last edited by SirRobin2318 on Tue Feb 11, 2014 4:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 211
Location: AU

PostPosted: Fri Feb 07, 2014 1:55 am    Post subject: Reply with quote

One thing to check is: in the output of:

Code:
loginctl show-session $XDG_SESSION_ID


It should contain the line:

Code:
Active=yes
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Fri Feb 07, 2014 12:00 pm    Post subject: Reply with quote

Seems ok:
Code:
=c1
Timestamp=Thu 2014-02-06 23:09:47 CET
TimestampMonotonic=19372510
VTNr=7
Display=:0
Remote=no
Service=kde
Scope=session-c1.scope
Leader=2302
Audit=0
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=xxx


I can't do anything with network manager, no system admin settings available.
nmcli doesn't work as a user, but works fine as root.

My user is in the following groups:
Code:
wheel audio cdrom video games usb users plugdev systemd-journal portage xxx
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 211
Location: AU

PostPosted: Fri Feb 07, 2014 12:32 pm    Post subject: Reply with quote

One difference I notice is my user is in the group netdev

(This is on a loaner Sabayon machine with a Gentoo kernel booting OpenRC
using some systemd stufff with KDE started with startx on the same tty as the
user login, where the network manager gui works fine. I didn't configure any
polkit stuff, but I'm not sure if Sabayon may have or not.)
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Fri Feb 07, 2014 1:15 pm    Post subject: Reply with quote

I have no net* in /etc/goup.
http://wiki.gentoo.org/wiki/NetworkManager only mentions the plugdev group.
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 211
Location: AU

PostPosted: Fri Feb 07, 2014 1:21 pm    Post subject: Reply with quote

Actually I notice differences in the loginctl output, here is mine:

Code:
xxx@xxx ~ $ loginctl show-session $XDG_SESSION_ID
Id=2
Timestamp=Fri 2014-02-07 12:45:02 EST
TimestampMonotonic=36919528
DefaultControlGroup=systemd:/user/1000.user/2.session
VTNr=1
TTY=/dev/tty1
Remote=no
Service=login
Leader=5047
Audit=2
Type=tty
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=1391737496406199
IdleSinceHintMonotonic=30800700
Name=xxx
xxx@xxx ~ $


The DefaultControlGroup stuff in mine seems to be missing from yours.

I wonder if you have all the kernel options that systemd stuff wants:

http://wiki.gentoo.org/wiki/Systemd#Kernel

(On the Sabayon box I configured the kernel systemd stuff manually, as I have the kernel
Gentoo Linux ---> Support for init systems, system and service managers option set
to boot OpenRC).
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 211
Location: AU

PostPosted: Fri Feb 07, 2014 1:51 pm    Post subject: Reply with quote

Quote:
I have no net* in /etc/goup.
http://wiki.gentoo.org/wiki/NetworkManager only mentions the plugdev group.


If you wanted to try creating the netdev group, adding the user to the netdev group, logging out,
and logging back in, and reported the results, then we could update the wiki if it fixes the problem.
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Sun Feb 09, 2014 12:38 pm    Post subject: Reply with quote

Adding the user to netdev didn't change anything, I'm guessing plugdev has the same role.
I double checked kernel settings, path to uevent helper was wrong, fixed it, still same problem.

I'm guessing the DefaultControlGroup stuff is the next thing to investigate.
Does this look right compared to your system?

systemd-cgls
Code:
├─user.slice
│ └─user-1000.slice
│   ├─session-c1.scope
│   │ ├─  325 -:0
│   │ ├─  337 /bin/sh /usr/bin/startkde
│   │ ├─  346 /usr/bin/dbus-launch --sh-syntax --exit-with-session
│   │ ├─  347 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --s...
│   │ ├─  379 kdeinit4: kdeinit4 Running...
│   │ ├─  380 kdeinit4: klauncher [kdeinit] --fd=8
│   │ ├─  382 kdeinit4: kded4 [kdeinit]
│   │ ├─  384 /usr/libexec/gam_server
│   │ ├─  394 kdeinit4: kglobalaccel [kdeinit]
│   │ ├─  396 kdeinit4: kwalletd [kdeinit]
│   │ ├─  402 /usr/bin/kactivitymanagerd
│   │ ├─  424 kwrapper4 ksmserver --windowmanager /usr/bin/xmonad
│   │ ├─  425 kdeinit4: ksmserver [kdeinit] --windowmanager /us
│   │ ├─  442 /home/xxx/.xmonad/xmonad-x86_64-linux --resume StackSet {curren...
│   │ ├─  495 /usr/bin/python2.7 /home/xxx/.kde4/share/apps/plasma/plasmoids/...
│   │ ├─  500 /usr/bin/pulseaudio --start --log-target=syslog
│   │ ├─  509 /usr/bin/kuiserver
│   │ ├─  523 kdeinit4: nepomukserver [kdeinit]
│   │ ├─  526 /usr/bin/nepomukstorage
│   │ ├─  527 kdeinit4: krunner [kdeinit]
│   │ ├─  541 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
│   │ ├─  547 /usr/bin/knotify4
│   │ ├─  549 conky
│   │ ├─  550 compton --config /home/xxx/.compton.conf
│   │ ├─  553 gpg-agent --daemon --sh
│   │ ├─  554 /usr/bin/korgac --icon korgac
│   │ ├─  562 kdeinit4: klipper [kdeinit]
│   │ ├─  576 /usr/bin/akonadi_control
│   │ ├─  578 akonadiserver
│   │ ├─  580 /usr/sbin/mysqld --defaults-file=/home/xxx/.local/share/akonadi...
│   │ ├─  606 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akona...
│   │ ├─  607 /usr/bin/akonadi_archivemail_agent --identifier akonadi_archive...
│   │ ├─  608 /usr/bin/akonadi_agent_launcher akonadi_contacts_resource akona...
│   │ ├─  609 /usr/bin/akonadi_agent_launcher akonadi_ical_resource akonadi_i...
│   │ ├─  610 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resour...
│   │ ├─  611 /usr/bin/akonadi_kolabproxy_resource --identifier akonadi_kolab...
│   │ ├─  612 /usr/bin/akonadi_agent_launcher akonadi_maildir_resource akonad...
│   │ ├─  613 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_mail...
│   │ ├─  614 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilt...
│   │ ├─  615 /usr/bin/akonadi_nepomuk_feeder --identifier akonadi_nepomuk_fe...
│   │ ├─  618 /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_new...
│   │ ├─  622 /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater...
│   │ ├─  667 /usr/bin/nepomukfilewatch
│   │ ├─  668 /usr/bin/nepomukfileindexer
│   │ ├─  690 /usr/bin/kwalletmanager --kwalletd
│   │ ├─  694 terminology
│   │ ├─  697 /usr/bin/efreetd
│   │ ├─  701 /bin/zsh
│   │ ├─  706 firefox
│   │ ├─  729 tmux new -d -s def-gtoo
│   │ ├─ 1038 /usr/lib64/firefox/plugin-container /usr/lib64/nsbrowser/plugin...
│   │ ├─ 1101 gvim -f --servername 7 --remote src/aqua_node/circ.cljs
│   │ ├─ 1449 /usr/lib64/firefox/plugin-container /opt/google/talkplugin/libn...
│   │ ├─ 1452 /opt/google/talkplugin/GoogleTalkPlugin
│   │ ├─ 2278 bash /home/xxx/local/bin/lein repl
│   │ ├─ 2287 /usr/lib/jvm/icedtea-bin-6/bin/java -client -Xbootclasspath/a:/...
│   │ ├─ 2311 /usr/lib/jvm/icedtea-bin-6/bin/java -classpath /home/xxx/work/a...
│   │ ├─ 2451 node -e eval(require('fs').readFileSync('/tmp/cljsrepl564872570...
│   │ ├─ 2516 node -e eval(require('fs').readFileSync('/tmp/cljsrepl279962745...
│   │ ├─ 3356 /usr/libexec/at-spi-bus-launcher
│   │ ├─ 6320 terminology
│   │ ├─ 6325 /bin/zsh
│   │ ├─ 7216 terminology
│   │ ├─ 7221 /bin/zsh
│   │ ├─ 7254 zsh
│   │ ├─ 7262 zsh
│   │ ├─ 7268 zsh
│   │ ├─ 7274 zsh
│   │ ├─ 7280 zsh
│   │ ├─ 7286 zsh
│   │ ├─ 7290 zsh
│   │ ├─ 7291 tmux attach -t aqua
│   │ ├─ 7573 kopete
│   │ ├─ 9317 gvim -f --servername 1 --remote .xmonad/xmonad.hs
│   │ ├─14461 terminology
│   │ ├─14466 /bin/zsh
│   │ ├─14713 ssh 192.168.0.14
│   │ ├─14819 gvim -f --servername 0 --remote /tmp/lol
│   │ ├─15400 /usr/bin/virtuoso-t +foreground +configfile /tmp/virtuoso_tMR52...
│   │ ├─15444 systemd-cgls
│   │ ├─16376 kontact
│   │ ├─19225 kdeinit4: plasma-desktop [kdeinit] --nocrashhandl
│   │ ├─19274 ksysguardd
│   │ ├─22193 zsh
│   │ ├─22201 zsh
│   │ ├─22203 zsh
│   │ ├─22209 zsh
│   │ ├─22216 zsh
│   │ ├─22222 zsh
│   │ ├─22223 tmux attach -t def-gtoo
│   │ ├─22400 journalctl -p 6 -n 100 -f
│   │ ├─22402 tail -n 100 /var/log/emerge-fetch.log -f
│   │ └─22403 tail -n 100 /var/log/emerge.log -f
│   └─user@1000.service
│     ├─335 /usr/lib/systemd/systemd --user
│     └─336 (sd-pam)
└─system.slice
  ├─1 /usr/lib/systemd/systemd
  ├─NetworkManager.service
  │ ├─22618 /usr/sbin/NetworkManager --no-daemon
  │ └─25894 /sbin/dhcpcd -B -K -L -G -c /usr/libexec/nm-dhcp-client.action wl...
  ├─udisks2.service
  │ └─426 /usr/lib/udisks2/udisksd --no-debug
  ├─upower.service
  │ └─403 /usr/lib/upower/upowerd
  ├─wpa_supplicant.service
  │ └─334 /usr/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf ...
  ├─polkit.service
  │ └─315 /usr/lib/polkit-1/polkitd --no-debug
  ├─systemd-udevd.service
  │ └─252 /usr/lib/systemd/systemd-udevd
  ├─dbus.service
  │ └─306 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfi...
  ├─kdm.service
  │ ├─309 /usr/bin/kdm -nodaemon
  │ └─311 /usr/bin/X -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/r...
  ├─systemd-logind.service
  │ └─305 /usr/lib/systemd/systemd-logind
  └─systemd-journald.service
    └─222 /usr/lib/systemd/systemd-journald


tree /sys/fs/cgroup (nothing containing my user login... is that normal?)
Code:
/sys/fs/cgroup
|-- blkio
|   |-- blkio.io_merged
|   |-- blkio.io_merged_recursive
|   |-- blkio.io_queued
|   |-- blkio.io_queued_recursive
|   |-- blkio.io_service_bytes
|   |-- blkio.io_service_bytes_recursive
|   |-- blkio.io_serviced
|   |-- blkio.io_serviced_recursive
|   |-- blkio.io_service_time
|   |-- blkio.io_service_time_recursive
|   |-- blkio.io_wait_time
|   |-- blkio.io_wait_time_recursive
|   |-- blkio.leaf_weight
|   |-- blkio.leaf_weight_device
|   |-- blkio.reset_stats
|   |-- blkio.sectors
|   |-- blkio.sectors_recursive
|   |-- blkio.time
|   |-- blkio.time_recursive
|   |-- blkio.weight
|   |-- blkio.weight_device
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
|-- cpu -> cpu,cpuacct
|-- cpuacct -> cpu,cpuacct
|-- cpu,cpuacct
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- cpuacct.stat
|   |-- cpuacct.usage
|   |-- cpuacct.usage_percpu
|   |-- cpu.shares
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
|-- cpuset
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- cpuset.cpu_exclusive
|   |-- cpuset.cpus
|   |-- cpuset.mem_exclusive
|   |-- cpuset.mem_hardwall
|   |-- cpuset.memory_migrate
|   |-- cpuset.memory_pressure
|   |-- cpuset.memory_pressure_enabled
|   |-- cpuset.memory_spread_page
|   |-- cpuset.memory_spread_slab
|   |-- cpuset.mems
|   |-- cpuset.sched_load_balance
|   |-- cpuset.sched_relax_domain_level
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
|-- devices
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- devices.allow
|   |-- devices.deny
|   |-- devices.list
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
|-- freezer
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
|-- hugetlb
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- hugetlb.2MB.failcnt
|   |-- hugetlb.2MB.limit_in_bytes
|   |-- hugetlb.2MB.max_usage_in_bytes
|   |-- hugetlb.2MB.usage_in_bytes
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
|-- memory
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- memory.failcnt
|   |-- memory.force_empty
|   |-- memory.kmem.failcnt
|   |-- memory.kmem.limit_in_bytes
|   |-- memory.kmem.max_usage_in_bytes
|   |-- memory.kmem.slabinfo
|   |-- memory.kmem.tcp.failcnt
|   |-- memory.kmem.tcp.limit_in_bytes
|   |-- memory.kmem.tcp.max_usage_in_bytes
|   |-- memory.kmem.tcp.usage_in_bytes
|   |-- memory.kmem.usage_in_bytes
|   |-- memory.limit_in_bytes
|   |-- memory.max_usage_in_bytes
|   |-- memory.memsw.failcnt
|   |-- memory.memsw.limit_in_bytes
|   |-- memory.memsw.max_usage_in_bytes
|   |-- memory.memsw.usage_in_bytes
|   |-- memory.move_charge_at_immigrate
|   |-- memory.numa_stat
|   |-- memory.oom_control
|   |-- memory.pressure_level
|   |-- memory.soft_limit_in_bytes
|   |-- memory.stat
|   |-- memory.swappiness
|   |-- memory.usage_in_bytes
|   |-- memory.use_hierarchy
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
|-- perf_event
|   |-- cgroup.clone_children
|   |-- cgroup.event_control
|   |-- cgroup.procs
|   |-- cgroup.sane_behavior
|   |-- notify_on_release
|   |-- release_agent
|   `-- tasks
`-- systemd
    |-- cgroup.clone_children
    |-- cgroup.event_control
    |-- cgroup.procs
    |-- cgroup.sane_behavior
    |-- notify_on_release
    |-- release_agent
    |-- system.slice
    |   |-- boot-efi.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- cgroup.clone_children
    |   |-- cgroup.event_control
    |   |-- cgroup.procs
    |   |-- dbus.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dbus.socket
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-disk-by\x2did-ata\x2dLITEONIT_LCM\x2d256M3S_2.5__7mm_256GB_TW0WKJR2550852C52519\x2dpart2.swap
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-disk-by\x2did-wwn\x2d0x5000000000000000\x2dpart2.swap
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-disk-by\x2dpartlabel-primary.swap
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-disk-by\x2dpartuuid-546afbec\x2d8808\x2d43eb\x2d99a4\x2d3276a55a00b5.swap
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-disk-by\x2duuid-f84bbe9d\x2d9361\x2d47e4\x2d8c2c\x2d06268bb7099e.swap
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-hugepages.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-mqueue.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- dev-sda2.swap
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- kdm.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- -.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- NetworkManager.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- notify_on_release
    |   |-- polkit.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- sys-fs-fuse-connections.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- sys-kernel-debug.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- systemd-ask-password-wall.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- systemd-journald.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- systemd-logind.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- systemd-udevd.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- systemd-user-sessions.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- system-getty.slice
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- system-systemd\x2dfsck.slice
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- tasks
    |   |-- tmp.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- udisks2.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- upower.service
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- var-lock.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   |-- var-run.mount
    |   |   |-- cgroup.clone_children
    |   |   |-- cgroup.event_control
    |   |   |-- cgroup.procs
    |   |   |-- notify_on_release
    |   |   `-- tasks
    |   `-- wpa_supplicant.service
    |       |-- cgroup.clone_children
    |       |-- cgroup.event_control
    |       |-- cgroup.procs
    |       |-- notify_on_release
    |       `-- tasks
    |-- tasks
    `-- user.slice
        |-- cgroup.clone_children
        |-- cgroup.event_control
        |-- cgroup.procs
        |-- notify_on_release
        |-- tasks
        `-- user-1000.slice
            |-- cgroup.clone_children
            |-- cgroup.event_control
            |-- cgroup.procs
            |-- notify_on_release
            |-- session-c1.scope
            |   |-- cgroup.clone_children
            |   |-- cgroup.event_control
            |   |-- cgroup.procs
            |   |-- notify_on_release
            |   `-- tasks
            |-- tasks
            `-- user@1000.service
                |-- cgroup.clone_children
                |-- cgroup.event_control
                |-- cgroup.procs
                |-- notify_on_release
                `-- tasks

46 directories, 308 files


Is there anything to configure for cgroups with systemd? or logind for that matter?
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 211
Location: AU

PostPosted: Mon Feb 10, 2014 4:11 am    Post subject: Reply with quote

I had to return the loaner machine, so now I have no idea, sorry.
My machine is built using openrc without any systemd stuff.
Hopefully someone else who is running systemd may have some ideas.
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Tue Feb 11, 2014 4:37 pm    Post subject: Reply with quote

And that is what happens when you keep the "-systemd" flag for dbus in package.use.
I read the wiki too quickly and didn't realise it was only for the first dbus install.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum