:: Re: [DNG] Unknown username "polkitd…
Góra strony
Delete this message
Reply to this message
Autor: Arnt Karlsen
Data:  
Dla: dng
Temat: Re: [DNG] Unknown username "polkitd" in message bus configuration file
On Wed, 10 Jul 2024 15:13:37 -0400, Ken wrote in message
<8ed348cf-4563-4159-a7ba-f6ef03dca820@???>:

> On 7/10/24 12:13, Arnt Karlsen wrote:
> > On Wed, 10 Jul 2024 06:46:05 -0400, Ken wrote in message
> > <89977d5f-ed09-44c0-a84f-521fb92c63a2@???>:
> >
> >> On 7/9/24 21:31, Ralph Ronnquist via Dng wrote:
> >>> grep polkitd -r /usr/share/dbus-1 /etc/dbus-1
> >> kdibble@anna:~$ grep polkitd -r /usr/share/dbus-1 /etc/dbus-1
> > ..expand this with e.g. ' grep -C3 polkitd -r /usr/share/dbus-1 \
> > /etc/dbus-1 ' to see more context.
>
> grep -C3 polkitd -r /usr/share/dbus-1 \
> /etc/dbus-1
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf-
> "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf-
> "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf-<busconfig>
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf: <policy
> user="polkitd">
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf- <allow
> own="org.freedesktop.PolicyKit1"/>
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf- </policy>
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf-
> --
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf- </policy>
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf-
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf- <!--
> Allow uid 0 to send messages on the
> org.freedesktop.PolicyKit1.AuthenticationAgent interface -->
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf: <policy
> user="polkitd">
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf- <allow
> send_interface="org.freedesktop.PolicyKit1.AuthenticationAgent"/>
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf- </policy>
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf-
> --
> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service-[D-BUS
> Service]
> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service-Name=org.freedesktop.PolicyKit1
> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service:Exec=/usr/lib/polkit-1/polkitd
> --no-debug
> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service-User=root
> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service-SystemdService=polkit.service
>
>
> >> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf:
> >> <policy user="polkitd">
> >> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf:
> >> <policy user="polkitd">
> >> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service:Exec=/usr/lib/polkit-1/polkitd
> >> --no-debug
> > ..the results above are easily worth a 'dpkg -S $grep-result '
> > to learn more about which more new work we have ahead...
> >
> I am sure that I do not understand.


..by "$grep-result" I meant the files your grep command outputs.

> Here is my best attempt at understanding.
>
> If you would be kind enough to give me more specific instructions.
>
> $dpkg -S PolicyKit1
> polkitd: /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
> polkitd:
> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
>
> $dpkg -S freedesktop | grep polkit


..yep, you lost me _right_ there. ;o)
"dpkg -S weird-file-name-to-investigate " should tell you
_if_ that file you investigate, belongs to a package known
by dpkg (and possibly apt), and in that that case,
_which_ package that file belongs in.

..did you create a file named "freedesktop"?????

> polkitd: /usr/share/polkit-1/actions/org.freedesktop.policykit.policy
> udisks2: /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy
> geoclue-2.0:
> /var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.GeoClue2.pkla
> packagekit:
> /var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.packagekit.pkla
> packagekit:
> /usr/share/polkit-1/actions/org.freedesktop.packagekit.policy colord:
> /usr/share/polkit-1/actions/org.freedesktop.color.policy polkitd:
> /usr/share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
> packagekit:
> /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules
> modemmanager:
> /usr/share/polkit-1/actions/org.freedesktop.ModemManager1.policy
> elogind: /usr/share/polkit-1/actions/org.freedesktop.login1.policy
> polkitd:
> /usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
> geoclue-2.0:
> /usr/share/polkit-1/rules.d/org.freedesktop.GeoClue2.rules
>
>
> In general everything works, I am just trying to save errors in log
> files for myself and everyone else.


..log remotely, on your own log server. Cranked up properly,
remote logging will help prevent and diagnose a lot of bad
shit exactly because you have the logs on your own log server.

--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.