Bug 119770 - cpuspeed init script doesn't check /var/lock/subsys/cpuspeed
cpuspeed init script doesn't check /var/lock/subsys/cpuspeed
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kernel-utils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks: FC2Blocker
  Show dependency treegraph
 
Reported: 2004-04-01 20:28 EST by Gabriel Friedmann
Modified: 2007-11-30 17:10 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-05-03 21:45:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to cpuspeed init file to honour lock file (1.28 KB, patch)
2004-04-16 13:18 EDT, Nils Philippsen
no flags Details | Diff

  None (edit)
Description Gabriel Friedmann 2004-04-01 20:28:47 EST
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-10 23:35:51 EDT
Please supply your suggested unified diff for /etc/init.d/cpuspeed.
Comment 2 Nils Philippsen 2004-04-16 13:18:55 EDT
Created attachment 99490 [details]
patch to cpuspeed init file to honour lock file

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