Cron to Systemd Timer migration
Notes
Cron job that should be migrating should only be those that are in a package that already depends on systemd
Create packaging guidelines proposal regarding systemd time units with samples. DONE
Proposal approved by FPC https://fedorahosted.org/fpc/ticket/261 Packaing guidelines http://fedoraproject.org/wiki/Packaging:CronFiles
Create a tracker bug for requires and timer migration
Cron to timer migration https://bugzilla.redhat.com/show_bug.cgi?id=991679
Requires crontabs https://bugzilla.redhat.com/show_bug.cgi?id=947037
Should time units be bound to their corresponding service unit so they start and stop when unit is started?
Add requires to cron to packages that do not depend on systemd
Add a section about timer units to systemd wiki page
Sample systemd time unit usage
ackme.service:
[Unit] Description=Ackme Service Documentation=man:ackmed(1) [Service] ExecStart=/usr/bin/ackmed [Install] WantedBy=multi-user.target
ackme-job.timer
[Unit] Description=Ackme Sample Timer Unit BindTo=ackme.service [Timer] Unit=ackme-job.service OnCalendar=daily [Install] WantedBy=ackme.service
ackme-job.service
[Unit] Description=Daily ackme Job Documentation=man:ackmed(1) [Service] User=ackme ExecStart=/usr/bin/acme-job
Cron to Systemd migration
Package name | Bug Number | Port Status | Ready for Proven Packager | Proven Packager | Note |
amavisd-new | #N/A | Nobody |
No | Nobody | drop cron use tmpfile |
apt | #991684 | Yes | Nobody | ||
arm4 | #991696 | Yes | Nobody | ||
atop | #N/A | Nobody |
No | Nobody | Cron job restarts service could potentially be a feature |
bcfg2 | #N/A | Nobody |
No | Nobody | |
clement | #N/A | Nobody |
No | Nobody | |
cyrus-imapd | #N/A | Nobody |
No | Nobody | |
dbmail | #N/A | Nobody |
No | Nobody | |
denyhosts | #N/A | Nobody |
No | Nobody | |
dspam | #N/A | Nobody |
No | Nobody | |
exim | #N/A | Nobody |
No | Nobody | |
fetch-crl | #N/A | Nobody |
No | Nobody | |
freeipa-server | #N/A | Nobody |
No | Nobody | |
hylafax+ | #N/A | Nobody |
No | Nobody | |
inn | #N/A | Nobody |
No | Nobody | |
leafnode | #N/A | Nobody |
No | Nobody | |
ltsp-server | #N/A | Nobody |
No | Nobody | |
mailman | #N/A | Nobody |
No | Nobody | |
mcelog | #N/A | Nobody |
No | Nobody | |
mdadm | #N/A | Nobody |
No | Nobody | |
mldonkey-server | #N/A | Nobody |
No | Nobody | |
newscache | #N/A | Nobody |
No | Nobody | |
nsd | #N/A | Nobody |
No | Nobody | |
opendnssec | #N/A | Nobody |
No | Nobody | |
openvas-scanner | #N/A | Nobody |
No | Nobody | |
ovirt-engine | #N/A | Nobody |
No | Nobody | |
ovirt-node | #N/A | Nobody |
No | Nobody | |
polipo | #N/A | Nobody |
No | Nobody | |
sagator-core | #N/A | Nobody |
No | Nobody | |
sipwitch | #N/A | Nobody |
No | Nobody | |
spamassassin | #N/A | Nobody |
No | Nobody | |
squidGuard | #N/A | Nobody |
No | Nobody | |
subscription-manager | #N/A | Nobody |
No | Nobody | |
sysstat | #N/A | Nobody |
No | Nobody | |
vdsm-reg | #N/A | Nobody |
No | Nobody | |
vnstat | #N/A | Nobody |
No | Nobody | |
yum-cron | #N/A | Nobody |
No | Nobody |
Packages that should require crontabs
Package name | Bug Number | Port Status | Ready for Proven Packager | Proven Packager | Note |
afraid-dyndns | Nobody |
No | Nobody | orphan | |
autotrust | Nobody |
No | Nobody | orphan | |
awstats | yes | Maintainer | FIXED | ||
backup-manager | #947045 | Yes | Nobody | ||
cacti | #947047 | Yes | Nobody | ||
checkdns | #947058 | Yes | Nobody | ||
clamav-unofficial-sigs | #988602 | Yes | Nobody | ||
clamav | Yes | Maintainer | FIXED | ||
crypto-utils | #988609 | Yes | Nobody | ||
dmraid-events-logwatch | #989020 | Yes | Nobody | ||
dnf | Maintainer |
No | Nobody | Has been migrated to timer units by maintainer | |
drupal7 | Yes | Maintainer | FIXED | ||
dwatch | #989039 | Yes | Nobody | ||
epylog | #989023 | Yes | Nobody | ||
etckeeper | Yes | Maintainer | FIXED | ||
exim-greylist | Yes | Maintainer | FIXED | ||
ghc-doc-index | #989032 | Yes | Nobody | ||
globus-gram-audit | Maintainer |
No | Maintainer | FIXED | |
glpi | Yes | Maintainer | FIXED | ||
glpi-mass-ocs-import | Yes | Maintainer | FIXED | ||
hplip | Yes | Maintainer | FIXED Cron job dropped | ||
indefero | #989037 | Yes | Nobody | ||
libvirt-sandbox | #N/A | Nobody |
No | Nobody | Logrotate workaround which needs to be fixed @ logrotate |
lightsquid | #989072 | Yes | Nobody | ||
limph-hostagent | Yes | Maintainer | FIXED | ||
logcheck | Yes | Maintainer | FIXED | ||
logrotate | #N/A | Nobody |
No | Nobody | Requires larger patchset |
logwatch | #989075 | Yes | Nobody | ||
ltsp-server | #989076 | Yes | Nobody | ||
man-db | #989077 | Yes | Nobody | ||
mlocate | No | Maintainer | FIXED | ||
moodle | Yes | Maintainer | FIXED | ||
munin | #989080 | Yes | Nobody | ||
nordugrid-arc-gridmap-utils | Yes | Maintainer | FIXED | ||
ocsinventory-agent | Yes | Maintainer | FIXED | ||
olpc-update | Maintainer |
No | Nobody | Has been migrated to timer units by maintainer | |
openshift-origin-cartridge-cron | #989089 | Yes | Nobody | ||
PackageKit-cron | #989090 | Yes | Nobody | ||
pam_shield | #989095 | Yes | Nobody | ||
prelink | #989102 | Yes | Nobody | ||
queuegraph | #989107 | Yes | Nobody | ||
rancid | #989109 | Yes | Nobody | ||
rkhunter | Yes | Maintainer | FIXED | ||
rpm-cron | Maintainer |
No | Maintainer | FIXED | |
safekeep-server | #989113 | Yes | Nobody | ||
slrn-pull | Yes | Maintainer | FIXED | ||
snapper | Yes | Maintainer | FIXED | ||
spacewalk-dobby | #N/A | Nobody |
No | Nobody | Orphan |
squirrelmail | Yes | Maintainer | FIXED | ||
system-autodeath | #989122 | Yes | Nobody | ||
sysusage | #989123 | Yes | Nobody | ||
tmpwatch | Maintainer |
No | Maintainer | FIXED Cron job dropped | |
tripwire | #989125 | Yes | Nobody | ||
unbound-libs | Maintainer |
No | Maintainer | FIXED | |
webacula | #989126 | Yes | Noboby | looks abandon | |
webalizer | Maintainer |
No | Maintainer | FIXED | |
WebCalendar | Yes | Maintainer | FIXED | ||
x509watch | #989128 | Yes | Nobody |