Description of problem: Hi, fetch-crl-boot service can take some time to complete and with the current configuration of the systemd unit (EL7), every time `systemctl start fetch-crl-boot` is entered, the service is run again (as opposed to `systemctl restart`). This is due to the fact that the unit configuration doesn't include 'RemainAfterExit=yes'. IMO, this is an unexpected behaviour. After the boot, the service should remained in the so called 'active (exited)' state and the sysadmin should use the restart command to reexecute it if needed. This problem has a minor impact, as long as you don't use a management system (Quattor in our case) that redo the start command for every service declared (intentionally) to be on in the configuration. With every service, except fetch-crl-boot, this has the effect of doing nothing if the service already runs. Version-Release number of selected component (if applicable): 3.0.19-1 How reproducible: Always Steps to Reproduce: 1. Boot your system and check that fetch-crl-boot ran successfully (systemd status fetch-crl-boot) 2. systemctl start fetch-crl-boot 3. Actual results: systemctl status fetch-crl-boot shows that the service ran again Expected results: No new run of the service that has already run at boot time with the 'start' command (as opposed to 'restart') Additional info: Adding RemainAfterExit in the service unit configuration fixes the problem.
Hi Michel, It's debatable but makes sense for the reasons you outline. For info the epel8 package just has a fetch-crl.service and fetch-crl.timer with the previous -boot and -cron units removed. In other words you should almost certainly mange the .timer one and forget about the service. A remain-after-exit true would be very wrong so this is a 7 only fix. Steve.
I wonder why we don't have the same problem - https://github.com/voxpupuli/puppet-fetchcrl/blob/master/manifests/service.pp#L15 , we must check status is a different way...
FEDORA-EPEL-2019-91801d0de3 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-91801d0de3
fetch-crl-3.0.19-2.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-2019-91801d0de3
fetch-crl-3.0.19-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.