From 14035d22c4fb3d3d02abe2d95a74db932c7cf87d Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 23 Apr 2025 11:19:25 +0300 Subject: [PATCH] aminda-duperemove.service: run blkid --- etc/systemd/system/aminda-duperemove.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/systemd/system/aminda-duperemove.service b/etc/systemd/system/aminda-duperemove.service index c1a0437f..d1b5d0bd 100644 --- a/etc/systemd/system/aminda-duperemove.service +++ b/etc/systemd/system/aminda-duperemove.service @@ -5,6 +5,9 @@ Description=Aminda's deduplication service Type=oneshot TimeoutStartSec=infinity # Contained in `systemd-path search-binaries-default` +# I have observed duperemove requesting blkid to be ran as root for +# generating some cache, so sure. +ExecStart=-blkid ExecStart=-duperemove -rdhq --hashfile=/root/home.hash /home ExecStart=-duperemove -rdhq --hashfile=/root/usr-local-bin.hash /usr/local/bin ExecStart=-duperemove -rdhq --hashfile=/root/flatpak.hash /var/lib/flatpak