Bug#915379: anacron.service: should probably use KillMode=process

2022-08-23 Thread Melvin Vermeeren
Hi Lance, Thanks for your reply! On Tuesday, 23 August 2022 14:33:11 CEST Lance Lin wrote: > > 1. Always let jobs finish cleanly: TimeoutStopSec=infinity > > I strongly prefer this option in all cases (desktop/server/...). > > Sure, I think this is easy enough to do and it does make sense. > >

Bug#915379: anacron.service: should probably use KillMode=process

2022-08-12 Thread Melvin Vermeeren
Hi, I ran into this problem today. Automated upgrades with unattended-upgrades upgraded debianutils. Then needrestart decided that anacron.service needed to be restart. However, backup cron jobs were running at the time, which take longer than a minute or two. After the brief timeout every sin

Bug#915379: anacron.service: should probably use KillMode=process

2022-01-23 Thread Tomas Janousek
Hi again, On Sat, Dec 25, 2021 at 08:27:58PM +, Tomas Janousek wrote: This entry in the systemd 250 NEWS gives me hope this might be fixed in a nice way eventually: * A new service unit file setting ExitType= has been added that specifies when to assume a service has exited. By def

Bug#915379: anacron.service: should probably use KillMode=process

2021-12-25 Thread Tomas Janousek
Hi, On Fri, Feb 26, 2021 at 09:08:18AM +0100, Marc Haber wrote: Worse. If the receiving side does post-DATA checking of the message, and systemd sends SIGKILL to the exim process on the sending side, the receiving side might continue delivery without the sending side noticing the confirmation (i

Bug#915379: anacron.service: should probably use KillMode=process

2021-02-26 Thread Marc Haber
On Wed, Nov 11, 2020 at 09:34:16AM +, Tomas Janousek wrote: > On Mon, Dec 03, 2018 at 01:42:58PM -0500, Boyuan Yang wrote: > > I chose KillMode=mixed intentionally. Here's the reason: we want to stop > > anacron service elegantly and not to abruptly kill any process inside the > > control group

Bug#915379: anacron.service: should probably use KillMode=process

2020-11-11 Thread Tomas Janousek
Hi Boyuan. On Mon, Dec 03, 2018 at 01:42:58PM -0500, Boyuan Yang wrote: > I chose KillMode=mixed intentionally. Here's the reason: we want to stop > anacron service elegantly and not to abruptly kill any process inside the > control group. Anacron is accepting SIGUSR1 and interprets it as the requ

Bug#915379: anacron.service: should probably use KillMode=process

2018-12-03 Thread Ansgar Burchardt
Package: anacron Version: 2.3-26 Severity: normal anacron.service currently uses KillMode=mixed. It probably should not. KillMode=mixed sends SIGTERM to anacron and then SIGKILL to any processes started by anacron. The default (KillMode=control-group) would send SIGTERM to all processes which i