Performing verification for Focal. I installed a fresh Focal VM. It has tracker-extract 2.3.3-2ubuntu0.20.04.1 and tracker-miner-fs 2.3.3-2ubuntu0.20.04.1 from -updates. I attached the VM to the samba active directory domain controller from my Jammy verification, with realm join. Looking at /proc/pid/environ, we see: $ cat /proc/$(pidof gvfsd)/environ | xargs --null -n1 HOME=/home/aduser LANG=en_NZ.UTF-8 LANGUAGE=en_NZ:en LOGNAME=aduser PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin SHELL=/bin/bash USER=aduser XDG_RUNTIME_DIR=/run/user/524601104 GTK_MODULES=gail:atk-bridge QT_ACCESSIBILITY=1 XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/var/lib/snapd/desktop DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/524601104/bus MANAGERPID=1188 INVOCATION_ID=c17f14eb3cd240259b51a1ed09317c5e JOURNAL_STREAM=8:31548 We see we are missing a lot of environment variables that the systemd --user session, has, namely KRB5CCNAME. Looking at the systemd unit files, for tracker-extract: aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-extract.service -rw-r--r-- 1 root root 0 Mar 17 2023 /var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-extract.service aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-extract.service.dsh-also -rw-r--r-- 1 root root 63 Mar 17 2023 /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-extract.service.dsh-also aduser@ubuntu:~$ ll /etc/systemd/user/default.target.wants/tracker-extract.service lrwxrwxrwx 1 root root 45 Feb 10 19:28 /etc/systemd/user/default.target.wants/tracker-extract.service -> /usr/lib/systemd/user/tracker-extract.service and for tracker-miner-fs: aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-miner-fs.service -rw-r--r-- 1 root root 0 Mar 17 2023 /var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-miner-fs.service aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-miner-fs.service.dsh-also -rw-r--r-- 1 root root 64 Mar 17 2023 /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-miner-fs.service.dsh-also aduser@ubuntu:~$ ll /etc/systemd/user/default.target.wants/tracker-miner-fs.service lrwxrwxrwx 1 root root 46 Feb 10 19:28 /etc/systemd/user/default.target.wants/tracker-miner-fs.service -> /usr/lib/systemd/user/tracker-miner-fs.service Now, tracker-extract is just like on Jammy, targeting default.target.wants. The difference on Focal, is for tracker-miner-fs, which targets default.target.wants as well, but as we will soon see, this will be changing to gnome-session.target. I then enabled -proposed, and installed tracker-extract 2.3.3-2ubuntu0.20.04.2 and tracker-miner-fs 2.3.3-2ubuntu0.20.04.2. Setting up tracker-extract (2.3.3-2ubuntu0.20.04.2) ... Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.6) ... Processing triggers for man-db (2.9.1-1) ... Setting up tracker-miner-fs (2.3.3-2ubuntu0.20.04.2) ... Installing new version of config file /etc/xdg/autostart/tracker-miner-fs.desktop ... Created symlink /etc/systemd/user/gnome-session.target.wants/tracker-miner-fs.service → /usr/lib/systemd/user/tracker-miner-fs.service. Great! We get dkpg output that we make a new symlink for tracker-miner-fs that points to gnome-session.target. I then rebooted, and we see the following for gvfs in /proc/pid/environ: $ cat /proc/$(pidof gvfsd)/environ | xargs --null -n1 HOME=/home/aduser LANG=en_NZ.UTF-8 LANGUAGE=en_NZ:en LOGNAME=aduser PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin SHELL=/bin/bash USER=ubuntu XDG_RUNTIME_DIR=/run/user/524601104 GTK_MODULES=gail:atk-bridge QT_ACCESSIBILITY=1 XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/524601104/bus DESKTOP_SESSION=ubuntu DISPLAY=:0 GDMSESSION=ubuntu GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SHELL_SESSION_MODE=ubuntu KRB5CCNAME=FILE:/tmp/krb5cc_524601104_U6Utes GPG_AGENT_INFO=/run/user/524601104/gnupg/S.gpg-agent:0:1 IM_CONFIG_PHASE=1 PWD=/home/aduser QT_IM_MODULE=ibus SESSION_MANAGER=local/ubuntu:@/tmp/.ICE-unix/1288,unix/ubuntu:/tmp/.ICE-unix/1288 SHLVL=0 SSH_AGENT_PID=1234 SSH_AUTH_SOCK=/run/user/524601104/keyring/ssh USERNAME=aduser WINDOWPATH=2 XAUTHORITY=/run/user/524601104/gdm/Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg XDG_CURRENT_DESKTOP=ubuntu:GNOME XDG_MENU_PREFIX=gnome- XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_TYPE=x11 XMODIFIERS=@im=ibus _=/usr/bin/dbus-update-activation-environment MANAGERPID=1125 INVOCATION_ID=73ad11ed9c194e529aa15ef38d9ec15d JOURNAL_STREAM=8:32581 We see many more environment variables added to gvfs, including KRB5CCNAME. Looking at the systemd unit file symlinks, we have: tracker-extract: aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-extract.service ls: cannot access '/var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-extract.service': No such file or directory aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-extract.service.dsh-also ls: cannot access '/var/lib/systemd/deb-systemd-user-helper-enabled/tracker-extract.service.dsh-also': No such file or directory aduser@ubuntu:~$ ll /etc/systemd/user/default.target.wants/tracker-extract.service ls: cannot access '/etc/systemd/user/default.target.wants/tracker-extract.service': No such file or directory tracker-extract has been cleaned up properly. tracker-miner-fs: aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-miner-fs.service ls: cannot access '/var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-miner-fs.service': No such file or directory aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-miner-fs.service.dsh-also -rw-r--r-- 1 root root 70 Feb 10 21:41 /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-miner-fs.service.dsh-also aduser@ubuntu:~$ ll /etc/systemd/user/default.target.wants/tracker-miner-fs.service ls: cannot access '/etc/systemd/user/default.target.wants/tracker-miner-fs.service': No such file or directory Both the default.target.wants symlinks have been cleaned up properly. Note that /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-miner-fs.service.dsh-also still exists due to being enabled for gnome-session.target. Now, let's check up on gnome-session.target, the symlinks are: aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/gnome-session.target.wants/tracker-miner-fs.service -rw-r--r-- 1 root root 0 Feb 10 21:41 /var/lib/systemd/deb-systemd-user-helper-enabled/gnome-session.target.wants/tracker-miner-fs.service aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-miner-fs.service.dsh-also -rw-r--r-- 1 root root 70 Feb 10 21:41 /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-miner-fs.service.dsh-also aduser@ubuntu:~$ ll /etc/systemd/user/gnome-session.target.wants/tracker-miner-fs.service lrwxrwxrwx 1 root root 46 Feb 10 21:41 /etc/systemd/user/gnome-session.target.wants/tracker-miner-fs.service -> /usr/lib/systemd/user/tracker-miner-fs.service We have our correct gnome-session.target symlinks. Everything is in order. Attempting to mount a samba share from nautilus uses the kerberos ticket like it should. The package in -proposed fixes the issue. Happy to mark verified for Focal.