Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-11-11 Thread Lennart Poettering
On Thu, 30.10.14 00:27, Alexandre Detiste (alexandre.deti...@gmail.com) wrote: Is systemctl daemon-reload really synchronous, or does it return before the reload if effectively done ? (I saw the --no-block argument that make me fear this) It is synchronous. --no-block mostly applies to

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-29 Thread Alexandre Detiste
Le mercredi 22 octobre 2014, 13:07:39 Lennart Poettering a écrit : So, I thought myself a couple of times about adding a cron generator upstream, but always came to the conclusion that having to load the configuration **twice** during boot-up would be suboptimal. Well, you can order your reload

[systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
Hi, I have been maitaining systemd-crontab-generator for some months, this is a generator developped outside of systemd that translates the crontabs in timer service units. I have two unresolved bugs in our tracker that I don't know how to tackle in the most systemd-way. Maybe you know

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 09:56, Alexandre Detiste (alexandre.deti...@gmail.com) wrote: Hi, I have been maitaining systemd-crontab-generator for some months, this is a generator developped outside of systemd that translates the crontabs in timer service units. I have two unresolved bugs in our

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 09:44 AM, Lennart Poettering wrote: So, I thought myself a couple of times about adding a cron generator upstream As far as I can tell generators serve only one purpose and that is to bridge an gap to allow users of consumers of systemd to migrate to it's native format hence I

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Ivan Shapovalov
On Wednesday 22 October 2014 at 10:26:49, Jóhann B. Guðmundsson wrote: On 10/22/2014 09:44 AM, Lennart Poettering wrote: So, I thought myself a couple of times about adding a cron generator upstream As far as I can tell generators serve only one purpose and that is to bridge an gap

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
-) how can I trigger a rerun of the generator generators are rerun if you issue systemctl daemon-reload I already know, this is what our trigger unit does. https://github.com/systemd-cron/systemd-cron/blob/master/src/units/cron-update.service.in

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 14:48, Ivan Shapovalov (intelfx...@gmail.com) wrote: On Wednesday 22 October 2014 at 10:26:49, Jóhann B. Guðmundsson wrote: On 10/22/2014 09:44 AM, Lennart Poettering wrote: So, I thought myself a couple of times about adding a cron generator upstream As

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 13:03, Alexandre Detiste (alexandre.deti...@gmail.com) wrote: -) how can I trigger a rerun of the generator generators are rerun if you issue systemctl daemon-reload I already know, this is what our trigger unit does.

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
Or to put this differently we will not create. come up with, ship ( and thus support those ) generators but expect consumers of systemd to use systemd and it's format natively in their environment. Alexandre why did you decide to write that generate to begin with? Hi, I've been using

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 11:16 AM, Alexandre Detiste wrote: Why not migrate what needs to be migrated to native system timer formats for those relevant component and leave the rest be handled by the traditional cron daemons since those two components complement each others shortcomings ? The rest ? The

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
(sorry mail fired up too soon) Or to put this differently we will not create. come up with, ship ( and thus support those ) generators but expect consumers of systemd to use systemd and it's format natively in their environment. Alexandre why did you decide to write that generate to begin

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
Why not migrate what needs to be migrated to native system timer formats This would be the responsability of each individual package manager; after some policy would have mandated it and it's too late before the release freeze. Debian only ships exaclty one timer now:

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 11:26 AM, Alexandre Detiste wrote: it just doesn't send emails like cron; but that will remain an wontfix I guess. Systemd itself does not send email but you can configure the timer units ( the service part ) to do so when they fail via OnFailure=trigger custom email script

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 11:51 AM, Alexandre Detiste wrote: Why not migrate what needs to be migrated to native system timer formats This would be the responsability of each individual package manager; after some policy would have mandated it and it's too late before the release freeze. Debian only