Description of problem: If a top is stopped then every night at midnight atop is started back up due to cron file at /etc/cron.d/atop Version-Release number of selected component (if applicable): 2.3.0-4 How reproducible: 100% of the time Steps to Reproduce: 1. Install atop 2. Stop atop 3. Wait till next day and atop is running again Actual results: Atop ends up running when it shouldn't be Expected results: Atop to remain stopped. Additional info: The change is easy, change the cron task from: 0 0 * * * root systemctl restart atop TO: 0 0 * * * root systemctl try-restart atop
Looks like older versions of EPEL7 atop have correct /etc/cron.d/atop. This is from 2.1-1: # start atop daily at midnight 0 0 * * * root /bin/systemctl try-restart atop.service > /dev/null 2>&1 || :
atop-2.3.0-7.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-3fc29cb70f
atop-2.3.0-7.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-3fc29cb70f
atop-2.3.0-7.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
The cron job was not updated in 2.3.0-7.el7 [root@protocol02 ~]# cat /etc/cron.d/atop # daily restart of atop at midnight 0 0 * * * root systemctl restart atop [root@protocol02 ~]# rpm -q atop atop-2.3.0-7.el7.x86_64
Odd. I made a perfectly lovely patch for this, and failed to apply it. I'll get an update out ASAP. My apologies.
atop-2.3.0-8.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-6f890fd832
atop-2.3.0-8.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-6f890fd832
The fedora packages have exactly the same issue. Should that be a different ticket, or can they just be rebuilt from the same patch?
It's fixed in rawhide, I'll push to 27 and 26 as well.
atop-2.3.0-8.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.