← Back to team overview

touch-packages team mailing list archive

[Bug 911206] Re: /etc/init.d/ondemand unconditionally overrules /etc/init.d/cpufrequtils

 

** Also affects: cpufrequtils (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/911206

Title:
  /etc/init.d/ondemand unconditionally overrules
  /etc/init.d/cpufrequtils

Status in cpufrequtils package in Ubuntu:
  New
Status in sysvinit package in Ubuntu:
  Confirmed

Bug description:
  /etc/init.d/ondemand *always* sets the cpu scaling governor to
  ondemand, and is executed after /etc/init.d/cpufrequtils.

  This causes two problems:
  1. Confusion, because it seems as if /etc/init.d/cpufrequtils is being run, but has no effect
  2. Possible problems down the road, because /etc/init.d/ondemand has no /etc/default/ondemand, so either editing or deleting
    /etc/init.d/ondemand. I just discovered that updating initscripts will fail if /etc/init.d/ondemand has been deleted (dpkg complains about this file missing and aborts)

  Suggested fixes:

  a) Remove /etc/init.d/ondemand, make the ondemand governor the default
  for /etc/init.d/cpufrequtils, install package cpufrequtils by default.

  b) If this is not desired, make absolutely sure that
  /etc/init.d/ondemand is executed *before* /etc/init.d/cpufrequtils,
  maybe by making /etc/init.d/cpufrequtils depend on
  /etc/init.d/ondemand.

  I'm looking forward to your responses,
  Daniel

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: initscripts 2.88dsf-13.10ubuntu4.1
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Tue Jan  3 13:13:59 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: sysvinit
  UpgradeStatus: Upgraded to oneiric on 2011-12-10 (23 days ago)
  modified.conffile..etc.init.d.ondemand: [modified]
  mtime.conffile..etc.init.d.ondemand: 2012-01-03T13:13:33.783902

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpufrequtils/+bug/911206/+subscriptions