Description of problem:
After configure nut to run in netclient mode, any attempt to start ups service in systemd-enabled OS result in reporting that service failed.
Version-Release number of selected component (if applicable):
nut-client.x86_64 2.6.1-1.fc14 @updates
Steps to Reproduce:
1. configure nut to use netclient mode. set SERVER=no in /etc/sysconfig/ups
2. start ups service: sudo /etc/init.d/ups start
systemd report service failure.
Running service with "active" status.
It fixed by adding RETVAL=0 in line 40 of /etc/init.d/ups
Script use uninitialized value in case of netclient mode.
Same problem must be also in Upstart-based systems, but without reporting error to logs.
Fedora15 has same bug.
this is already fixed. Package is in updates-testing repository right now.
*** This bug has been marked as a duplicate of bug 732151 ***