[systemd-devel] Stop Job for User Manager
Reindl Harald
h.reindl at thelounge.net
Thu Oct 23 08:41:13 PDT 2014
Am 23.10.2014 um 17:38 schrieb Chris Bell:
> It looks like Fedora recently implemented changes in the user at .service
> unit file to address this issue. They use:
>
> ExecStop=/bin/kill -TERM ${MAINPID}
> KillSignal=SIGCONT
fine, but it don't help really
i have exactly that setting on F20 and some machines just hang
that below is a system-session triggered by SSHD with openssh-chroot in
combination with pam-mysql - obviously the user-manager inherits the
sshd-chroot and so can't call the kill command
[root at sftp:~]$ ps aux | grep 29657
**** 29657 0.0 0.4 46580 4288 ? Ss Okt17 0:00
/usr/lib/systemd/systemd --user
root 31532 0.0 0.2 112684 2160 pts/0 S<+ 16:51 0:00
/usr/bin/grep --color 29657
[root at sftp:~]$ kill 29657
[root at sftp:~]$ cat messages
Oct 22 16:51:48 sftp systemd: Failed at step CHDIR spawning
/usr/bin/kill: No such file or directory
Oct 22 16:51:48 sftp systemd: systemd-exit.service: main process exited,
code=exited, status=200/CHDIR
Oct 22 16:51:48 sftp systemd: Failed to start Exit the Session.
Oct 22 16:51:48 sftp systemd: Dependency failed for Exit the Session.
Oct 22 16:51:48 sftp systemd:
Oct 22 16:51:48 sftp systemd: Unit systemd-exit.service entered failed state
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141023/fa061763/attachment.sig>
More information about the systemd-devel
mailing list