nut-server packaging incorrectly assumes host will be client, too
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nut (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The packaging for nut-server assumes that host will also be a client, which is an invalid assumption. As is stated <a href="http://
<quote>Finally, there’s a special case. Type A systems are connected to a UPS’s serial port, but don’t depend on it for power. This usually happens when a UPS is physically close to a box and can reach the serial port, but the wiring is such that it doesn’t actually feed it.</quote>
There is no good reason for nut=server to depend upon nut-client.
Furthermore, /etc/init.d/nut, in the start-stop-client() function should not include "netserver" in the case $MODE... statement, or else a different mode should be introduced which starts only the driver and upsd components, as is described in the documentation.
It is a potentially dangerous and critical assumption that a nut host will always be powered by, or only be powered by, a ups which it is also monitoring. The software supports much greater freedom than this, and the packaging should reflect this.
This is specifically in reference to the Precise (12.04.2 LTS) packaging of nut-2.6.