Bug 428523 - apcupsd don't starts at boot
Summary: apcupsd don't starts at boot
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: apcupsd
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomas Smetana
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-12 20:48 UTC by Roman Danilov
Modified: 2008-01-18 20:01 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-14 07:38:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Roman Danilov 2008-01-12 20:48:25 UTC
Description of problem:

apcupsd don't starts automatically

Version-Release number of selected component (if applicable):

# yum info apcupsd
....
Installed Packages
Name   : apcupsd
Arch   : i386
Version: 3.14.2
Release: 1.fc8
Size   : 1.1 M
Repo   : installed
Summary: APC UPS Power Control Daemon for Linux


How reproducible:


Steps to Reproduce:
1. run "yum install apcupsd"
2. edit /etc/apcupsd/apcupsd.conf for setup your UPS features
3. reboot
4. try "/etc/rc.d/init.d/apcupsd stop" to see that stop fails because it not 
starts at boot
5. try "/etc/rc.d/init.d/apcupsd start" to see that I can manual start it
  
Actual results:


Expected results:


Additional info:

to enable automatic start, do this workaround:

# cd /etc/rc.d/rc5.d
# ln -s ../init.d/apcupsd S99apcupsd
# cd /etc/rc.d/rc3.d
# ln -s ../init.d/apcupsd S99apcupsd

Comment 1 Tomas Smetana 2008-01-14 07:38:01 UTC
Yes, there are services that are set off by default and apcupsd is one of them.
 However the init script has proper header so it can be easily turned on using
the chkconfig command.  So please read 'man chkconfig' and then try 'chkconfig
apcupsd on'.  (And remove the symlinks you made.)

Comment 2 Roman Danilov 2008-01-18 20:01:59 UTC
(In reply to comment #1)
Thanks, it works fine!
I was removed my symlinks first and do 'chkconfig apcupsd on' as you wrote :-).


Note You need to log in before you can comment on or make changes to this bug.