`plocate-updatedb.service` should not scan `virtiofs` filesystems

I was wondering why my Fedora 44 is slow running inside a virtual machine; finally I found that it is wasting CPU scanning huge imported filesystem from the host, via virtiofs. The fix is very simple, add virtiofs to PRUNEFS list inside /etc/updatedb.conf. Since this list already has 9p and various networked / distributed filesystems, the fact that it does not currently have virtiofs is an obvious omission.

I suggest you report as a bug and see what the maintainer of plocate thinks as this seems reasonable.

See Making sure you're not a bot!

plocate does not maintain a default configuration for updatedb (see git.sesse.net Git - plocate/tree ). Instead the default updatedb.conf is maintained in the package source, see line 52 in Making sure you're not a bot! . Is this chat the right channel, or should I raise an issue at Bug List ?

Raise the bug against the package you found in the Fedora bugzilla.

1 Like

Thanks, done 2481050 – High CPU utilization by updatedb when running inside virtual machine with attached virtiofs filesystem.