From Fedora Project Wiki
(Remove template warning)
(Update Change page to contain required fields from the Change template)
Line 29: Line 29:
* Name: [[User:Johannbg| Jóhann B. Guðmundsson]]
* Name: [[User:Johannbg| Jóhann B. Guðmundsson]]
* Email: johannbg AT gmail DOT com
* Email: johannbg AT gmail DOT com
 
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->


== Current status ==
== Current status ==
Line 35: Line 35:
* Targeted release: [[Releases/Fedora 21 | Fedora 21 ]]  
* Targeted release: [[Releases/Fedora 21 | Fedora 21 ]]  
* Last updated: 04/03/2014
* Last updated: 04/03/2014
 
* Tracker bug: <will be assigned by the Wrangler>


== Detailed Description ==
== Detailed Description ==
Line 44: Line 44:


Proper dependency in packages shipping cron jobs. Better systemd integration in the distribution.
Proper dependency in packages shipping cron jobs. Better systemd integration in the distribution.
[edit]


== Scope ==
== Scope ==


* Adjust packaging guidelines to fix dependency in cron packages [[Packaging/CronFiles| Package Cron Files]] DONE
* Policies and guidelines: Adjust packaging guidelines to fix dependency in cron packages [[Packaging/CronFiles| Package Cron Files]] DONE
* Fix spec files in packages that are not applicable for migration [https://bugzilla.redhat.com/show_bug.cgi?id=947037 Fix Cron Dependency Tracking Bug]
* Fix spec files in packages that are not applicable for migration [https://bugzilla.redhat.com/show_bug.cgi?id=947037 Fix Cron Dependency Tracking Bug]
* Adjust packaging guidelines to mention migration of cron jobs to timer units for packages that already depend on systemd  
* Adjust packaging guidelines to mention migration of cron jobs to timer units for packages that already depend on systemd  
Line 73: Line 72:
== Contingency Plan ==
== Contingency Plan ==


Continue to ship the cron jobs as is.  
* Contingency mechanism: Continue to ship the cron jobs as is.
* Contingency deadline: N/A
* Blocks release: No


== Documentation ==
== Documentation ==

Revision as of 14:23, 4 March 2014


cron to systemd time units

Summary

Fix dependency on crontab in packages containing cron jobs as well as migrate cron jobs that are applicable to native systemd timer units.

Owner

Current status

  • Targeted release: Fedora 21
  • Last updated: 04/03/2014
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

Add dependency on crontab in packages containing cron jobs as well as migrate cron jobs that are applicable to native systemd timer units in packages that already depend on systemd.

Benefit to Fedora

Proper dependency in packages shipping cron jobs. Better systemd integration in the distribution.

Scope

  • Policies and guidelines: Adjust packaging guidelines to fix dependency in cron packages Package Cron Files DONE
  • Fix spec files in packages that are not applicable for migration Fix Cron Dependency Tracking Bug
  • Adjust packaging guidelines to mention migration of cron jobs to timer units for packages that already depend on systemd
  • Review and migrate if applicable cron jobs shipped in packages that already depend on systemd Timer Migration Tracking Bug
  • Update systemd wikipage to contain timer units example

Upgrade/compatibility impact

For application that are applicable for migration the cron job will be migrated to native timer units.

How To Test

  • Install the package that contains the new native systemd timer unit file.
  • Check if the the time trigger ran

User Experience

Administrators will have better time trigger in units compared to cron jobs like for example when administrator stops a service/daemon the timer unit will stop as well etc.

Dependencies

No external dependency

Contingency Plan

  • Contingency mechanism: Continue to ship the cron jobs as is.
  • Contingency deadline: N/A
  • Blocks release: No

Documentation

  • updated guidelines and systemd wiki page

Release Notes

There shouldn't be anything we need to specifically say other than highlighting the change.