Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713986 - app-portage/pfl make cron job optional and provide systemd timer
Summary: app-portage/pfl make cron job optional and provide systemd timer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-22 13:08 UTC by Dennis Lamm
Modified: 2020-04-12 22:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Lamm gentoo-dev 2020-03-22 13:08:14 UTC
On Systemd systems it is not necesssary to have a cron job scheduler available, therfore the cron job is not executed. It would be good for such systems to have a systemd service and timer available.

Reproducible: Always

Steps to Reproduce:
1. install pfl

Actual Results:  
/etc/cron.weekly/pfl is always installed

Expected Results:  
on systemd systems a timer and service should be installed instead
Comment 1 bugs 2020-04-11 16:27:20 UTC
Hi Dennis,
I created a first version of a systemd timer file [1]. Can you have a look if this:

a) is what you expected
b) works for you

Thsnk
Daniel

[1] https://github.com/portagefilelist/client/blob/master/cron/pfl.timer
Comment 2 bugs 2020-04-11 19:00:17 UTC
new location of systemd files for pfl: https://github.com/portagefilelist/client/tree/master/systemd
Comment 3 Daniel Pielmeier gentoo-dev 2020-04-12 17:36:24 UTC
Should be fixed wit pfl-3.1. Please reopen if this is still an issue.