[Bug 809051] New: apcupsd & gapcmon from openSUSE-12.3-Oss installs bad apcupsd.service file which does load file /usr/sbin/apcupsd correctly
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@suse.de ReportedBy: jmcdaniel3@austin.rr.com QAContact: qa-bugs@suse.de 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.
https://bugzilla.novell.com/show_bug.cgi?id=809051 https://bugzilla.novell.com/show_bug.cgi?id=809051#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dimstar@opensuse.org Resolution| |DUPLICATE --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-03-14 15:16:41 UTC --- Thanks for your report.. this had been reported already and a fix is pending in the queues... *** This bug has been marked as a duplicate of bug 801312 *** http://bugzilla.novell.com/show_bug.cgi?id=801312 -- 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.
participants (1)
-
bugzilla_noreply@novell.com