You are not logged in.

#1 2015-09-22 12:53:51

jpjenkins
Member
Registered: 2014-03-24
Posts: 104

org.freedesktop.policykit1 was not provided by any .service files

When I try to use wifi-menu to connect to a network this is the error message that shows up .

I've checked my logs and there just appears to be corresponding conflicts, dhcp lease expired, timed out (after .service error thing shown).

I've done a search through the forums and came across this:

ataraxia wrote:

Generally this means that DBus policy isn't allowing polkitd to own its proper bus name. I saw this recently when I tried Tom G's polkit 0.107. What happened in that case is that since a DBus policy file was changed, DBus noticed and immediately reloaded its config. However, that new polkit has its own user and group, which are referenced in that policy, but hadn't actually been created yet, as it's done by a post_install script on the polkit package. So DBus failed to parse the config properly, as it couldn't find the user the file referenced, and therefore didn't recognize it when polkitd tried to connect using it.

I saw messages like this in my logs:

Aug 07 18:53:54 amaranth dbus[357]: [system] Reloaded configuration
Aug 07 18:53:54 amaranth dbus-daemon[357]: Unknown username "polkitd" in message bus configuration file

The solution was just to tell DBus to reload the config again, manually, once the user was there.

I also saw the same error once when I somehow managed to deleted or break permissions (I forget which) on polkit's own config files.

But I don't know how to reload a dbus config.

I have policykit installed and have since reinstalled it with no luck.

Searching on google, a few people have had similar problems, this is the solution that has been spreading around:

I just had the same return when installing deluged on arch, I typed:

systemctl start deluged
I tried with sudo and it worked fine. Seems to be a group permissions issue.

All I did was enable permissions for my user account and then typed:

sudo systemctl start deluged
worked like a charm... hope this helps!

When I type this in, the original error message appears along with 'deluged.service failed to load: no such file or directory'.

I don't know what he means by 'enable permissions for my user account'. Plus, I'm currently running it as root and don't even have sudo installed yet. Everything was working okay until I suddenly had a hardware block through rfkill. I fixed that and now I get this message!

Hopefully someone can give me a solution soon. Thanks guys smile

Offline

#2 2015-09-22 13:05:57

jpjenkins
Member
Registered: 2014-03-24
Posts: 104

Re: org.freedesktop.policykit1 was not provided by any .service files

Logs from journalctl also, do you see anything?

Sep 22 14:44:07 localhost systemd[1]: Stopping Networking for netctl profile wlan0-GUM13...
Sep 22 14:44:07 localhost network[1454]: Stopping network profile 'wlan0-GUM13'...
Sep 22 14:44:07 localhost dhcpcd[1459]: sending signal TERM to pid 1359
Sep 22 14:44:07 localhost dhcpcd[1459]: waiting for pid 1359 to exit
Sep 22 14:44:07 localhost dhcpcd[1359]: received SIGTERM, stopping
Sep 22 14:44:07 localhost dhcpcd[1359]: wlan0: removing interface
Sep 22 14:44:07 localhost dhcpcd[1359]: dhcpcd exited
Sep 22 14:44:08 localhost kernel: wlan0: deauthenticating from e0:91:f5:43:b0:a5 by local choice (Reason: 3=DEAUTH_LEAVING)
Sep 22 14:44:08 localhost kernel: cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
Sep 22 14:44:08 localhost network[1454]: Stopped network profile 'wlan0-GUM13'
Sep 22 14:44:08 localhost systemd[1]: Stopped Networking for netctl profile wlan0-GUM13.
Sep 22 14:44:08 localhost systemd[1]: Starting Networking for netctl profile wlan0-GUM13...
Sep 22 14:44:08 localhost network[1483]: Starting network profile 'wlan0-GUM13'...
Sep 22 14:44:08 localhost kernel: b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Sep 22 14:44:13 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep 22 14:44:14 localhost kernel: wlan0: authenticate with e0:91:f5:43:b0:a5
Sep 22 14:44:14 localhost kernel: wlan0: send auth to e0:91:f5:43:b0:a5 (try 1/3)
Sep 22 14:44:14 localhost kernel: wlan0: authenticated
Sep 22 14:44:14 localhost kernel: wlan0: associate with e0:91:f5:43:b0:a5 (try 1/3)
Sep 22 14:44:14 localhost kernel: wlan0: associate with e0:91:f5:43:b0:a5 (try 2/3)
Sep 22 14:44:14 localhost kernel: wlan0: RX AssocResp from e0:91:f5:43:b0:a5 (capab=0x411 status=0 aid=2)
Sep 22 14:44:14 localhost kernel: wlan0: associated
Sep 22 14:44:14 localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sep 22 14:44:18 localhost dhcpcd[1640]: DUID 00:01:00:01:1d:93:30:ee:78:e4:00:80:96:59
Sep 22 14:44:18 localhost dhcpcd[1640]: wlan0: IAID 00:80:96:59
Sep 22 14:44:18 localhost dhcpcd[1640]: wlan0: rebinding lease of 192.168.0.21
Sep 22 14:44:23 localhost dhcpcd[1640]: wlan0: DHCP lease expired
Sep 22 14:44:23 localhost dhcpcd[1640]: wlan0: soliciting a DHCP lease
Sep 22 14:44:23 localhost dhcpcd[1640]: wlan0: offered 192.168.0.21 from 192.168.0.1
Sep 22 14:44:48 localhost dhcpcd[1640]: timed out
Sep 22 14:44:48 localhost dhcpcd[1640]: dhcpcd exited
Sep 22 14:44:48 localhost network[1483]: DHCP IPv4 lease attempt failed on interface 'wlan0'
Sep 22 14:44:48 localhost kernel: wlan0: deauthenticating from e0:91:f5:43:b0:a5 by local choice (Reason: 3=DEAUTH_LEAVING)
Sep 22 14:44:48 localhost kernel: cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
Sep 22 14:44:48 localhost network[1483]: Failed to bring the network up for profile 'wlan0-GUM13'
Sep 22 14:44:48 localhost systemd[1]: netctl@wlan0\x2dGUM13.service: Main process exited, code=exited, status=1/FAILURE
Sep 22 14:44:48 localhost systemd[1]: Failed to start Networking for netctl profile wlan0-GUM13.
Sep 22 14:44:48 localhost systemd[1]: netctl@wlan0\x2dGUM13.service: Unit entered failed state.
Sep 22 14:44:48 localhost systemd[1]: netctl@wlan0\x2dGUM13.service: Failed with result 'exit-code'.

Offline

Board footer

Powered by FluxBB