(→Cron to Systemd migration: + spamassasin) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 25: | Line 25: | ||
Sample systemd time unit usage | Sample systemd time unit usage | ||
ackme.service: | |||
<pre> | |||
[Unit] | |||
Description=Ackme Service | |||
Documentation=man:ackmed(1) | |||
[Service] | |||
ExecStart=/usr/bin/ackmed | |||
ackme.timer | [Install] | ||
WantedBy=multi-user.target | |||
</pre> | |||
ackme-job.timer | |||
<pre> | <pre> | ||
[Unit] | [Unit] | ||
Description=Ackme Sample Timer Unit | Description=Ackme Sample Timer Unit | ||
Documentation=man:ackmed(1) | |||
BindTo=ackme.service | BindTo=ackme.service | ||
[Timer] | [Timer] | ||
OnCalendar=daily | OnCalendar=daily | ||
[Install] | [Install] | ||
WantedBy= | WantedBy=ackme.service | ||
</pre> | </pre> | ||
ackme.service | ackme-job.service | ||
<pre> | <pre> | ||
[Unit] | [Unit] | ||
Description=ackme | Description=Daily ackme Job | ||
Documentation=man:ackmed(1) | Documentation=man:ackmed(1) | ||
[Service] | [Service] | ||
User=ackme | User=ackme | ||
ExecStart=/usr/bin/ | ExecStart=/usr/bin/acme-job | ||
</pre> | </pre> | ||
Line 71: | Line 78: | ||
|arm4||[https://bugzilla.redhat.com/show_bug.cgi?id=991696 #991696]||{{result|inprogress|Johannbg}}||Yes||Nobody|| | |arm4||[https://bugzilla.redhat.com/show_bug.cgi?id=991696 #991696]||{{result|inprogress|Johannbg}}||Yes||Nobody|| | ||
|- | |- | ||
|atop||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| Cron job restarts | |atop||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| Cron job restarts service could potentially be a feature | ||
|- | |- | ||
|bcfg2||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | |bcfg2||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | ||
Line 119: | Line 126: | ||
|ovirt-node||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | |ovirt-node||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | ||
|- | |- | ||
|polipo||[https://bugzilla.redhat.com/show_bug.cgi?id= | |polipo||[https://bugzilla.redhat.com/show_bug.cgi?id=1053590 #1053590]||{{result|inprogress|Ttorcz}}||No||Nobody|| | ||
|- | |- | ||
|sagator-core||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | |sagator-core||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | ||
Line 125: | Line 132: | ||
|sipwitch||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | |sipwitch||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | ||
|- | |- | ||
|spamassassin||[https://bugzilla.redhat.com/show_bug.cgi?id= | |spamassassin||[https://bugzilla.redhat.com/show_bug.cgi?id=1064537 #1064537]||{{result|inprogress|Ttorcz}}||No||Nobody|| | ||
|- | |- | ||
|squidGuard||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | |squidGuard||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody|| | ||
Line 191: | Line 198: | ||
|indefero||[https://bugzilla.redhat.com/show_bug.cgi?id=989037 #989037]||{{result|inprogress|Johannbg}}||Yes||Nobody|| | |indefero||[https://bugzilla.redhat.com/show_bug.cgi?id=989037 #989037]||{{result|inprogress|Johannbg}}||Yes||Nobody|| | ||
|- | |- | ||
|libvirt-sandbox||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody||Logrotate workaround which needs to be fixed @ | |libvirt-sandbox||[https://bugzilla.redhat.com/show_bug.cgi?id=N/A #N/A]||{{result|fail|Nobody}}||No||Nobody||Logrotate workaround which needs to be fixed @ logrotate | ||
|- | |- | ||
|lightsquid||[https://bugzilla.redhat.com/show_bug.cgi?id=989072 #989072]||{{result|inprogress|Johannbg}}||Yes||Nobody|| | |lightsquid||[https://bugzilla.redhat.com/show_bug.cgi?id=989072 #989072]||{{result|inprogress|Johannbg}}||Yes||Nobody|| |
Latest revision as of 15:40, 18 February 2014
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 Documentation=man:ackmed(1) BindTo=ackme.service [Timer] 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 | #1053590 | No | Nobody | ||
sagator-core | #N/A | Nobody |
No | Nobody | |
sipwitch | #N/A | Nobody |
No | Nobody | |
spamassassin | #1064537 | 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 |