Hi, I wonder if anyone can help me troubleshoot this issue I'm seeing with
My userid is a member of group 'wheel', but I'm not sure if that's relevant in this case:
Running
There appears to be a valid polkit rule/action configured at /usr/local/share/polkit-1/actions/org.cpu-x-daemon.policy:
I did find this thread about a config issue with
Unfortunately I don't remember if the "Start daemon" GUI button was working correctly before I ran
Could this be a problem running -p3 kernel with -p4 userland?
Thanks very much for your help.
cpu-x
4.5.3, running XFCE 4.18 on 14.0-RELEASE-p3. I installed the cpu-x
binary package 4.5.3_1, and normally pressing the "Start daemon" GUI button should prompt for a password and then start cpu-x-daemon
, located at /usr/local/libexec/cpu-x-daemon. Instead, I get a pop-up message saying "pkexec: authorization could not be obtained (not authorized)" as shown below. As a result the daemon does not start.My userid is a member of group 'wheel', but I'm not sure if that's relevant in this case:
Code:
rasm@t420fbsd:~ $ grep wheel /etc/group
wheel:*:0:root,rasm
Running
pkexec
from the command line, I get "Error reading line from helper" + "AUTHENTICATION FAILED" + "Bus error":
Code:
rasm@t420fbsd:~ $ pkexec /usr/local/libexec/cpu-x-daemon
==== AUTHENTICATING FOR org.cpu-x-daemon ====
Authentication is required to run CPU-X daemon.
Authenticating as: rasm
** (process:91089): WARNING **: 23:02:34.705: Error reading line from helper: nothing to read
==== AUTHENTICATION FAILED ====
Bus error
There appears to be a valid polkit rule/action configured at /usr/local/share/polkit-1/actions/org.cpu-x-daemon.policy:
Code:
rasm@t420fbsd:~ $ pkaction -av org.cpu-x-daemon
org.cpu-x-daemon:
description: Run CPU-X daemon
message: Authentication is required to run CPU-X daemon.
vendor: The CPU-X Project
vendor_url: https://thetumultuousunicornofdarkness.github.io/CPU-X/
icon: cpu-x
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin
annotation: org.freedesktop.policykit.exec.path -> /usr/local/libexec/cpu-x-daemon
rasm@t420fbsd:~ $
rasm@t420fbsd:~ $ ll /usr/local/share/polkit-1/actions/org.cpu-x-daemon.policy
-rw-r--r-- 1 root wheel uarch 793 Feb 6 17:38 /usr/local/share/polkit-1/actions/org.cpu-x-daemon.policy
I did find this thread about a config issue with
polkit
, so I upgraded to package version 124_1 as suggested there but I still see this behavior. I also found this thread with a similar pkexec
"Bus error" to what I'm seeing, suggesting re-installing all packages which I did, with # pkg update && pkg upgrade -f
but no joy.Unfortunately I don't remember if the "Start daemon" GUI button was working correctly before I ran
freebsd-update
:
Code:
rasm@t420fbsd:~ $ freebsd-version -kru
14.0-RELEASE-p3
14.0-RELEASE-p3
14.0-RELEASE-p4
Could this be a problem running -p3 kernel with -p4 userland?
Thanks very much for your help.