Bug 247352 - /sys/devices/system/cpu/cpuidle 'breaks' initscript
Summary: /sys/devices/system/cpu/cpuidle 'breaks' initscript
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cpuspeed
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jarod Wilson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-07 15:55 UTC by Tom London
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: 1.2.1-2.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-11 15:24:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tom London 2007-07-07 15:55:59 UTC
Description of problem:
Latest Rawhide kernels seem to create a 'cpuidle' subdirectory of
/sys/devices/system/cpu.

This causes borkage with the init script.

Perhaps something like the following:

--- cpuspeed.old        2007-07-07 08:51:30.000000000 -0700
+++ cpuspeed    2007-07-07 08:51:24.000000000 -0700
@@ -18,7 +18,7 @@
 fi
 
 cpu0freqd=/sys/devices/system/cpu/cpu0/cpufreq
-cpus='/sys/devices/system/cpu/cpu*'
+cpus='/sys/devices/system/cpu/cpu[0-9]*'
 testpat="${cpus}/cpufreq/scaling_driver"
 lockfile="/var/lock/subsys/$prog"
 xendir="/proc/xen"



Version-Release number of selected component (if applicable):
cpuspeed-1.2.1-1.59.fc8

How reproducible:
Every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jarod Wilson 2007-07-07 20:20:22 UTC
Fixed in cpuspeed-1.2.1-2.fc8.

Comment 2 Fedora Update System 2007-07-11 15:24:39 UTC
cpuspeed-1.2.1-2.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.