Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46450 - Newer master/slave system doesn't work with apcupsd ebuild
Summary: Newer master/slave system doesn't work with apcupsd ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 23:20 UTC by Lee Weisz
Modified: 2005-09-05 05:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
An ebuild that configures nis master/slave binaries amoung other things (apcupsd-3.10.10.ebuild,2.89 KB, text/plain)
2004-03-31 23:33 UTC, Lee Weisz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Weisz 2004-03-31 23:20:45 UTC
Can't configure a master for the newer nis based master/slave system from ebuild.

Reproducible: Always
Steps to Reproduce:
1. Set "NETSERVER on" in apcupsd.conf on master server.
2. Set "UPSTYPE net" & "DEVICE master.mydomain.com:3551" on slave.
3. Start the daemons

Actual Results:  
Slave can't communicate connect to the master.

Expected Results:  
Slave should read status from the master on port 3551. Unlike the old system,
the master is oblivious to the slaves.
Comment 1 Lee Weisz 2004-03-31 23:33:05 UTC
Created attachment 28494 [details]
An ebuild that configures nis master/slave binaries amoung other things

This ebuild introduces two application specific USE flags; apcnetmaster and
apcnetslave. I don't know how these are supposed to be defined in the general
Gentoo framework. I know other applications have flags that, frustratingly,
don't show up in the general USE flag list also...

This ebuild also uses the usb, icc, and cgi USE flags to tweak the resultant
binaries.
Comment 2 Lee Weisz 2004-03-31 23:37:41 UTC
For additional info on the required configure flags see
http://www.sibbald.com/apcupsd/3.10.x-manual/ch02s04.html
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2004-12-01 14:39:15 UTC
Please have a look at the apcupsd-3.10.16-r1.ebuild.
It added support for the gd USE-flag which is a good example how to handle local use flags.
Comment 4 Michael Imhof (RETIRED) gentoo-dev 2005-09-05 05:48:40 UTC
Got no response, closing this bug.