From: Darrick J. Wong Date: Wed, 10 Jan 2024 05:57:24 +0000 (-0800) Subject: debian: don't restart e2scrub_all when upgrading package X-Git-Tag: v1.47.1-rc1~69 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a4c91450875ce6c9bf2aa1c82ccdc75909648f00;p=tools%2Fe2fsprogs.git debian: don't restart e2scrub_all when upgrading package When installing or upgrading the e2fsprogs package, only start the e2scrub_all timer and the reaping service. Don't restart e2scrub_all itself, because that will kill any scrubs in progress, which will trigger the failure reporting. Signed-off-by: Darrick J. Wong Link: https://lore.kernel.org/r/20240110055724.GC722946@frogsfrogsfrogs Signed-off-by: Theodore Ts'o --- diff --git a/debian/rules b/debian/rules index b85976f..0120fe6 100755 --- a/debian/rules +++ b/debian/rules @@ -148,6 +148,10 @@ override_dh_installinfo: dh_installinfo -pcomerr-dev ${stdbuilddir}/lib/et/com_err.info dh_installinfo -plibext2fs-dev ${stdbuilddir}/doc/libext2fs.info +override_dh_installsystemd: + dh_installsystemd -p e2fsprogs --no-restart-after-upgrade --no-stop-on-upgrade e2scrub_all.timer e2scrub_reap.service + dh_installsystemd --name=service1 + override_dh_makeshlibs: for i in $(SYMBOL_LIBS); \ do \