]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: fix systemd service protection
authorKarel Zak <kzak@redhat.com>
Mon, 22 Jul 2019 09:10:30 +0000 (11:10 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Jul 2019 09:10:30 +0000 (11:10 +0200)
commitc64d452b3eb85fe55e238144082247b05cc143ea
treee060005a4026e0f0247e253be9676cde6bf97ec8
parent1ace839781b73517790f714fbd9c9c48e2297148
fstrim: fix systemd service protection

ProtectHome=yes makes /home inaccessible, but we need to open the
directories (mountpoints) read-only.

Addresses: https://github.com/karelzak/util-linux/issues/824
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.service.in