Confirmed this is a bug, I just installed bullseye and noticed Tracker syslog
noise.
Specifically the system user is: "Debian-gdm" (login screen)
Because services are "WantedBy=default.target"
...so symlinked from: /etc/systemd/user/default.target.wants/
The fix is to modify one line in both:
/usr/lib/systemd/user/tracker-extract.service
/usr/lib/systemd/user/tracker-miner-fs.service
From:
ConditionUser=!root
To:
ConditionUser=!@system
sed -i 's|ConditionUser=!root|ConditionUser=!@system|'
/usr/lib/systemd/user/tracker-{extract,miner-fs}.service
man systemd.unit # reference for ConditionUser: @system = uid < 1000
Other than lobotomizing the system to disable it system wide,
The easy way to disable tracker for one user as that user:
# Disable autostarts:
for f in /etc/xdg/autostart/tracker*; do echo -e "[Desktop
Entry]\nType=Application\n$(grep Name= $f)\nHidden=true" >
~/".config/autostart/${f##*/}"; done
# Disable tracker systemd user services:
systemctl --user --now mask $(basename -a /usr/lib/systemd/user/tracker*)
# Doesn't hurt to also disable using GNOME settings:
gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2 # disable
gsettings set org.freedesktop.Tracker.Miner.Files enable-monitors false #
disable
Cheers.