Bug 837040

Summary: upsdrvctl put in /sbin in nut update but nut-driver.service refers to /usr/sbin/upsdrvctl
Product: [Fedora] Fedora Reporter: gdelx001
Component: nutAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: aschorr, jeremy, mhlavink, pizza, rmhristev
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: nut-2.6.4-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 17:19:00 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 gdelx001 2012-07-02 15:02:32 UTC
Description of problem:

Can't start nut ups monitoring after latest update because 
upsdrvctl was put in /sbin but nut-driver.service refers to /usr/sbin/upsdrvctl.

Version-Release number of selected component (if applicable):
2.6.4-1.fc16

How reproducible:
Imminently


Additional info:

Link from /usr/sbin/ to /sbin/upsdrvctl solves problem.  I assume that fixing the exec definition in /lib/systemd/system/nut-driver.service would work as well.

Comment 1 Michal Hlavinka 2012-07-02 15:24:56 UTC
Right, this path is generated build script, but it should be @driveexecdir@ instead of @SBINDIR@. This bug is in 
systemd/system/nut-driver.service
and
systemd/system-shutdown/nutshutdown


I'll fix that.

Comment 2 Fedora Update System 2012-07-02 15:54:30 UTC
nut-2.6.4-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/nut-2.6.4-2.fc16

Comment 3 Fedora Update System 2012-07-05 23:35:46 UTC
Package nut-2.6.4-2.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.4-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10277/nut-2.6.4-2.fc16
then log in and leave karma (feedback).

Comment 4 Michal Hlavinka 2012-07-16 12:10:27 UTC
*** Bug 838192 has been marked as a duplicate of this bug. ***

Comment 5 Michal Hlavinka 2012-07-16 12:17:14 UTC
*** Bug 839019 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2012-07-17 17:19:00 UTC
nut-2.6.4-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.