Hello.

DBus activation of systemd units is broken on Fedora 41+ after latest systemd updates. This breaks some applications that rely on these methods.

Trying to use the /org/freedesktop/systemd1/org.freedesktop.systemd1.Manager.StartUnit method throws an error "Interactive authentication required".

However, a Polkit window should appear asking for the user's password, just like when using "systemctl start unit.service" (without sudo).

Steps to reproduce:
sudo systemctl stop tuned.service
dbus-send --system --print-reply --dest=org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager.StartUnit string:tuned.service string:replace

RHBZ issue: https://bugzilla.redhat.com/show_bug.cgi?id=2356051

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)

--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to