Your message dated Thu, 31 May 2007 06:47:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#426138: fixed in cpufrequtils 002-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cpufrequtils
Version: 002-3
Severity: wishlist
Tags: patch

Now that the loadcpufreq init.d script in most cases load the required
kernel modules automatically at boot time.  it might be an idea to
enable init.d/cpufrequtils by default if the ondemand governor is
available in
/sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors,
instead of asking the sysadmin to enable it.

Something like this in init.d/cpufrequtils might do it:
--- /etc/init.d/cpufrequtils    2007-05-25 14:56:10.000000000 +0200
+++ debian/cpufrequtils.init    2007-05-26 17:59:01.000000000 +0200
@@ -46,10 +46,21 @@

 [ -x $CPUFREQ_SET ] || exit 0

+# First load to update GOVERNOR if set in /etc/default/, to use it
+# when checking caling_available_governors
+if [ -f /etc/default/cpufrequtils ] ; then
+       . /etc/default/cpufrequtils
+fi
+
+for info in /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors ; 
do
+       if [ -f $info ] && grep -q $GOVERNOR $info ; then
+               ENABLE=true
+       fi
+done
+
+# Next load to update ENABLE  if set in /etc/default/
 if [ -f /etc/default/cpufrequtils ] ; then
        . /etc/default/cpufrequtils
-else
-       ENABLE="false"
 fi

 # if not enabled then exit gracefully

It load the file in /etc/default/ twice to check for the wanted
governor and allow the ENABLE variable to be used to disable the
service.

Friendly,
-- 
Petter Reinholdtsen


--- End Message ---
--- Begin Message ---
Source: cpufrequtils
Source-Version: 002-4

We believe that the bug you reported is fixed in the latest version of
cpufrequtils, which is due to be installed in the Debian FTP archive:

cpufrequtils_002-4.diff.gz
  to pool/main/c/cpufrequtils/cpufrequtils_002-4.diff.gz
cpufrequtils_002-4.dsc
  to pool/main/c/cpufrequtils/cpufrequtils_002-4.dsc
cpufrequtils_002-4_i386.deb
  to pool/main/c/cpufrequtils/cpufrequtils_002-4_i386.deb
libcpufreq-dev_002-4_i386.deb
  to pool/main/c/cpufrequtils/libcpufreq-dev_002-4_i386.deb
libcpufreq0_002-4_i386.deb
  to pool/main/c/cpufrequtils/libcpufreq0_002-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Dongili <[EMAIL PROTECTED]> (supplier of updated cpufrequtils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 31 May 2007 00:29:39 +0900
Source: cpufrequtils
Binary: cpufrequtils libcpufreq0 libcpufreq-dev
Architecture: source i386
Version: 002-4
Distribution: unstable
Urgency: low
Maintainer: Mattia Dongili <[EMAIL PROTECTED]>
Changed-By: Mattia Dongili <[EMAIL PROTECTED]>
Description: 
 cpufrequtils - utilities to deal with the cpufreq Linux kernel feature
 libcpufreq-dev - development files to deal with the cpufreq Linux kernel 
feature
 libcpufreq0 - shared library to deal with the cpufreq Linux kernel feature
Closes: 426138
Changes: 
 cpufrequtils (002-4) unstable; urgency=low
 .
   * Enable by default if cpufreq kernel module is loaded thanks
     to Peter Reinholdtsen for the base code/idea (Closes: #426138)
Files: 
 05a211789b63e987f2a8dee6cfe6fda4 640 admin optional cpufrequtils_002-4.dsc
 745da21b5075f44b79a4ea1482569beb 9141 admin optional cpufrequtils_002-4.diff.gz
 d63e25bfe8e88a14d6bc58a30902b525 26114 admin optional 
cpufrequtils_002-4_i386.deb
 29c4ac71759953e0aa308754bd80b851 10712 libs optional libcpufreq0_002-4_i386.deb
 c51d1b32743b6cadc2ead7822a0cf727 10650 libdevel optional 
libcpufreq-dev_002-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGXmqagpRPaOotLEERAlNfAJ9L4ptKRzUPbwVEqsO3SnGQhH2ckQCfUKH0
mKfAaXzFnEYNRWGK0Jhw2dQ=
=t0B7
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to