[systemd-devel] Stop Job for User Manager

Reindl Harald h.reindl at thelounge.net
Wed Oct 22 13:01:41 PDT 2014



Am 22.10.2014 um 18:31 schrieb Andrei Borzenkov:
> В Wed, 22 Oct 2014 16:54:45 +0200
> Reindl Harald <h.reindl at thelounge.net> пишет:
>> [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
>
> This sounds like exactly the same problem that was supposed to be fixed
> with 58ea275a68cd242ad60161bcb7582614d1d89f13. Could you check KillMode
> of user at .service?

ExecStop=/bin/kill -TERM ${MAINPID} 

KillSignal=SIGCONT 

Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket 

Slice=user-%i.slice

frankly i would be happy to get rid of all the user-session stuff on 
headless machines which did not exist all the years before 
(sftp-sessions, cron-jobs and so on....)

it solves no problem on any of my headless servers and only introduces 
new ones from hanging shutdown to flooding logs

>> 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/20141022/70e62a5a/attachment.sig>


More information about the systemd-devel mailing list