Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: markacole on May 05, 2020, 10:03:01 AM

Title: (pkttyagent:30031): WARNING
Post by: markacole on May 05, 2020, 10:03:01 AM
Hello All, anyone seen this error or have a fix ? only got this happening since the last round of updates. happens when i SSH into the machine.

** (pkttyagent:30031): WARNING **: 19:58:25.548: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)

thanks in advance.
Title: Re: (pkttyagent:30031): WARNING
Post by: rcschaff on May 05, 2020, 12:51:22 PM
Literally everyone is seeing this.  It doesn't seem to be having adverse reactions.  Most solutions online point to a way to ignore it.  Nothing cwp can do as it's a centos issue, not a panel issue.
Title: Re: (pkttyagent:30031): WARNING
Post by: luis web on May 06, 2020, 11:36:11 AM
Test with this code to see if it works with error..

[root@image1 ~]# systemctl status polkit
polkit.service - Authorization Manager
          Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
          Active: inactive (dead)
            Docs: man:polkit(8)
          CGroup: name=systemd:/system/polkit.service

[root@image1 ~]#
[root@image1 ~]# journalctl -b | grep polkit
[root@image1 ~]# cat /etc/shadow | grep pol
polkitd:!:15648:0:99999:7:::
[root@image1 ~]#
[root@image1 ~]# cat /etc/passwd | grep polk
polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
[root@image1 ~]#

https://bbs.archlinux.org/viewtopic.php?id=154628



I have the same error but I won't do anything until I'm sure ..
Because my have no experience with linux
Title: Re: (pkttyagent:30031): WARNING
Post by: cynique on May 06, 2020, 12:50:24 PM
Literally everyone is seeing this.  It doesn't seem to be having adverse reactions.  Most solutions online point to a way to ignore it.  Nothing cwp can do as it's a centos issue, not a panel issue.

Code: [Select]
systemctl status polkit
● polkit.service - Authorization Manager
   Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: enabled)
   Active: active (running) since Sat 2020-03-21 23:10:02 AEDT; 1 months 15 days ago
     Docs: man:polkit(8)
 Main PID: 540 (polkitd)
   CGroup: /system.slice/polkit.service
           └─540 /usr/lib/polkit-1/polkitd --no-debug

Code: [Select]
systemctl status polkit
● polkit.service - Authorization Manager
   Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: enabled)
   Active: active (running) since Mon 2020-05-04 09:23:30 EDT; 1 day 23h ago
     Docs: man:polkit(8)
 Main PID: 653 (polkitd)
   Memory: 8.6M
   CGroup: /system.slice/polkit.service
           └─653 /usr/lib/polkit-1/polkitd --no-debug

May 04 09:23:30 ny.xxxserver.com systemd[1]: Starting Authorization Manager...
May 04 09:23:30 ny.xxxserver.com polkitd[653]: Started polkitd version 0.112
May 04 09:23:30 ny.xxxserver.com polkitd[653]: Loading rules from directory /etc/polkit-1/rules.d
May 04 09:23:30 ny.xxxserver.com polkitd[653]: Loading rules from directory /usr/share/polkit-1/rules.d
May 04 09:23:30 ny.xxxserver.com polkitd[653]: Finished loading, compiling and executing 2 rules
May 04 09:23:30 ny.xxxserver.com systemd[1]: Started Authorization Manager.
May 04 09:23:30 ny.xxxserver.com polkitd[653]: Acquired the name org.freedesktop.PolicyKit1 on the system bus

Code: [Select]
mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime,hidepid=2)
Title: Re: (pkttyagent:30031): WARNING
Post by: Sandeep on May 07, 2020, 10:49:44 AM
disable secure processes from admin >> security if you want to get rid of this message
Title: Re: (pkttyagent:30031): WARNING
Post by: evansa on May 13, 2020, 12:19:10 PM
Also you can use below article for resolution
https://opentechy.com/how-to-fix-gdbus-errororg-freedesktop-policykit1-error-failed/