Cool package!

I've had an APC BackUPS ES with a usb since 2002 but never even hooked
it up, assuming that was for a Windows world only.  I'm glad to have
emerged from the darkness.  I managed to get it monitoring working well
with this package, though I have a few suggestions that I hope can be
solved in the packaging installation scripts.

1) I'd suggest the sample scripts installed in their proper locations in 
/etc/nut/ , with the proper ownership and permissions (nut:nut, 600).  These 
samples can have everything commented out.  They don't have to be functional, 
as long as they don't produce security holes.
[EMAIL PROTECTED]:/# ls -alF /etc/nut/
total 44
drwxr-xr-x   2 nut  nut   4096 2008-02-21 16:37 ./
drwxr-xr-x 131 root root 12288 2008-02-21 16:13 ../
-rw-------   1 nut  nut   3741 2008-02-21 15:14 ups.conf
-rw-------   1 nut  nut   2012 2008-02-21 14:26 upsd.conf
-rw-------   1 nut  nut   2422 2008-02-21 15:26 upsd.users
-rw-------   1 nut  nut  11950 2008-02-21 15:45 upsmon.conf
-rw-------   1 nut  nut   3901 2008-02-21 16:37 upssched.conf

2) Why is /usr/share/doc/nut/examples/upsmon.conf.sample.gz compressed
but none of the others?  It's bigger, but not huge.

3) I see /etc/init.d/nut and then /etc/init.d/ups-monitor symlinks to ->
/etc/init.d/nut  ...  Why the duplication?

4) Speaking of init scripts, I did have to a couple of lines to my 
/etc/rc.local that would be nice to have in the init scripts (upstart, as it 
may be):
/usr/bin/upsdrvctl start apc
/usr/sbin/upsd
/usr/sbin/upsmon


As a reference, I found this howto to be very, very useful for my APC UPS.
http://www.mathstat.dal.ca/~selinger/ups/backups.html

-- 
main inclusion report
https://bugs.launchpad.net/bugs/182790
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to