tag -1 - patch
thanks
Am 06.08.2023 um 09:41 schrieb Volker Klasen:
Package: needrestart
Version: 3.6-5
Severity: normal
Tags: patch

Dear Maintainer,

I am using a service created via systemd-run to run unattended-upgrade. Today, 
needrestart restarted this service as some libraries have been updated, which 
resulted in two runs, one failed and another one.

I suspect that commands started/run via systemd-run will most likely be oneshot 
commands, which shouldn't be restarted. Therefore, I added run services to 
override_rc and would like to see this in the default configuration for 
needrestart.

I attached a patch which will do this.

Hello,
I dont think this would be a good idea. Also if it is a oneshot service you may want to know if it is maybe vulnerable.

--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: https://www.linux-dev.org/
E-Mail: pmatth...@debian.org
        patr...@linux-dev.org
*/

Reply via email to