| Summary: | /etc/cron.hourly/0anacron fails to detect ac power is on | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dave Hodgins <davidwhodgins> |
| Component: | RPM Packages | Assignee: | Shlomi Fish <shlomif> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | olav |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | cronie-1.5.5-2.mga8.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | Patch to add ACAD to list of directories to check. | ||
Created attachment 11962 [details]
Patch to add ACAD to list of directories to check.
Dave Hodgins
2020-10-29 02:42:57 CET
Assignee:
bugsquad =>
shlomif Reported at https://github.com/cronie-crond/cronie/issues/69 Seems upstream went a while without a release, the 0anacron file upstream changed meanwhile. It still contains the same bug. CC:
(none) =>
olav |
/etc/cron.hourly/0anacron checks for ac power indicator in /sys/class/power_supply/AC/online or /sys/class/power_supply/ADP{0..9}/online The laptop in use uses /sys/class/power_supply/ACAD/online so cron.hourly assumes the laptop is on battery and never runs cron.daily, weekly, etc.