Public bug reported:

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:[/usr/lib/pm-utils/sleep.d] ls -l
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-kernel-video
-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
PackageArchitecture: all
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

** Affects: pm-utils (Ubuntu)
     Importance: Undecided
     Assignee: Andy Whitcroft (apw)
         Status: New


** Tags: apport-bug

-- 
000record script is non-functional
https://bugs.launchpad.net/bugs/318267
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to