Bug 1085213

Summary: Often "Battery disconnected Battery reattached messages" in log
Product: [Fedora] Fedora Reporter: Vasiliy Glazov <vascom2>
Component: apcupsdAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 19:58:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
apcaccess log none

Description Vasiliy Glazov 2014-04-08 06:29:16 UTC
Created attachment 883891 [details]
apcaccess log

Description of problem:
In my /var/log/messages I see often messages:
Apr  8 09:09:16 v-glazov apcupsd[17091]: Battery disconnected.
Apr  8 09:09:22 v-glazov apcupsd[17091]: Battery reattached.
Apr  8 09:09:34 v-glazov apcupsd[17091]: Battery disconnected.
Apr  8 09:09:35 v-glazov apcupsd[17091]: Battery reattached.

It very often - 4-10 times per one minute.

Version-Release number of selected component (if applicable):
apcupsd-3.14.10-13.fc20.x86_64

How reproducible:
Always.

Steps to Reproduce:
Just run apcupsd.

Additional info:
My APC device is good, passed self test, battery good. apcaccess log attached.
I found here http://forums.apc.com/message/36174 solving of problem. It need just add --with-generic-usb to configure string in spec (and libusb-devel to BR).
I test it on my local system and it work good, but may be need some changes to selinux.

Can you apply this to apcupsd package?

Comment 1 Vasiliy Glazov 2014-04-08 08:02:20 UTC
--with-generic-usb not solve problem.
Messages still appear, but not so often.

Comment 2 Fedora End Of Life 2015-05-29 11:30:14 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2015-06-29 19:58:14 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.