Public bug reported:

Binary package hint: nut

First off /etc/default/nut is fine.

After boot upsd is not started:

[EMAIL PROTECTED]:~$ ps -A |grep ups
 5077 ?        00:00:00 cupsd
 5467 ?        00:00:00 upsmon
 5468 ?        00:00:00 upsmon

I believe this is why:

[EMAIL PROTECTED]:~$ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.2.1-
Network UPS Tools -  CyberPower text protocol UPS driver .05 (2.2.1-)
Warning: This is an experimental driver.
Some features may not function correctly.
Can't chdir to /var/run/nut: Permission denied
Driver failed to start (exit status=1)

Permissions for /var/run/nut:

[EMAIL PROTECTED]:~$ ls -l /var/run
drwxrwx--- 2 root       nut          60 2008-04-26 16:47 nut

I "chown"'ed to nut and all was well but the owner was reset on reboot.
The permanent solution I found was to add the nut user to the nut group.
Apparently the package install script does not do that.  It probably 
could/should
be the default behavior.

Similar/same problem can be found here:
http://ubuntuforums.org/showthread.php?t=589513 and elsewhere

Info:
nut package version: 2.2.1-2.1ubuntu7

$ lsb_release -ra
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04
Release: 8.04
Codename: hardy

nut 2.2.1-2.1ubuntu7 (source) in ubuntu hardy

** Affects: nut (Ubuntu)
     Importance: Undecided
         Status: New

-- 
upsd doesn't start NOT 221737
https://bugs.launchpad.net/bugs/222761
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to