]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub_all: convert systemctl calls to dbus
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:18 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:45:35 +0000 (18:45 -0700)
commit5651808b9781c25fc4a9089a87d35b03c08e6013
tree4f2a629c25a707efa053744eb84dfb007bf8c3f5
parente371a829977576bd65ee12301eb71d6dc8b8f64b
xfs_scrub_all: convert systemctl calls to dbus

Convert the systemctl invocations to direct dbus calls, which decouples
us from the CLI in favor of direct API calls.  This spares us from some
of the insanity of divining service state from program outputs.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
debian/control
scrub/xfs_scrub_all.in