Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Net-DBus CPAN distribution.

Report information
The Basics
Id: 101369
Status: new
Priority: 0/
Queue: Net-DBus

Owner: Nobody in particular
Requestors: anaselli [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Date: Wed, 7 Jan 2015 11:25:27 +0100
To: bug-Net-DBus [...]
From: "Angelo Naselli" <anaselli [...]>
I have a problem using dbus for services. If i run systemctl start service_name.service dialog asking for password comes up and it seems to work. From the log it seems the action is org.freedesktop.systemd1.manage-units Looking at systemctl code on github I found a line: r = sd_bus_message_set_allow_interactive_authorization(m, arg_ask_password); invoked before sending the action message. So it seems they set they set the "allow interactive authorization" flag before. If I use a perl script invoking dbus api (I used for API explanation, and perl Net::DBus to access to) I got the following exception as result org.freedesktop.DBus.Error.InteractiveAuthorizationRequired: Interactive authentication required That indeed should confirm the need of setting that flag. Any helps how to set that flag? The perl example that starts xinetd (change it accord to your system) is at Thanks Angelo

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to