Hi Lorenzo,

On Wed, Aug 27, 2014 at 02:29:20PM +0200, Lorenzo wrote:
> On 08/27/2014 06:30 AM, Tiago Bortoletto Vaz wrote:
> >Hi Lorenzo,
> >
> >Thanks for your detailed report, I was not aware of this issue.
> >
> >However, I'm not sure if I understood your proposal. If we include the
> >old cron daily script we'll end with at least two issues which were
> >fixed by removing it. One is having two instances of apticron running
> >(potencially at the same time). Other is having the cron daily running
> >apticron at the same time, which can break network if you have many
> >systems using it in your network.
> >
> >Sorry if I misunderstood, I'm open to deal with this systemd-cron thing,
> >but I can't think of a simple solution now.
> >
> I'm not a fan of systemd-cron(*); I was going to ask to switch the
> dependency from cron to cron-daemon, but that wouldn't be feasible because
> systemd-cron is a __broken__ replacement for cron (until bug 752376 is
> fixed), so I proposed running apticron in cron.daily to work around that
> issue.
> 
> Since it's systemd-cron's fault:
> - the "clean" solution would be to depend on cron-daemon with a note
> (changelog, "Breaks:", whatever) that systemd-cron needs to be fixed
> - the hackish solution, to add an entry in cron.daily and __only__ run it if
> systemd-cron is detected (something like "test -e
> /lib/systemd/system/cron-daily.service && (run apticron)")

This sounds good to me, considering the popularity of systemd-cron :\
Otherwise I wouldn't go for such workaround.

I'll try to find some time during my days in debconf to apply it.
Patches are welcome. Thanks again for reporting.

Bests,

-- 
--------------------------------------------------------------------------------
  .''`.  Tiago Bortoletto Vaz                         GPG  :      4096R/E4B6813D
 : :' :  http://acaia.ca/~tiago                       XMPP : tiago at jabber.org
 `. `'   tiago _at_ {acaia.ca, debian.org}            IRC  :       tiago at OFTC
   `-    Debian GNU/Linux - The Universal OS               http://www.debian.org
--------------------------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to