[systemd-devel] KillUserProcesses timeout
Mikhail Morfikov
mmorfikov at gmail.com
Mon Jan 26 19:28:34 PST 2015
> Hmm, not sure I follow.
>
It only happens if I'm logged in as root in tmux.
> The session is shown as closing, that's good. Can you check what
> "systemctl status" reports on the scope unit if this hang happens?
>
> Lennart
>
I'm not sure if I did the right thing, but there it is.
After logout:
● user-1000.slice
Loaded: loaded
Active: active since Tue 2015-01-27 04:13:31 CET; 8min ago
CGroup: /user.slice/user-1000.slice
├─session-7.scope
│ ├─32562 gpg-agent -s --enable-ssh-support --daemon --write-env-file /home/morfik/.gpg-agent-info
│ ├─32692 tmux attach-session -t logi
│ ├─32696 bash -c cat /dev/logi | ccze -m ansi -p syslog -C
│ ├─32697 -bash
│ ├─32698 newsbeuter
│ ├─32702 cat /dev/logi
│ ├─32703 ccze -m ansi -p syslog -C
│ ├─34376 su -
│ └─34393 -su
└─user at 1000.service
├─32466 /lib/systemd/systemd --user
└─32467 (sd-pam)
Jan 27 04:13:31 morfikownia systemd[1]: Starting user-1000.slice.
Jan 27 04:13:31 morfikownia systemd[1]: Created slice user-1000.slice.
Jan 27 04:13:31 morfikownia systemd[32466]: pam_unix(systemd-user:session): session opened for user morfik by (uid=0)
Jan 27 04:22:07 morfikownia login[32428]: pam_unix(login:session): session closed for user morfik
And here's when the processes are dead:
● user-1000.slice
Loaded: loaded
Active: inactive (dead)
Jan 27 04:12:40 morfikownia systemd[31361]: pam_unix(systemd-user:session): session opened for user morfik by (uid=0)
Jan 27 04:12:58 morfikownia login[31352]: pam_unix(login:session): session closed for user morfik
Jan 27 04:13:18 morfikownia systemd[1]: Stopping user-1000.slice.
Jan 27 04:13:18 morfikownia systemd[1]: Removed slice user-1000.slice.
Jan 27 04:13:31 morfikownia systemd[1]: Starting user-1000.slice.
Jan 27 04:13:31 morfikownia systemd[1]: Created slice user-1000.slice.
Jan 27 04:13:31 morfikownia systemd[32466]: pam_unix(systemd-user:session): session opened for user morfik by (uid=0)
Jan 27 04:22:07 morfikownia login[32428]: pam_unix(login:session): session closed for user morfik
Jan 27 04:22:27 morfikownia systemd[1]: Stopping user-1000.slice.
Jan 27 04:22:27 morfikownia systemd[1]: Removed slice user-1000.slice.
As you can see, there's 20secs period.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150127/c42656f2/attachment-0001.sig>
More information about the systemd-devel
mailing list