Bug 1011213

Summary: apcupsd fails to start when using USB serial port device
Product: [Fedora] Fedora Reporter: John Griffiths <fedora.jrg01>
Component: apcupsdAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-24 15:39:24 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:

Description John Griffiths 2013-09-23 19:25:23 UTC
Description of problem:
When an USB serial device is used, apcupsd fails to start at system boot even though it is enabled.

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

How reproducible:
always

Steps to Reproduce:
1. install a USB serial device
2. configure apcupsd to use the USB serial device, (DEVICE /dev/ttyUSB0)
3. reboot the system

Actual results:
apcupsd does not start because it cannot connect to the serial device.

Expected results:
apcupsd should start

Additional info:
Using systemctl start apcupsd.service after the system has booted starts apcupsd successfully.

Comment 1 Michal Hlavinka 2013-09-24 09:25:31 UTC
Do you have ModemManager installed?
If you do, try to remove it, reboot and check if apcupsd works or not.
If you need ModemManager, install it back. If you are connected via modem, download ModemManager rpm first (using yumdownloader) so you don't need internet connection to install it back.

Also what is the apcupsd error message exactly?

Comment 2 John Griffiths 2013-09-24 15:20:11 UTC
Yes, I had ModemManager installed. No, did not need it. Removed it and apcupsd started correctly.

Thanks.

Comment 3 Michal Hlavinka 2013-09-24 15:39:24 UTC
Unfortunately, ModemManager steals all (usb)serial devices during boot.

*** This bug has been marked as a duplicate of bug 544121 ***