Bug 821295

Summary: systemd times out starting nut-monitor.service
Product: [Fedora] Fedora Reporter: Benjamin Gilbert <bgilbert>
Component: nutAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nut-2.6.3-3.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-29 10:24:46 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 Benjamin Gilbert 2012-05-14 01:07:10 UTC
Description of problem:
"systemctl start nut-monitor.service" causes upsmon to start, run for a short time, and then be killed by systemd.

Version-Release number of selected component (if applicable):
2.6.3-2.fc16

How reproducible:
Always

Steps to Reproduce:
1. systemd start nut-monitor.service
2. Wait, and watch /var/log/messages

Actual results:
upsmon stays running.

Expected results:
systemd eventually kills upsmon, saying: "nut-monitor.service operation timed out. Terminating."

Additional info:
upsmon claims to be unable to write to /var/run/nut/upsmon.pid, probably due to the fact that /var/run/nut does not exist.  nut-monitor.service tries to create /var/run/nut using /usr/bin/systemd-tmpfiles, but systemd-tmpfiles lives in /bin, not /usr/bin.

Comment 1 Michal Hlavinka 2012-05-14 11:40:32 UTC
Right, UsrMove happened on F17+ only.

Comment 2 Fedora Update System 2012-05-14 14:40:46 UTC
nut-2.6.3-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/nut-2.6.3-3.fc16

Comment 3 Fedora Update System 2012-05-14 14:40:54 UTC
nut-2.6.3-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/nut-2.6.3-3.fc15

Comment 4 Fedora Update System 2012-05-15 23:25:02 UTC
Package nut-2.6.3-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nut-2.6.3-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7899/nut-2.6.3-3.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-05-29 10:24:46 UTC
nut-2.6.3-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2012-05-29 10:24:57 UTC
nut-2.6.3-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.