[Bug 346271] halt initscript does not properly handle apcupsd shutdowns
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=346271
Adam Kropelin <akropel1(a)rochester.rr.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |akropel1(a)rochester.rr.com
--- Comment #27 from Adam Kropelin <akropel1(a)rochester.rr.com> 2009-10-26 19:53:19 EDT ---
On the apcupsd side I've recently undertaken to solve the net-snmp issue by
writing a new SNMP module that does not require net-snmp at all. Thus no more
worries about having libnetsnmp.so available during shutdown. The driver is in
the testing phases now and I'd welcome any feedback you might have. For
details, see the release announcement here:
<http://www.nabble.com/New-SNMP-driver-%28testers-needed%29-td26051600.html>
All major features are implemented now, including killpower, trap catching, and
commlost detection/recovery (they were not ready at the time of the
announcement).
Please join the apcupsd-users mailing list and post any feedback you have,
issues encountered, etc.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 6 months
[Bug 346271] halt initscript does not properly handle apcupsd shutdowns
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=346271
--- Comment #25 from Kevin Verma <kevinverma(a)fedoraproject.org> 2009-10-24 16:29:20 EDT ---
(In reply to comment #16)
> I'm happy with either solution. I do like the simplicity of a static link
> though.
>
> --- apcupsd-3.14.4/src/Makefile.orig 2008-12-04 12:13:27.000000000 -0500
> +++ apcupsd-3.14.4/src/Makefile 2008-12-04 12:12:57.000000000 -0500
> @@ -27,7 +27,7 @@
> all-targets: apcupsd apcaccess apctest smtp $(POWERFLUTE)
>
> apcupsd: $(common_obj) $(apcupsd_obj) $(APCDRVLIBS) $(APCLIBS)
> - $(LINK) $(DRVLIBS)
> + $(LINK) -static $(DRVLIBS)
>
> apctest: $(common_obj) $(apctest_obj) $(APCDRVLIBS) $(APCLIBS)
> $(LINK) $(DRVLIBS)
I tried building a static rpm like in this comment, but it kept failing to
build. Can someone guide me if following patch I used is enough.
<snip>
--- apcupsd-3.14.7/src/Makefile 2009-08-01 17:31:59.000000000 +0530
+++ apcupsd-3.14.7p/src/Makefile 2009-09-17 05:09:04.742907034 +0530
@@ -24,11 +24,9 @@
all-targets: apcupsd apcaccess apctest smtp
-apcupsd: $(common_obj) $(apcupsd_obj) $(APCDRVLIBS) $(APCLIBS)
- $(LINK) $(DRVLIBS)
-
apctest: $(common_obj) $(apctest_obj) $(APCDRVLIBS) $(APCLIBS)
- $(LINK) $(DRVLIBS)
+# $(LINK) $(DRVLIBS)
+ $(LINK) -static $(DRVLIBS)
apcaccess: $(apcaccess_obj) $(APCLIBS)
$(LINK)
</snip>
currently its failing with the errors on http://pastebin.com/d72ab0e84
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
14 years, 6 months