[systemd-devel] KillUserProcesses timeout
Lennart Poettering
lennart at poettering.net
Fri Apr 24 10:04:53 PDT 2015
On Tue, 27.01.15 04:28, Mikhail Morfikov (mmorfikov at gmail.com) wrote:
Sorry for the really late reply, still trying to work through piles of
mail.
>
> > 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
This here is probably the issue: you opened a su session from your
session, and that keeps things referenced and open.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list