Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 119770

Summary: cpuspeed init script doesn't check /var/lock/subsys/cpuspeed
Product: [Fedora] Fedora Reporter: Gabriel Friedmann <gdf>
Component: kernel-utilsAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: barryn, nphilipp, tmus, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-04 01:45:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114961    
Attachments:
Description Flags
patch to cpuspeed init file to honour lock file none

Description Gabriel Friedmann 2004-04-02 01:28:47 UTC
Description of problem:
cpuspeed init script does not check /var/lock/subsys/cpuspeed

Version-Release number of selected component (if applicable):
initscripts-7.49-1


How reproducible:
Every time.

Steps to Reproduce:
1. look at /etc/init.d/cpuspeed
-or-
2. go into single user mode via 'init 1' or the like
3. ps ax | grep cpu
  
Actual results:
multiple instances of cpuspeed -d


Expected results:
only one instance


Additional info:
the lock file was added earlier.
see bug# 113911
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=113911

can close that one too, while your at it.

Comment 1 Warren Togami 2004-04-11 03:35:51 UTC
Please supply your suggested unified diff for /etc/init.d/cpuspeed.


Comment 2 Nils Philippsen 2004-04-16 17:18:55 UTC
Created attachment 99490 [details]
patch to cpuspeed init file to honour lock file