2 Commits
Author SHA1 Message Date
dualfroz f026dad658 Describe this repository 2026-10-22 21:07:50 +02:00
dualfroz 76c86c34d6 Only use the user unit for pane scope dependencies
Pane scopes are created in the user manager, but when the server is not
in a user unit, for example when it was started from a login session's
session-N.scope, sd_pid_get_unit() returned that system unit and it was
set as Before and PartOf of the pane scope. The user manager cannot see
system units, so this only leaves a reference to a missing unit.

Set the dependencies only when sd_pid_get_user_unit() finds a unit.
GitHub issue 5741.
2026-10-17 03:22:03 +02:00