Hi all, This series fixes deficiencies in the systemd services that were created to manage background scans. First, improve the debian packaging so that services get installed at package install time. Next, fix copyright and spdx header omissions. Finally, fix bugs in the mailer scripts so that scrub failures are reported effectively. Finally, fix xfs_scrub_all to deal with systemd restarts causing it to think that a scrub has finished before the service actually finishes. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=scrub-service-fixes --- debian/rules | 1 + scrub/Makefile | 19 ++++++++++++--- scrub/xfs_scrub@xxxxxxxxxxx | 6 ++--- scrub/xfs_scrub_all.in | 49 ++++++++++++++++---------------------- scrub/xfs_scrub_fail.in | 9 +++++-- scrub/xfs_scrub_fail@xxxxxxxxxxx | 4 ++- 6 files changed, 48 insertions(+), 40 deletions(-) rename scrub/{xfs_scrub_fail => xfs_scrub_fail.in} (70%)