Bug 49128 - /etc/rc.d/init.d/halt runs UPS prog after unmounted
Summary: /etc/rc.d/init.d/halt runs UPS prog after unmounted
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-14 17:47 UTC by j. alan eldridge
Modified: 2014-03-17 02:21 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-04-28 19:10:36 UTC


Attachments (Terms of Use)

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.


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