Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #267998

Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit)

From Eduard Bloch <edi@gmx.de>
Newsgroups linux.debian.user, linux.debian.bugs.dist
Subject Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit)
Date 2024-03-03 13:30 +0100
Message-ID <IdT8B-e8xw-9@gated-at.bofh.it> (permalink)
References <I6gc1-9pZS-3@gated-at.bofh.it> <I6oVX-9vkn-1@gated-at.bofh.it> <I6w77-9zO0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


reopen 915379
thanks

Hallo,
* David Wright [Sun, Feb 11 2024, 10:20:16PM]:
> On Sun 11 Feb 2024 at 20:41:51 (+0000), Darac Marjal wrote:
> > On 11/02/2024 11:21, Rainer Dorsch wrote:
>
> > > - How do I set a timeout/limit for anacron, that it cannot block forever
> > > during a reboot?
> >
> > It may be germane to point out that anacron.service already explicitly
> > sets "TimeoutStopSec=Infinity". So, in the opinion of the developers,
> > the service shouldn't be prematurely killed. Of course you, as the
> > system administrator, always have the right to countermand that sort
> > of decision, but it would be curious to find out why the developers
> > thought they needed to override the systemd default in the first
> > place?
>
> Bug #915379 explains all: long-running cron jobs, like backups, can
> get killed, and there was also an issue with exim.

Yes, and? The opposite is: you have some stupid (and UNKNOWN) task which
hangs forever because of some programming bug. And then your whole system
locks up, unable to reboot, and no way to recover it because the reboot
is stuck because of this. I am observing this on my old hacking laptop
right now, the system took many minutes (5? 7?) to continue, but even
that was pure luck.

Sorry, no, that cannot be the proper way. I am reopening 915379 now, the
maintainer should maybe come up with some sane solution.

Best regards,
Eduard.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[  *** ] Job anacron.service/stop running (15min 49s / no limit) Rainer Dorsch <ml@bokomoko.de> - 2024-02-11 12:30 +0100
  Re: [  *** ] Job anacron.service/stop running (15min 49s / no limit) Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-02-11 15:30 +0100
  Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit) Darac Marjal <mailinglist@darac.org.uk> - 2024-02-11 21:50 +0100
    Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit) Max Nikulin <manikulin@gmail.com> - 2024-02-12 03:40 +0100
    Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit) David Wright <deblis@lionunicorn.co.uk> - 2024-02-12 05:30 +0100
      Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit) Rainer Dorsch <ml@bokomoko.de> - 2024-02-12 21:20 +0100
        Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit) Max Nikulin <manikulin@gmail.com> - 2024-02-13 03:30 +0100
      Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit) Eduard Bloch <edi@gmx.de> - 2024-03-03 13:30 +0100
        Re: [ *** ] Job anacron.service/stop running (15min 49s / no limit) David Wright <deblis@lionunicorn.co.uk> - 2024-03-04 03:00 +0100

csiph-web