]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: log a more accurate error when we failed at session creation
authorFranck Bui <fbui@suse.com>
Tue, 17 Mar 2020 17:30:58 +0000 (18:30 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 Mar 2020 08:22:43 +0000 (09:22 +0100)
commitb39648ed47065202b343d1d4bde3232d81fdfecc
tree408bd7f3ab7fee0854c1ef104a1ec6bce25f1bb8
parent677ceb0c2f4243d86f27b9629050f3805bf7bfd6
logind: log a more accurate error when we failed at session creation

We used to log the following error:

  "Start job for unit user-1000.slice failed with 'canceled'"

which can be really misleading if the actual job failed at *stopping* a unit.

Indeed "Start" was hard coded but it was wrong since we can also fail with stop
jobs which are enqueued when a session is stopped.
src/login/logind-dbus.c