From: Darrick J. Wong Date: Tue, 20 Jan 2026 17:51:51 +0000 (-0800) Subject: debian: don't explicitly reload systemd from postinst X-Git-Tag: v6.19.0~26 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=609a3154ba082348cbe4af19a88ba1ad41e12213;p=xfsprogs-dev.git debian: don't explicitly reload systemd from postinst Now that we use dh_installsystemd, it's no longer necessary to run systemctl daemon-reload explicitly from postinst because dh_installsystemd will inject that into the DEBHELPER section on its own. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- diff --git a/debian/postinst b/debian/postinst index 2ad91746..d11c8d94 100644 --- a/debian/postinst +++ b/debian/postinst @@ -8,9 +8,6 @@ case "${1}" in then update-initramfs -u fi - if [ -x /bin/systemctl ]; then - /bin/systemctl daemon-reload 2>&1 || true - fi ;; abort-upgrade|abort-remove|abort-deconfigure)