Again, no output. For mantic users who clean installed, 3.4.6-0ubuntu0.23.10.2 is safe and causes no changes.
The interesting case for verification then becomes doing a series upgrade from jammy running tracker-extract 3.3.3-0ubuntu0.20.04.1 or earlier, to mantic.
Install Jammy Desktop. With tracker-extract 3.3.3-0ubuntu0.20.04.1 from -updates, we see the systemd unit file symlinks present in default.target.wants.
The old systemd unit files have been cleaned up properly:
aduser@ubuntu$ ll /etc/systemd/user/default.target.wants/tracker-extract-3.service
ls: cannot access '/etc/systemd/user/default.target.wants/tracker-extract-3.service': No such file or directory
aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-extract-3.service
ls: cannot access '/var/lib/systemd/deb-systemd-user-helper-enabled/default.target.wants/tracker-extract-3.service': No such file or directory
aduser@ubuntu:~$ ll /var/lib/systemd/deb-systemd-user-helper-enabled/tracker-extract-3.service.dsh-also
ls: cannot access '/var/lib/systemd/deb-systemd-user-helper-enabled/tracker-extract-3.service.dsh-also': No such file or directory
The package in -proposed now cleans up the old systemd unit files correctly. Happy to mark as verified for mantic.
Performing verification for Mantic.
Since Mantic already has the patch that changes the systemd unit file, any clean mantic install will see no changes whatsoever.
Lets prove this.
Install a fresh Mantic Desktop VM. It has tracker-extract 3.4.6-0ubuntu0. 23.10.1 from -updates installed.
On boot, check the environ of gvfs:
$ cat /proc/$(pidof gvfsd)/environ | xargs --null -n1 local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ games:/ usr/local/ games:/ snap/bin: /snap/bin EXEC_PID= 2467 DIR=/run/ user/1000 gail:atk- bridge DIRS=/usr/ share/ubuntu: /usr/share/ gnome:/ usr/local/ share/: /usr/share/ :/var/lib/ snapd/desktop BUS_ADDRESS= unix:path= /run/user/ 1000/bus /debuginfod. ubuntu. com SESSION= ubuntu SESSION_ MODE=ubuntu DIRS=/etc/ xdg/xdg- ubuntu: /etc/xdg DESKTOP= ubuntu: GNOME CLASS=user DESKTOP= ubuntu TYPE=wayland bin/gnome- session ID=120a4f32773f 453bbcf40068665 ed76a STREAM= 8:26214
HOME=/home/ubuntu
LANG=en_US.UTF-8
LOGNAME=ubuntu
PATH=/usr/
SHELL=/bin/bash
SYSTEMD_
USER=ubuntu
XDG_RUNTIME_
GTK_MODULES=
QT_ACCESSIBILITY=1
XDG_DATA_
DBUS_SESSION_
DEBUGINFOD_URLS=https:/
DESKTOP_
GDMSESSION=ubuntu
GNOME_SHELL_
IM_CONFIG_PHASE=1
PWD=/home/ubuntu
SHLVL=0
USERNAME=ubuntu
XDG_CONFIG_
XDG_CURRENT_
XDG_SESSION_
XDG_SESSION_
XDG_SESSION_
_=/usr/
MANAGERPID=2231
INVOCATION_
JOURNAL_
Next, we check to see if there are any systemd unit files for it at all:
ubuntu@ubuntu:~$ find /etc/systemd/user -name tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled -name tracker- extract- 3.service
ubuntu@ubuntu:~$ find /var/lib/
No output for either.
I then enabled -proposed, and installed tracker-extract 3.4.6-0ubuntu0. 23.10.2.
Checking environ for gvfs:
$ cat /proc/$(pidof gvfsd)/environ | xargs --null -n1 local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ games:/ usr/local/ games:/ snap/bin: /snap/bin EXEC_PID= 1539 DIR=/run/ user/1000 gail:atk- bridge DIRS=/usr/ share/ubuntu: /usr/share/ gnome:/ usr/local/ share/: /usr/share/ :/var/lib/ snapd/desktop BUS_ADDRESS= unix:path= /run/user/ 1000/bus /debuginfod. ubuntu. com SESSION= ubuntu SESSION_ MODE=ubuntu LAUNCHER= openssh SOCK=/run/ user/1000/ openssh_ agent DIRS=/etc/ xdg/xdg- ubuntu: /etc/xdg DESKTOP= ubuntu: GNOME CLASS=user DESKTOP= ubuntu TYPE=wayland bin/gnome- session ID=e8ebf3ac10d2 4be1b9596aabd9a c53a3 STREAM= 8:22513
HOME=/home/ubuntu
LANG=en_US.UTF-8
LOGNAME=ubuntu
PATH=/usr/
SHELL=/bin/bash
SYSTEMD_
USER=ubuntu
XDG_RUNTIME_
GTK_MODULES=
QT_ACCESSIBILITY=1
XDG_DATA_
DBUS_SESSION_
DEBUGINFOD_URLS=https:/
DESKTOP_
GDMSESSION=ubuntu
GNOME_SHELL_
IM_CONFIG_PHASE=1
PWD=/home/ubuntu
SHLVL=0
SSH_AGENT_
SSH_AUTH_
USERNAME=ubuntu
XDG_CONFIG_
XDG_CURRENT_
XDG_SESSION_
XDG_SESSION_
XDG_SESSION_
_=/usr/
MANAGERPID=1344
INVOCATION_
JOURNAL_
Its the same.
Again, checking for any unit files:
ubuntu@ubuntu:~$ find /etc/systemd/user -name tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled -name tracker- extract- 3.service
ubuntu@ubuntu:~$ find /var/lib/
Again, no output. For mantic users who clean installed, 3.4.6-0ubuntu0. 23.10.2 is safe and causes no changes.
The interesting case for verification then becomes doing a series upgrade from jammy running tracker-extract 3.3.3-0ubuntu0. 20.04.1 or earlier, to mantic.
Install Jammy Desktop. With tracker-extract 3.3.3-0ubuntu0. 20.04.1 from -updates, we see the systemd unit file symlinks present in default. target. wants.
aduser@ubuntu:~$ ll /etc/systemd/ user/default. target. wants/tracker- extract- 3.service user/default. target. wants/tracker- extract- 3.service -> /usr/lib/ systemd/ user/tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled/ default. target. wants/tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled/ default. target. wants/tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled/ tracker- extract- 3.service. dsh-also systemd/ deb-systemd- user-helper- enabled/ tracker- extract- 3.service. dsh-also
lrwxrwxrwx 1 root root 47 Feb 10 16:12 /etc/systemd/
aduser@ubuntu:~$ ll /var/lib/
-rw-r--r-- 1 root root 0 Aug 8 2023 /var/lib/
aduser@ubuntu:~$ ll /var/lib/
-rw-r--r-- 1 root root 65 Feb 10 16:30 /var/lib/
I then performed a series upgrade to mantic, with tracker-extract 3.4.6-0ubuntu0. 23.10.1 from -updates.
Looking at the environ for gvfs:
$ cat /proc/$(pidof gvfsd)/environ | xargs --null -n1 local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ games:/ usr/local/ games:/ snap/bin: /snap/bin EXEC_PID= 1542 DIR=/run/ user/524601104 gail:atk- bridge DIRS=/usr/ local/share/ :/usr/share/ :/var/lib/ snapd/desktop BUS_ADDRESS= unix:path= /run/user/ 524601104/ bus ID=357a32f080d2 431b8eeb0d5fe9f 96dba STREAM= 8:25218
HOME=/home/aduser
LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en
LOGNAME=aduser
PATH=/usr/
SHELL=/bin/bash
SYSTEMD_
USER=aduser
XDG_RUNTIME_
GTK_MODULES=
QT_ACCESSIBILITY=1
XDG_DATA_
DBUS_SESSION_
MANAGERPID=1445
INVOCATION_
JOURNAL_
These old default. target. wants unit files are left behind, incorrectly pointing to default. target. wants.
aduser@ubuntu$ ll /etc/systemd/ user/default. target. wants/tracker- extract- 3.service user/default. target. wants/tracker- extract- 3.service -> /usr/lib/ systemd/ user/tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled/ default. target. wants/tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled/ default. target. wants/tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled/ tracker- extract- 3.service. dsh-also systemd/ deb-systemd- user-helper- enabled/ tracker- extract- 3.service. dsh-also
lrwxrwxrwx 1 root root 47 Feb 10 16:12 /etc/systemd/
aduser@ubuntu:~$ ll /var/lib/
-rw-r--r-- 1 root root 0 Aug 8 2023 /var/lib/
aduser@ubuntu:~$ ll /var/lib/
-rw-r--r-- 1 root root 65 Feb 10 16:30 /var/lib/
A bit of a shame that the timestamps are untouched from the Jammy install, but that is how it is.
I then enabled -proposed, and installed tracker-extract 3.4.6-0ubuntu0. 23.10.2 and rebooted.
Looking at the environ for gvfs now:
$ cat /proc/$(pidof gvfsd)/environ | xargs --null -n1 local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ games:/ usr/local/ games:/ snap/bin: /snap/bin EXEC_PID= 1630 DIR=/run/ user/524601104 gail:atk- bridge DIRS=/usr/ share/ubuntu: /usr/share/ gnome:/ usr/local/ share/: /usr/share/ :/var/lib/ snapd/desktop BUS_ADDRESS= unix:path= /run/user/ 524601104/ bus /debuginfod. ubuntu. com SESSION= ubuntu SESSION_ MODE=ubuntu LAUNCHER= openssh SOCK=/run/ user/524601104/ openssh_ agent DIRS=/etc/ xdg/xdg- ubuntu: /etc/xdg DESKTOP= ubuntu: GNOME CLASS=user DESKTOP= ubuntu TYPE=wayland bin/gnome- session ID=46cb463dcad0 4b2d91f7237e6d3 a12a0 STREAM= 8:25023
HOME=/home/aduser
LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en
LOGNAME=aduser
PATH=/usr/
SHELL=/bin/bash
SYSTEMD_
USER=aduser
XDG_RUNTIME_
GTK_MODULES=
QT_ACCESSIBILITY=1
XDG_DATA_
DBUS_SESSION_
DEBUGINFOD_URLS=https:/
DESKTOP_
GDMSESSION=ubuntu
GNOME_SHELL_
IM_CONFIG_PHASE=1
PWD=/home/aduser
SHLVL=0
SSH_AGENT_
SSH_AUTH_
USERNAME=aduser
XDG_CONFIG_
XDG_CURRENT_
XDG_SESSION_
XDG_SESSION_
XDG_SESSION_
_=/usr/
MANAGERPID=1443
INVOCATION_
JOURNAL_
The old systemd unit files have been cleaned up properly:
aduser@ubuntu$ ll /etc/systemd/ user/default. target. wants/tracker- extract- 3.service user/default. target. wants/tracker- extract- 3.service' : No such file or directory systemd/ deb-systemd- user-helper- enabled/ default. target. wants/tracker- extract- 3.service systemd/ deb-systemd- user-helper- enabled/ default. target. wants/tracker- extract- 3.service' : No such file or directory systemd/ deb-systemd- user-helper- enabled/ tracker- extract- 3.service. dsh-also systemd/ deb-systemd- user-helper- enabled/ tracker- extract- 3.service. dsh-also' : No such file or directory
ls: cannot access '/etc/systemd/
aduser@ubuntu:~$ ll /var/lib/
ls: cannot access '/var/lib/
aduser@ubuntu:~$ ll /var/lib/
ls: cannot access '/var/lib/
The package in -proposed now cleans up the old systemd unit files correctly. Happy to mark as verified for mantic.