]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Merge tag 'scrub-service-security-6.10_2024-07-29' of https://git.kernel.org/pub...
authorCarlos Maiolino <cem@kernel.org>
Tue, 6 Aug 2024 13:48:23 +0000 (15:48 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 6 Aug 2024 13:48:23 +0000 (15:48 +0200)
xfs_scrub: tighten security of systemd services [v30.9 14/28]

To reduce the risk of the online fsck service suffering some sort of
catastrophic breach that results in attackers reconfiguring the running
system, I embarked on a security audit of the systemd service files.
The result should be that all elements of the background service
(individual scrub jobs, the scrub_all initiator, and the failure
reporting) run with as few privileges and within as strong of a sandbox
as possible.

Granted, this does nothing about the potential for the /kernel/ screwing
up, but at least we could prevent obvious container escapes.

This has been running on the djcloud for months with no problems.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

Trivial merge