Bug 79465
Summary: | Red Hat NUT only supports one UPS on a system | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | C.M. Connelly <cmc> | ||||||
Component: | nut | Assignee: | Than Ngo <than> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.3 | CC: | gedetil, mitr | ||||||
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: | 2003-09-09 15:54:51 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: | |||||||||
Attachments: |
|
Description
C.M. Connelly
2002-12-11 22:44:10 UTC
The /etc/sysconfig/ups file is completely redundant and should be removed. The method used to start the UPS driver in /etc/init.d/ups is deprecated and upsdrvctl should be used instead. Created attachment 91679 [details]
add upsdrvctl support to /etc/rc.d/init.d/ups
This patch to ups.init (installed as /etc/rc.d/init.d/ups) will let you run
upsdrvctl (e.g. to support multiple drivers) rather than a single driver.
Set the MODEL variable in /etc/sysconfig/ups as follows to enable this:
MODEL=upsdrvctl
Created attachment 91681 [details]
add upsdrvctl support to /etc/rc.d/init.d/halt
This patch needs to be applied to initscripts-6.40/rc.d/init.d/halt (in the
corresponding initscripts package, of course), to allow proper UPS shutdown
when MODEL=upsdrvctl is used in /etc/sysconfig/ups.
I've submitted it here since it's related to my previous patch, even though it
applies to a file that's not part of the nut packages, per se.
i have added your into 1.4.0-1, which will be available in rawhide soon. many thanks for your patch files and report. |