From 1b864fbf72c9a08067af34b6b288691e803b3ba6 Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Wed, 16 Apr 2025 08:06:54 +0200 Subject: [PATCH] Remove plocate to avoid updatedb going crazy with scanning the file system once a day --- Dockerfile | 3 +++ etc/updatedb.conf | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 etc/updatedb.conf diff --git a/Dockerfile b/Dockerfile index 748899d..1288c8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -150,6 +150,9 @@ RUN dkms install zfs/$(ls /usr/src/ | grep zfs- | cut -d- -f2-) -k $(rpm -q --qu # Install Gnome Boxes RUN rpm-ostree install gnome-boxes +# Remove plocate to avoid updatedb going crazy with scanning the file system once a day +RUN rpm-ostree override remove plocate + # enable scx service RUN systemctl enable scx.service diff --git a/etc/updatedb.conf b/etc/updatedb.conf deleted file mode 100644 index 5ba57c0..0000000 --- a/etc/updatedb.conf +++ /dev/null @@ -1,4 +0,0 @@ -# https://bugzilla.redhat.com/show_bug.cgi?id=2033216 -PRUNEFS = "9p afs autofs binfmt_misc ceph cgroup cgroup2 cifs coda configfs curlftpfs debugfs devfs devpts devtmpfs ecryptfs ftpfs fuse.ceph fuse.cryfs fuse.encfs fuse.glusterfs fuse.gvfsd-fuse fuse.mfs fuse.rclone fuse.rozofs fuse.sshfs > -# https://bugzilla.redhat.com/show_bug.cgi?id=2097889 -PRUNEPATHS = "/tmp /media /dev /sys /proc /run /var/cache /var/spool /var/.snapshot.home"