Skip to content
Commit b61a575a authored by Franck Bui's avatar Franck Bui Committed by Zbigniew Jędrzejewski-Szmek
Browse files

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.

(cherry picked from commit b39648ed)
(cherry picked from commit 8f0feac2)
(cherry picked from commit 6aae7f59)
parent 6127224e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment