Am 12.11.2018 um 14:28 schrieb Boyuan Yang: > Hi Michael, > > (see below...) > > Michael Biebl <biebl@debian.org> 于2018年11月12日周一 上午7:44写道: >> >> >> Hi >> >> On Mon, 12 Nov 2018 00:18:54 +0000 Boyuan Yang <byang@debian.org> wrote: >> >>> anacron (2.3-26) unstable; urgency=medium >>> . >>> * QA upload. >>> * debian/60-anacron.rules: >>> + Add new udev rule to trigger anacron when external power supply >>> is online. (Closes: #864213). >> >> Please don't do that, i.e. starting potentially long running tasks from >> a udev rules file. >> This is explicitly documented as not supported: >> https://manpages.debian.org/unstable/udev/udev.7.en.html >> >> ============================================================== >> This can only be used for very short-running foreground tasks. Running >> an event process for a long period of time may block all further events >> for this or a dependent device. >> Starting daemons or other long-running processes is not appropriate for >> udev; the forked processes, detached or not, will be unconditionally >> killed after the event handling has finished. >> ============================================================== >> >> As we nowadays trigger cron hourly, I would guess the original issue is >> no longer valid anyways, as the chance that cron is executed is now much >> higher. >> >> Please consider dropping the udev rule again. > > Current implementation is to call invoke-rc.d, which is non-blocking and will > return immediately. This is not correct -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature