]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
debian: enable xfs_healer on the root filesystem by default
authorDarrick J. Wong <djwong@kernel.org>
Sun, 22 Feb 2026 22:41:18 +0000 (14:41 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 9 Apr 2026 22:30:18 +0000 (15:30 -0700)
commitbd61d2b9c8527f1f7bf86df45280ab46592bea7d
treec2584521ae8b367e7964c23d08cbcadfe6250049
parentdfee401c10bce4d33cc68200691791358e578c90
debian: enable xfs_healer on the root filesystem by default

Now that we're finished building autonomous repair, enable the healer
service on the root filesystem by default.  The root filesystem is
mounted by the initrd prior to starting systemd, which is why the
xfs_healer_start service cannot autostart the service for the root
filesystem.

dh_installsystemd won't activate a template service (aka one with an
at-sign in the name) even if it provides a DefaultInstance directive to
make that possible.  Hence we enable this explicitly via the postinst
script.

Note that Debian enables services by default upon package installation,
so this is consistent with their policies.  Their kernel doesn't enable
online fsck, so healer won't do much more than monitor for corruptions
and log them.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
debian/postinst
debian/prerm [new file with mode: 0644]
debian/rules