Bug#767894: More permission issues

Yuri D'Elia wavexx at thregr.org
Mon Nov 3 11:54:05 GMT 2014


On 11/03/2014 12:48 PM, Yuri D'Elia wrote:
>> e.g.: http://anonscm.debian.org/cgit/pkg-cron/pkg-cron.git/tree/debian/postinst
>>
>> Having crontab translate on the fly user crontabs into ~/.config/systemd/user
>> service & timers (systemd --user) would avoid all these security problems.
>>
>> This need a refactor of the generator to turn it into a module that
>> can be called from crontab.
>>
>> crontab -l & -e would just parse back the "Description=[cron] " records
> 
> FIY, systemd does not currently save timer stamps when run under --user:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767086q
> 
> I would recommend waiting for this to be fixed before moving jobs to
> ~/.config/systemd/user.
> 
> After this is fixed, then yes, it would actually be much better.

Humm, although moving the jobs to the systemd --user instance would
require the user to:

1: have lingering enabled (we could check for this in crontab and emit a
warning maybe?)
2: login at least once(!) to start the user session.

#2 is a deal-breaker.




More information about the Pkg-systemd-maintainers mailing list