Bug 1489093

Summary: powerman in EPEL7 should have systemd support
Product: [Fedora] Fedora EPEL Reporter: Trey Dockendorf <tdockendorf>
Component: powermanAssignee: Dave Love <dave.love>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: dave.love, extras-orphan, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: powerman-2.3.24-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 19:37:55 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 Trey Dockendorf 2017-09-06 16:38:52 UTC
Description of problem:

The upstream project has a systemd unit file and tmpfiles.d configuration, both of which are missing the EPEL7 build.

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

powerman-2.3.24-3.el7.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Install powerman on RHEL7
2. systemctl start powerman

Actual results:

Powerman crashes and does not start, because /var/run/powerman does not exist.

Expected results:

powerman should start.

Additional info:

Adds support for systemd unit file: https://github.com/chaos/powerman/commit/db0f2fd1fd46c0b44bb6532ba819925fafc83f44#diff-cd75595b7b1d8709991487198dc11594

This commit added tmpfiles.d file: https://github.com/chaos/powerman/commit/6a7a1ac3e35a04fe8dd78b78229044d26a5893c1#diff-ab522ca9377abf7f7336723232beff74

The master branch has systemd unit file and tmpfiles.d config that I have verified work on RHEL 7.4.

https://raw.githubusercontent.com/chaos/powerman/master/scripts/tmpfiles.d/powerman.conf.in
https://raw.githubusercontent.com/chaos/powerman/master/scripts/powerman.service

Comment 1 Fedora Update System 2017-11-10 22:21:07 UTC
powerman-2.3.24-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-1503cf8814

Comment 2 Fedora Update System 2017-11-11 16:55:57 UTC
powerman-2.3.24-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-1503cf8814

Comment 3 Fedora Update System 2017-11-28 19:37:55 UTC
powerman-2.3.24-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.