From: Darrick J. Wong <djwong@xxxxxxxxxx> 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 <djwong@xxxxxxxxxx> --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index b85976f0..0120fe6a 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 \