On Thu, 7 May 2020 at 21:48, Mark Bannister <mbannister@xxxxxxxxxxxxxx> wrote: > I wasn't sure how to follow your exact steps because I wasn't clear > when you wrote session-N.scope whether I was expected to replace N > with a number and if so where that number comes from? Please confirm. The 'N' in session-N.scope is replaced by the active session ID, the N is what you see in loginctl under the SESSION column for your user. For example: $ loginctl SESSION UID USER SEAT TTY 75 1000 kkd seat0 tty2 1 sessions listed. Here, my session scope is session-75.scope. However, there may be multiple sessions, so the best way to find out on CentOS is doing cat /proc/self/cgroup, you will see something like "0::/user.slice/user-1000.slice/session-75.scope", the scope unit name is present there. `loginctl user-status` should list the active session with an asterisk (*) in the Sessions: field. You can also use: $ busctl get-property org.freedesktop.login1 /org/freedesktop/login1/session/self org.freedesktop.login1.Session Id which returns: s "75". If you are able to reproduce this on 219-67, please also attach the output of: systemctl show session-N.scope where 'N' is your session ID. -- Kartikeya _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel