Control: tag -1 moreinfo On Sat, Feb 15, 2014 at 14:07:54 +0100, Sébastien Villemot wrote: > Dear Release Team, > > Please find attached a proposed update for anacron. It fixes #688665: > basically, if anacron is installed while systemd is PID 1, then daily cron jobs > are never run (unless the machine is rebooted or suspended/resumed). > > The proposed fix consists in adding a .service file (see #688665 log for the > reasoning). Incidentally, note that this ensure that nothing is broken for > non-systemd users. Hi Sébastien, are you still interested in this update for wheezy? > diff -Nru anacron-2.3/debian/anacron.service anacron-2.3/debian/anacron.service > --- anacron-2.3/debian/anacron.service 1970-01-01 00:00:00.000000000 +0000 > +++ anacron-2.3/debian/anacron.service 2014-02-15 12:52:28.000000000 +0000 > @@ -0,0 +1,9 @@ > +[Unit] > +Description=Run anacron jobs > +After=time-sync.target > + > +[Service] > +ExecStart=/usr/sbin/anacron -dsq > + > +[Install] > +WantedBy=multi-user.target In jessie, this uses ConditionACPower=true. Is that not possible in wheezy? Cheers, Julien
Attachment:
signature.asc
Description: Digital signature