Open zimonth opened 9 years ago
Looks like that can't be bypassed: https://pagure.io/usermode/blob/a501560b8f25e9ddc1a3213a1f865564e5a9a34c/f/userhelper.c#_1943
syslog(LOG_NOTICE, "running '%s' with "
"root privileges on behalf of '%s'",
cmdline, user);
or latest version: https://pagure.io/usermode/blob/abcbbeda420e09aeb476359e79aad9e543ad6397/f/userhelper.c#_2130
What I had to do was to:
/usr/sbin/hddtemp
like this:
sudo chmod u+s /usr/sbin/hddtemp
/usr/bin/hddtemp
(note: not sbin
) which pointed to consolehelper
, to point to /usr/sbin/hddtemp
, like this:
sudo ln -sf /usr/sbin/hddtemp /usr/bin/hddtemp
In Fedora 20, I installed this gnome-shell-extension-sensors. It is working ok otherwise, but system log is flooded every 15 seconds with these: " Jan 03 18:47:57 localhost userhelper[4048]: running '/usr/sbin/hddtemp' with root privileges on behalf of 'luser' Jan 03 18:48:12 localhost userhelper[4060]: running '/usr/sbin/hddtemp' with root privileges on behalf of 'luser' Jan 03 18:48:27 localhost userhelper[4066]: running '/usr/sbin/hddtemp' with root privileges on behalf of 'luser' Jan 03 18:48:42 localhost userhelper[4076]: running '/usr/sbin/hddtemp' with root privileges on behalf of 'luser' "
I tried to disable "Display drive temperate" in the sensors applet settings, but it did not help.
Also the system does have udisks and udisks2 packages installed, so I'd assume it would not even use hddtemp when it can use D-bus interface to udisks?
See also: http://forums.fedoraforum.org/showthread.php?p=1719684