From Fedora Project Wiki
Line 205: Line 205:
|man-db||[https://bugzilla.redhat.com/show_bug.cgi?id=989077 #989077]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|man-db||[https://bugzilla.redhat.com/show_bug.cgi?id=989077 #989077]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|-
|-
|mlocate||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|pass|Johannbg}}||No||Maintainer||
|mlocate||||{{result|pass|Johannbg}}||No||Maintainer||FIXED
|-
|-
|moodle||||{{result|pass|Johannbg}}||Yes||Maintainer||FIXED
|moodle||||{{result|pass|Johannbg}}||Yes||Maintainer||FIXED
Line 211: Line 211:
|munin||[https://bugzilla.redhat.com/show_bug.cgi?id=989080 #989080]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|munin||[https://bugzilla.redhat.com/show_bug.cgi?id=989080 #989080]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|-
|-
|nordugrid-arc-gridmap-utils||[https://bugzilla.redhat.com/show_bug.cgi?id=989082 #989082]||{{result|pass|Johannbg}}||Yes||Maintainer||
|nordugrid-arc-gridmap-utils||||{{result|pass|Johannbg}}||Yes||Maintainer||FIXED
|-
|-
|ocsinventory-agent||[https://bugzilla.redhat.com/show_bug.cgi?id=989085 #989085]||{{result|pass|Johannbg}}||Yes||Maintainer||
|ocsinventory-agent||||{{result|pass|Johannbg}}||Yes||Maintainer||FIXED
|-
|-
|olpc-update||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|pass|Nobody}}||No||Nobody||Has been migrated to timer units by maintainer
|olpc-update||||{{result|pass|Maintainer}}||No||Nobody||Has been migrated to timer units by maintainer
|-
|-
|openshift-origin-cartridge-cron||[https://bugzilla.redhat.com/show_bug.cgi?id=989089 #989089]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|openshift-origin-cartridge-cron||[https://bugzilla.redhat.com/show_bug.cgi?id=989089 #989089]||{{result|inprogress|Johannbg}}||Yes||Nobody||
Line 229: Line 229:
|rancid||[https://bugzilla.redhat.com/show_bug.cgi?id=989109 #989109]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|rancid||[https://bugzilla.redhat.com/show_bug.cgi?id=989109 #989109]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|-
|-
|rkhunter||[https://bugzilla.redhat.com/show_bug.cgi?id=989110 #989110]||{{result|pass|Johannbg}}||Yes||Maintainer||
|rkhunter||||{{result|pass|Johannbg}}||Yes||Maintainer||FIXED
|-
|-
|rpm-cron||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|pass|Nobody}}||No||Maintainer||
|rpm-cron||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|pass|Nobody}}||No||Maintainer||
Line 235: Line 235:
|safekeep-server||[https://bugzilla.redhat.com/show_bug.cgi?id=989113 #989113]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|safekeep-server||[https://bugzilla.redhat.com/show_bug.cgi?id=989113 #989113]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|-
|-
|slrn-pull||[https://bugzilla.redhat.com/show_bug.cgi?id=947037 #947037]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|slrn-pull||||{{result|passs|Johannbg}}||Yes||Maintainer||FIXED
|-
|-
|snapper||[https://bugzilla.redhat.com/show_bug.cgi?id=989115 #989115]||{{result|inprogress|Johannbg}}||Yes||Nobody||
|snapper||[https://bugzilla.redhat.com/show_bug.cgi?id=989115 #989115]||{{result|inprogress|Johannbg}}||Yes||Nobody||

Revision as of 10:54, 3 August 2013

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
Fail fail Nobody
No Nobody drop cron use tmpfile
apt #N/A
Fail fail Nobody
No Nobody
arm4 #N/A
Fail fail Nobody
No Nobody
atop #N/A
Fail fail Nobody
No Nobody
bcfg2 #N/A
Fail fail Nobody
No Nobody
clement #N/A
Fail fail Nobody
No Nobody
cyrus-imap #N/A
Fail fail Nobody
No Nobody
dbmail #N/A
Fail fail Nobody
No Nobody
denyhosts #N/A
Fail fail Nobody
No Nobody
dspam #N/A
Fail fail Nobody
No Nobody
exim #N/A
Fail fail Nobody
No Nobody
fetch #N/A
Fail fail Nobody
No Nobody
freeipa-server #N/A
Fail fail Nobody
No Nobody
hylafax #N/A
Fail fail Nobody
No Nobody
inn #N/A
Fail fail Nobody
No Nobody
leafnode #N/A
Fail fail Nobody
No Nobody
ltsp-server #N/A
Fail fail Nobody
No Nobody
mailman #N/A
Fail fail Nobody
No Nobody
mcelog #N/A
Fail fail Nobody
No Nobody
mdadm #N/A
Fail fail Nobody
No Nobody
mldonkey-server #N/A
Fail fail Nobody
No Nobody
newscache #N/A
Fail fail Nobody
No Nobody
nsd #N/A
Fail fail Nobody
No Nobody
opendnssec #N/A
Fail fail Nobody
No Nobody
openvas-scanner #N/A
Fail fail Nobody
No Nobody
ovirt-engine #N/A
Fail fail Nobody
No Nobody
ovirt-node #N/A
Fail fail Nobody
No Nobody
polipo #N/A
Fail fail Nobody
No Nobody
sagator-core #N/A
Fail fail Nobody
No Nobody
sipwitch #N/A
Fail fail Nobody
No Nobody
spamassassin #N/A
Fail fail Nobody
No Nobody
squidGuard #N/A
Fail fail Nobody
No Nobody
subscription-manager #N/A
Fail fail Nobody
No Nobody
sysstat #N/A
Fail fail Nobody
No Nobody
vdsm-reg #N/A
Fail fail Nobody
No Nobody
vnstat #N/A
Fail fail Nobody
No Nobody
yum-cron #N/A
Fail fail Nobody
No Nobody

Packages that should require crontabs

Package name Bug Number Port Status Ready for Proven Packager Proven Packager Note
afraid-dyndns
Fail fail Nobody
No Nobody orphan
autotrust
Fail fail Nobody
No Nobody orphan
awstats
Pass pass Johannbg
yes Maintainer FIXED
backup-manager #947045
Inprogress inprogress Johannbg
Yes Nobody
cacti #947047
Inprogress inprogress Johannbg
Yes Nobody
checkdns #947058
Inprogress inprogress Johannbg
Yes Nobody
clamav-unofficial-sigs #988602
Inprogress inprogress Johannbg
Yes Nobody
clamav
Pass pass Johannbg
Yes Maintainer FIXED
crypto-utils #988609
Inprogress inprogress Johannbg
Yes Nobody
dmraid-events-logwatch #989020
Inprogress inprogress Johannbg
Yes Nobody
dnf
Pass pass Maintainer
No Nobody Has been migrated to timer units by maintainer
drupal7
Pass pass Johannbg
Yes Maintainer FIXED
dwatch #989039
Inprogress inprogress Johannbg
Yes Nobody
epylog #989023
Inprogress inprogress Johannbg
Yes Nobody
etckeeper
Pass pass Johannbg
Yes Maintainer FIXED
exim-greylist
Pass pass Johannbg
Yes Maintainer FIXED
ghc-doc-index #989032
Inprogress inprogress Johannbg
Yes Nobody
globus-gram-audit
Pass pass Maintainer
No Maintainer FIXED
glpi
Pass pass Johannbg
Yes Maintainer FIXED
glpi-mass-ocs-import
Pass pass Johannbg
Yes Maintainer FIXED
hplip
Pass pass Johannbg
Yes Maintainer FIXED Cron job dropped
indefero #989037
Inprogress inprogress Johannbg
Yes Nobody
libvirt-sandbox #N/A
Fail fail Nobody
No Nobody Logrotate workaround which needs to be fixed @ logroate
lightsquid #989072
Inprogress inprogress Johannbg
Yes Nobody
limph-hostagent
Pass pass Johannbg
Yes Maintainer FIXED
logcheck
Pass pass Johannbg
Yes Maintainer FIXED
logrotate #N/A
Fail fail Nobody
No Nobody Requires larger patchset
logwatch #989075
Inprogress inprogress Johannbg
Yes Nobody
ltsp-server #989076
Inprogress inprogress Johannbg
Yes Nobody
man-db #989077
Inprogress inprogress Johannbg
Yes Nobody
mlocate
Pass pass Johannbg
No Maintainer FIXED
moodle
Pass pass Johannbg
Yes Maintainer FIXED
munin #989080
Inprogress inprogress Johannbg
Yes Nobody
nordugrid-arc-gridmap-utils
Pass pass Johannbg
Yes Maintainer FIXED
ocsinventory-agent
Pass pass Johannbg
Yes Maintainer FIXED
olpc-update
Pass pass Maintainer
No Nobody Has been migrated to timer units by maintainer
openshift-origin-cartridge-cron #989089
Inprogress inprogress Johannbg
Yes Nobody
PackageKit-cron #989090
Inprogress inprogress Johannbg
Yes Nobody
pam_shield #989095
Inprogress inprogress Johannbg
Yes Nobody
prelink #989102
Inprogress inprogress Johannbg
Yes Nobody
queuegraph #989107
Inprogress inprogress Johannbg
Yes Nobody
rancid #989109
Inprogress inprogress Johannbg
Yes Nobody
rkhunter
Pass pass Johannbg
Yes Maintainer FIXED
rpm-cron #N/A
Pass pass Nobody
No Maintainer
safekeep-server #989113
Inprogress inprogress Johannbg
Yes Nobody
slrn-pull
passs Johannbg
Yes Maintainer FIXED
snapper #989115
Inprogress inprogress Johannbg
Yes Nobody
spacewalk-dobby #N/A
Fail fail Nobody
No Nobody Orphan
squirrelmail #989121
Inprogress inprogress Johannbg
Yes Nobody
system-autodeath #989122
Inprogress inprogress Johannbg
Yes Nobody
sysusage #989123
Inprogress inprogress Johannbg
Yes Nobody
tmpwatch #N/A
Pass pass Nobody
No Maintainer FIXED Cron job dropped
tripwire #989125
Inprogress inprogress Johannbg
Yes Nobody
unbound-libs #N/A
Pass pass Nobody
No Maintainer
webacula #989126
Inprogress inprogress Johannbg
Yes Noboby looks abandon
webalizer #N/A
Pass pass Nobody
No Maintainer
WebCalendar #989127
Inprogress inprogress Johannbg
Yes Nobody
x509watch #989128
Inprogress inprogress Johannbg
Yes Nobody