polkit not running after update

Guido Falsi mad at madpilot.net
Tue Jan 26 16:29:19 UTC 2021


On 26/01/21 16:21, Gerrit Kühn wrote:
> Am Mon, 18 Jan 2021 15:33:44 +0100
> schrieb Guido Falsi <mad at madpilot.net>:
> 
>>>> Especially the file
>>>> /usr/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf, is it
>>>> unmodified from what the port installs? There should be a .sample file
>>>> you can try a diff from.
> 
>>> The file isn't there at all, it is simply missing (for whatever
>>> reason). Even reinstalling polkit before obiously didn't produce it.
>>> Anyway, now I just copied over the .sample file manually, restarted...
>>> and everything is working again as expected.
> 
>> Sometimes wild guesses do reach the point!
> 
> After pondering about this a bit more, I found the following note when
> reinstalling polkit once more:
> 
> ---
> [1/1] Extracting polkit-0.118: 100%
> You may need to manually remove
> /usr/local/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf if it is no
> longer needed.
> ---
> 
> And indeed, the file is gone again. So the state of the system above was
> as designed (whithout the file), but it didn't work for me. So something's
> fishy here. Either the system should work without the file, or the message
> is wrong.
> 
> 

That message is a standard message from pkg about configuration files. 
Any file marked as a configuration file in the port will trigger that 
message when the port is removed (upgrading entails removing the port 
and reinstalling).

pkg should leave the file there and only modify the .sample one on 
upgrade. It simply informs you you can remove configuration files for 
software you no longer use.

Don't know why you end up missing the file. It should definitely be 
there and is needed as long as you use polkit.

-- 
Guido Falsi <mad at madpilot.net>


More information about the freebsd-xfce mailing list