]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/dbus-manager: propagate meaningful dbus errors from EnqueueMarkedJobs
authorFranck Bui <fbui@suse.com>
Wed, 14 Jan 2026 09:40:46 +0000 (10:40 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Jan 2026 13:36:40 +0000 (14:36 +0100)
commit502d6f4bc9b96009627f923dcc0ab53e5a181d78
treeb8837528b2e8afa2957d445b7d9d4b31c2af15bc
parentf9a3f729ac35cda33586ef4d44169a7a1cfc398d
core/dbus-manager: propagate meaningful dbus errors from EnqueueMarkedJobs

Previously, when `systemctl reload-or-restart --marked` failed the following
error was shown:

  Failed to start jobs: Failed to enqueue some jobs, see logs for details: Invalid argument

but no details were actually logged.

This change records failure reasons in the journal to help users identify root causes:

  # journalctl -b -e
  [...]
  systemd[1]: Queuing reload/restart jobs for marked units…
  systemd[1]: Operation refused, unit klogd.service may be requested by dependency only (it is configured to refuse manual start/stop).
src/core/dbus-manager.c