000record script is non-functional
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pm-utils (Ubuntu) |
Fix Released
|
Undecided
|
Andy Whitcroft |
Bug Description
Binary package hint: pm-utils
The 000record script which is installed by pm-utils 1.2.2.1-0ubuntu2 is never actually run because its permissions are incorrect:
perseus:
total 76
-rw-r--r-- 1 root root 232 2009-01-17 20:04 000record
-rwxr-xr-x 1 root root 2425 2009-01-14 04:18 00auto-quirk
-rwxr-xr-x 1 root root 274 2009-01-14 04:18 00logging
-rwxr-xr-x 1 root root 203 2009-01-14 04:18 00powersave
-rwxr-xr-x 1 root root 521 2009-01-13 06:02 01PulseAudio
-rwxr-xr-x 1 root root 361 2009-01-09 12:16 48hid2hci
-rwxr-xr-x 1 root root 664 2009-01-14 04:18 49bluetooth
-rwxr-xr-x 1 root root 447 2009-01-14 04:18 50ntpd
-rwxr-xr-x 1 root root 1029 2009-01-14 04:18 55NetworkManager
-rwxr-xr-x 1 root root 335 2009-01-14 04:18 75modules
-rwxr-xr-x 1 root root 391 2009-01-14 04:18 90chvt
-rwxr-xr-x 1 root root 419 2009-01-14 04:18 90clock
-rwxr-xr-x 1 root root 1098 2009-01-14 04:18 94cpufreq
-rwxr-xr-x 1 root root 788 2008-09-03 00:38 95anacron
-rwxr-xr-x 1 root root 297 2009-01-14 04:18 95led
-rwxr-xr-x 1 root root 341 2008-10-24 07:40 96laptop-mode
-rwxr-xr-x 1 root root 2286 2009-01-14 04:18 98smart-
-rwxr-xr-x 1 root root 5629 2009-01-14 04:18 99video
I tested this by commenting out the "rm -f" line and confirming that the file was never written to /var/lib/pm-utils.
I've attached a patch to fix this.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: pm-utils 1.2.2.1-0ubuntu2
PackageArchitec
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: pm-utils
Uname: Linux 2.6.28-4-generic x86_64
Related branches
Changed in pm-utils: | |
status: | New → In Progress |
This bug was fixed in the package pm-utils - 1.2.2.1-0ubuntu3
---------------
pm-utils (1.2.2.1-0ubuntu3) jaunty; urgency=low
* debian/rules: Make 000record script executable, thanks Matt
Zimmerman! (LP: #318267)
-- Martin Pitt <email address hidden> Mon, 19 Jan 2009 09:40:32 +0100