hal-system-power-hibernate-linux has wrong path for uswsusp

Bug #84652 reported by Paul Betts
4
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: hal

in /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux, the script has the wrong path coded for uswsusp ('/usr/sbin/s2disk') instead of '/sbin/s2disk'); this causes it to never be called. What would be even better (and should be applied upstream) is if this script just used 'which' to find the file although this might have security implications.

Related branches

Revision history for this message
Martin Pitt (pitti) wrote :

Security-wise this is fine since those script have a trusted $PATH.

Changed in hal:
assignee: nobody → pitti
importance: Undecided → Medium
status: Unconfirmed → In Progress
Martin Pitt (pitti)
Changed in hal:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 hal (0.5.8.1-4ubuntu8) feisty; urgency=low
 .
   * Add debian/patches/61_addon_cpufreq_crash.patch: Fix crash in the cpufreq
     addon. (LP: #85717)
   * debian/hal.init.dbus: Use actual init script path in usage help, not
     hardcoded /etc/init.d/hal (since it is actually in /etc/dbus/event.d).
     (LP: #84642)
   * debian/patches/02_powerscripts.patch: Fix path to s2disk/s2ram.
     (LP: #84652)
   * debian/patches/30-mp3-player-fdi.patch: Add missing audio_folders
     attribute to Sony Ericsson k750i FDI. (LP: #84924)

Changed in hal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.