[systemd-devel] KillUserProcesses timeout

Mikhail Morfikov mmorfikov at gmail.com
Fri Apr 24 11:54:53 PDT 2015


On Fri, 24 Apr 2015 19:04:53 +0200
Lennart Poettering <lennart at poettering.net> wrote:

> 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
> 
Yep, that's the problem, but after 10-20 secs (I don't remember exactly)
the session will be closed, and the question was: is there a way to
make it faster, I mean without the delay so it would be closed just
after the user logged off.
-------------- 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/20150424/2e492fdc/attachment.sig>


More information about the systemd-devel mailing list