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
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.timer
[Unit] Description=Ackme Sample Timer Unit BindTo=ackme.service [Timer] Unit=ackme.service OnCalendar=daily ExecStart=/path/to/script [Install] WantedBy=multi-user.target
ackme.service
[Unit] Description=ackme Documentation=man:ackmed(1) [Service] User=ackme ExecStart=/usr/bin/acmed cronjob
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 | #N/A | Nobody |
No | Nobody | |
arm4 | #N/A | Nobody |
No | Nobody | |
atop | #N/A | Nobody |
No | Nobody | |
bcfg2 | #N/A | Nobody |
No | Nobody | |
clement | #N/A | Nobody |
No | Nobody | |
cyrus-imap | #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 | #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 | #N/A | Nobody |
No | Nobody | orphan |
autotrust | #N/A | Nobody |
No | Nobody | orphan |
awstats | #947040 | yes | Maintainer | FIXED | |
backup-manager | #947045 | Yes | Nobody | ||
cacti | #947047 | Yes | Nobody | ||
checkdns | #947058 | Yes | Nobody | ||
clamav-unofficial-sigs | #988602 | Yes | Nobody | ||
clamav | #988605 | Yes | Nobody | ||
crypto-utils | #988609 | Yes | Nobody | ||
dmraid-events-logwatch | #989020 | Yes | Nobody | ||
dnf | #N/A | Nobody |
No | Nobody | Has been migrated to timer units by maintainer |
drupal7 | #989021 | Yes | Nobody | ||
dwatch | #989039 | Yes | Nobody | ||
epylog | #989023 | Yes | Nobody | ||
etckeeper | #989024 | Yes | Maintainer | ||
exim-greylist | #989031 | Yes | Nobody | ||
ghc-doc-index | #989032 | Yes | Nobody | ||
globus-gram-audit | #N/A | Nobody |
No | Maintainer | FIXED |
glpi | #989033 | Yes | Maintainer | FIXED | |
glpi-mass-ocs-import | #989034 | Yes | Maintainer | FIXED | |
hplip | #989035 | Yes | Maintainer | FIXED Cron job dropped | |
indefero | #989037 | Yes | Nobody | ||
libvirt-sandbox | #N/A | Nobody |
No | Nobody | Logrotate workaround which needs to be fixed @ logroate |
lightsquid | #989072 | Yes | Nobody | ||
limph-hostagent | #989073 | Yes | Nobody | ||
logcheck | #989074 | Yes | Nobody | ||
logrotate | #N/A | Nobody |
No | Nobody | Requires larger patchset |
logwatch | #989075 | Yes | Nobody | ||
ltsp-server | #989076 | Yes | Nobody | ||
man-db | #989077 | Yes | Nobody | ||
mlocate | #N/A | No | Maintainer | ||
moodle | #989079 | Yes | Nobody | ||
munin | #989080 | Yes | Nobody | ||
nordugrid-arc-gridmap-utils | #989082 | Yes | Maintainer | ||
ocsinventory-agent | #989085 | Yes | Maintainer | ||
olpc-update | #N/A | Nobody |
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 | #989110 | Yes | Maintainer | ||
rpm-cron | #N/A | Nobody |
No | Maintainer | |
safekeep-server | #989113 | Yes | Nobody | ||
slrn-pull | #947037 | Yes | Nobody | ||
snapper | #989115 | Yes | Nobody | ||
spacewalk-dobby | #N/A | Nobody |
No | Nobody | Orphan |
squirrelmail | #989121 | Yes | Nobody | ||
system-autodeath | #989122 | Yes | Nobody | ||
sysusage | #989123 | Yes | Nobody | ||
tmpwatch | #N/A | Nobody |
No | Maintainer | FIXED Cron job dropped |
tripwire | #989125 | Yes | Nobody | ||
unbound-libs | #N/A | Nobody |
No | Maintainer | |
webacula | #989126 | Yes | Noboby | looks abandon | |
webalizer | #N/A | Nobody |
No | Maintainer | |
WebCalendar | #989127 | Yes | Nobody | ||
x509watch | #989128 | Yes | Nobody |