Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 809051] New: apcupsd & gapcmon from openSUSE-12.3-Oss installs bad apcupsd.service file which does load file /usr/sbin/apcupsd correctly
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 13 Mar 2013 01:07:35 +0000
  • Message-id: <bug-809051-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=809051

https://bugzilla.novell.com/show_bug.cgi?id=809051#c0


Summary: apcupsd & gapcmon from openSUSE-12.3-Oss installs bad
apcupsd.service file which does load file
/usr/sbin/apcupsd correctly
Classification: openSUSE
Product: openSUSE 12.3
Version: Final
Platform: x86-64
OS/Version: SUSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: KDE4 Applications
AssignedTo: kde-maintainers@xxxxxxx
ReportedBy: jmcdaniel3@xxxxxxxxxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101
Firefox/19.0

apcupsd & the gui is called gapcmon, does not start properly because the file
/usr/lib/systemd/system/apcupsd.service, trys to start apcupsd as
/sbin/apcupsd, but actually, it is located as /usr/sbin/apcupsd. After the
change to the correct location, I ran the terminal command:

sudo /bin/systemctl enable /usr/lib/systemd/system/apcupsd.service

And then restarted my PC. After the modification of the apcupsd.service file,
apcupsd is working properly.

Reproducible: Always

Steps to Reproduce:
1. Install apcupsd & apcupsd-gui from yast
2. Edit the apc config file /etc/apcupsd/apcupsd.conf to match your UPS
3. Restart PC to allow service to start
4. Find that it is not working for you.
Actual Results:
apcupsd fails to start by systemd:

sudo systemctl status apcupsd.service
apcupsd.service - APC UPS Power Control Daemon for Linux
Loaded: loaded (/usr/lib/systemd/system/apcupsd.service; disabled)
Active: failed (Result: exit-code) since Tue, 2013-03-12 19:30:51
CDT; 16s ago
Process: 3425 ExecStart=/sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf
(code=exited, status=203/EXEC)
Process: 3421 ExecStartPre=/bin/rm -f /etc/apcupsd/powerfail
(code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/apcupsd.service


Expected Results:
systemctl status apcupsd.service
apcupsd.service - APC UPS Power Control Daemon for Linux
Loaded: loaded (/usr/lib/systemd/system/apcupsd.service; disabled)
Active: active (running) since Tue, 2013-03-12 19:34:01 CDT; 22min
ago
Process: 3490 ExecStartPre=/bin/rm -f /etc/apcupsd/powerfail
(code=exited, status=0/SUCCESS)
Main PID: 3494 (apcupsd)
CGroup: name=systemd:/system/apcupsd.service
└ 3494 /usr/sbin/apcupsd -b -f /etc/apcupsd/apcupsd.conf

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >
Follow Ups