[Goodies-dev] [Bug 3270] New: xfce4-sensors-0.10.0 expects hddtemp in $PATH

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed May 23 10:20:45 CEST 2007


DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3270

           Summary: xfce4-sensors-0.10.0 expects hddtemp in $PATH
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: sensors
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: drac at gentoo.org


hddtemp is installed in /usr/sbin/hddtemp in Gentoo, and I assume that'd be
case for other distributions too. It's also installed without suidbit for
security reasons. However, panel-plugin/sensors.c simply tries command hddtemp
and expects it to be suidroot. Some suggestions..

- hddtemp binary location should be configurable from preferences.
- it should print a fat warning it's not suid root and thus it won't work.

but of course real solution..

- sensors should make use of hddtempd daemon which doesn't require root
privileges and doesn't expose system to potential security race.


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Goodies-dev mailing list