Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2021 17:29:14 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        =?UTF-8?Q?Gerrit_K=c3=bchn?= <gerrit.kuehn@aei.mpg.de>
Cc:        freebsd-xfce@freebsd.org
Subject:   Re: polkit not running after update
Message-ID:  <5ad02a82-e17e-0399-8c92-b8590beef1cf@madpilot.net>
In-Reply-To: <20210126162117.076bae4e@arc.aei.uni-hannover.de>
References:  <20210118112011.70fa6542@arc.aei.uni-hannover.de> <f2577bf3-8690-0a54-789f-97f37514166a@madpilot.net> <20210118115818.400403af@arc.aei.uni-hannover.de> <21641b51-cd84-9ed6-6d0c-371efbc0b896@madpilot.net> <20210118124434.49a1384d@arc.aei.uni-hannover.de> <17139905-fccb-e22a-7643-32fb15c2215b@madpilot.net> <20210126162117.076bae4e@arc.aei.uni-hannover.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/01/21 16:21, Gerrit Kühn wrote:
> Am Mon, 18 Jan 2021 15:33:44 +0100
> schrieb Guido Falsi <mad@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@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ad02a82-e17e-0399-8c92-b8590beef1cf>