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


Groups > linux.debian.user > #203037

Re: systemd+anacron breaks cron jobs

From Michael Biebl <biebl@debian.org>
Newsgroups linux.debian.user
Subject Re: systemd+anacron breaks cron jobs
Date 2018-12-05 08:00 +0100
Message-ID <x1zk5-786-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> On Mon, 03 Dec 2018, Kamil Jońca wrote:
>> >> Dec 03 00:23:54 alfa systemd[1]: anacron.service: State 'stop-sigterm' timed out. Killing.
>> > See, someone or some script told systemd to stop anacron (or maybe to
>> > stop-and-start/restart it).  THIS is causing the undesired behavior.
>> 
>> Dec 03 00:22:24 alfa systemd[1]: Stopping Run anacron jobs...
>> Dec 03 00:22:24 alfa anacron[8919]: Received SIGUSR1
>> Dec 03 00:23:54 alfa systemd[1]: anacron.service: State 'stop-sigterm' timed out. Killing.
> 
> Looks like something asked systemd to send sigusr1 to anacron, which is
> "clean exit" for anacron.  Since the anacron package told systemd to use
> "killmode mixed", it waits for a while, then proceeds to SIGKILL
> everything in the group because they took too long to die.
> 
> It is a bug, but on anacron, not systemd.  systemd is doing exactly what
> it was (mis)configured to do by the anacron package.
> 
> And something *is* asking anacron to restart or to stop.  Look at your
> log rotation scripts (and also anacron's).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864213#25
If you drop /lib/udev/rules.d/60-anacron.rules my bet is that the
problem is gone.
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

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


Thread

Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 08:00 +0100
  Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 09:00 +0100
    Re: systemd+anacron breaks cron jobs kjonca@fastmail.com (Kamil Jońca) - 2018-12-05 09:20 +0100
      Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 10:10 +0100
        Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 10:30 +0100
          Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:10 +0100
            Re: systemd+anacron breaks cron jobs kjonca@fastmail.com (Kamil Jońca) - 2018-12-05 11:10 +0100
              Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:10 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:20 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 11:30 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:50 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 12:00 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 12:40 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 12:50 +0100
                Re: systemd+anacron breaks cron jobs Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-12-05 19:00 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 19:20 +0100
                Re: systemd+anacron breaks cron jobs Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-12-05 19:40 +0100

csiph-web