FOSDEM systemd hackfest? / systemd-cron
    Alexandre Detiste 
    alexandre.detiste at gmail.com
       
    Thu Jan 28 09:16:03 GMT 2016
    
    
  
Le mercredi 27 janvier 2016, 07:53:12 Martin Pitt a écrit :
> Hello fellow Debian systemd friends,
> 
> this Friday there is a systemd hackfest in Brussels, right before
> FOSDEM:
> 
>   http://lists.freedesktop.org/archives/systemd-devel/2016-January/035602.html
Hi,
I'm doing my own hackfest at home ;-)
As it seems than to ensure sysvinit compatibilty Debian
will also have to support crontabs forever;
I finally decided to tackle the rewrite of systemd-cron in C;
to allow to fix lasts bugs & speed up boot.
https://github.com/systemd-cron/systemd-cron-c
This is the single most important feature of this tool:
doing nothing when a matching native timer is present.
    CRONTAB_FILES = files('/etc/cron.d')
    for filename in CRONTAB_FILES:
        basename = os.path.basename(filename)
        if (os.path.exists('@unitdir@/%s.timer' % basename)
         or os.path.exists('/etc/systemd/system/%s.timer' % basename)):
            log(5, 'ignoring %s because native timer is present' % filename)
            continue
When this rewrite done, this means this "all" package will become an "linux-any" one.
But as the docs says:
   "Once you have your key in the debian-maintainers keyring, 
   you will be able to upload packages, where the following conditions hold:
   * the package does not have to pass through the NEW queue"
So, please, Martin, could you sponsor the pending upload ?
This would allow package to already enter now the NEW queue.
The C rewrite is not yet included, only the setgid helper that allow non-root users
to use crontabs; this feature has been enabled for more than a year on Arch & Gentoo
& several time reviewed; yet, another reviews are always welcome:
https://github.com/systemd-cron/systemd-cron/blob/master/src/bin/crontab_setgid.c
Some next step would be to ask Vixie's crontab be spun of "cron" package
and shared by cron & systemd-cron; then the Python depedency
could be dropped.
> Does anyone want to meet there? I'm near Brussels anyway (in Leuven),
"Löwen", as would sometimes SAP print on your customers
mailings if you don't take care ;-)
Greets,
Alexandre
    
    
More information about the Pkg-systemd-maintainers
mailing list