apcupsd 3.10.5 still have #9942 bug! And in /etc/init.d/apcupsd there is 2 variables. It's good idea to place these vars in /etc/conf.d Also old networking code disabled in ebuild but there no warning or messages about it. At last, I make configuration file for apache /etc/apache/conf/addon-modules/apcupsd.conf: Alias /apcupsd/ /home/httpd/apcupsd/ <Directory "/home/httpd/apcupsd/"> AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all </Directory> Reproducible: Always Steps to Reproduce:
Apcupsd won't even start when configured as netmaster. Errormessage when starting: /etc/init.d/apcupsd start * Starting APC UPS daemon... apcupsd: apcnet.c:805 Old network code disabled. Use --enable-oldnet to enable. apcupsd FATAL ERROR in apcupsd.c at line 353 Error setting up master So, How could I setup my master-slave configuration? Why is there no notification that --enable-oldnet is disabled while compile The snippets from my config: UPSCABLE 940-0024C UPSTYPE apcsmart NETSERVER on NISPORT 3551 UPSCLASS netmaster UPSMODE net The same config did fine with 3.10.1 and lower....
I have added --enable-oldnet and commited 3.10.5-r1. In addition, I also made the ebuild respect the 'doc' use flag. Finally, I discovered and patched around a race condition with the default init script restart code. I did not move the vars in the init scripts to a conf file because it would require the package re-bootstrap the configure script, which is too big a change for a stable version bump. Let me know if there are further problems.