Bug 49128

Summary: /etc/rc.d/init.d/halt runs UPS prog after unmounted
Product: [Retired] Red Hat Raw Hide Reporter: j. alan eldridge <alane>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-28 19:10:36 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:

Description j. alan eldridge 2001-07-14 17:47:57 UTC
Description of Problem:

Don't shoot me, Bill!

I appreciate the patch into halt that you did. There's just one more little
thing....

By the time we get down there to run the "$MODEL -k $DEVICE" command, if
/usr is on its own FS (as it often is, and should be), then the program we
want to run is gone.

It's disgusting, but what I did was up top in halt, see if we're going to
need to do this later on, and then "cp -a $MODEL /tmp". I know, /tmp could
be on a separate FS too. 

So what's to do?

1. Cp to /tmp and try not to gag.

2. Cp to / and try not to gag.

3. Cp to somewhere in /etc and try not to gag.

4. Change the NUT rpm to put the UPS $MODEL programs in /bin, and try not
to gag.

5. Change the NUT rpm to put the UPS $MODEL programs in /sbin and try not
to gag.

Got any ideas that don't need "and try not to gag" appended to them?

Comment 1 Bill Nottingham 2005-04-28 19:10:36 UTC
These are on /sbin now, I think.