Bug 1369276

Summary: /usr/bin/on_ac_power mentioned in /etc/cron.hourly/0anacron doesn't exist
Product: [Fedora] Fedora Reporter: Rick <rickhg12hs>
Component: cronieAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: mmaslano, rickhg12hs, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cronie-1.5.1-2.fc24 cronie-1.5.1-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-26 10:21:27 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 Rick 2016-08-22 22:56:19 UTC
Description of problem:

The script /etc/cron.hourly/0anacron checks for and uses /usr/bin/on_ac_power.

/usr/bin/on_ac_power can't be found in any Fedora 24 package.

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


How reproducible:

Always

Steps to Reproduce:
1. Observe /usr/bin/on_ac_power in /etc/cron.hourly/0anacron
2. Recognize non-existence of /usr/bin/on_ac_power in Fedora packages

Actual results:

/usr/bin/on_ac_power not found

Expected results:

/usr/bin/on_ac_power found to exist at least in a package


Additional info:

Comment 1 Fedora Update System 2016-08-23 13:58:46 UTC
cronie-1.5.1-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7447aeea9d

Comment 2 Fedora Update System 2016-08-23 13:58:52 UTC
cronie-1.5.1-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-14be43242c

Comment 3 Fedora Update System 2016-08-23 23:20:46 UTC
cronie-1.5.1-2.fc25 has been pushed to the Fedora 25 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-2016-7447aeea9d

Comment 4 Fedora Update System 2016-08-24 17:25:43 UTC
cronie-1.5.1-2.fc24 has been pushed to the Fedora 24 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-2016-14be43242c

Comment 5 Fedora Update System 2016-08-26 10:21:25 UTC
cronie-1.5.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-08-27 10:14:29 UTC
cronie-1.5.1-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Rick 2016-09-03 00:26:20 UTC
/sys/class/power_supply/AC/online

doesn't exist on my F24 laptop, but

/sys/class/power_supply/ADP0/online

does.