TCA sometimes fails to start with no particular error in the logs
While reviewing !460 (merged) I checked the test suite results and I noticed 1 case where TCA did not start and the Journal does not tell me why: https://jenkins.tails.boum.org/job/test_Tails_ISO_18336-tca-asks-consent-question-when-changing-network/10/cucumber-html-reports/report-feature_5_4113196806.html, https://jenkins.tails.boum.org/job/test_Tails_ISO_18336-tca-asks-consent-question-when-changing-network/10/artifact/build-artifacts/02%3A02%3A04_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.journal/view/.
One potentially interesting thing I see in this Journal is that we start TCA before the IBus proxy:
Jun 07 23:12:03 amnesia nm-dispatcher[6400]: INFO:__main__:['/usr/local/lib/connect-drop', '-c', 'FILE:/var/lib/tca/tca.conf:r+', '-c', 'UNIX:/run/tca-portal.sock', '--', '/bin/ip', 'netns', 'exec', 'torlaunch', '/sbin/runuser', '-u', 'amnesia', '--', 'bwrap', '--bind', '/', '/', '--proc', '/proc', '--dev', '/dev', '--bind', '/tmp/netns-specific/torlaunch', '/tmp/shared-with-me/', '--tmpfs', '/tmp/netns-specific/', 'env', 'DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus', 'XDG_RUNTIME_DIR=/run/user/1000', 'DISPLAY=:1', 'LANG=en_US.UTF-8', 'XAUTHORITY=/run/user/1000/gdm/Xauthority', 'DESKTOP_STARTUP_ID=', 'AT_SPI_BUS_ADDRESS=unix:path=/tmp/shared-with-me/at.sock', 'IBUS_ADDRESS=unix:path=/tmp/shared-with-me/ibus.sock', '/usr/bin/python3', '/usr/lib/python3/dist-packages/tca/application.py']
Jun 07 23:12:04 amnesia systemd[1]: Starting Provides privileged functions for TCA...
Jun 07 23:12:04 amnesia systemd[4760]: Started Tracker metadata database store and lookup manager.
Jun 07 23:12:04 amnesia systemd[4760]: Starting Terminate the GDM session to free the corresponding memory...
Jun 07 23:12:04 amnesia sudo[7043]: amnesia : TTY=unknown ; PWD=/home/amnesia ; USER=root ; COMMAND=/usr/local/lib/tails-kill-gdm-session
Jun 07 23:12:04 amnesia sudo[7043]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 07 23:12:04 amnesia systemd[4760]: Starting Warn the user if Tails is running inside a virtual machine...
Jun 07 23:12:04 amnesia systemd[4760]: Starting Wait for Tor to Have Bootstrapped...
Jun 07 23:12:04 amnesia systemd[4760]: Created slice tails\x2da11y\x2dproxy\x2dnetns.slice.
Jun 07 23:12:04 amnesia systemd[4760]: Starting Proxy AT-SPI bus inside a netns...
Jun 07 23:12:04 amnesia systemd[4760]: Starting Trigger installation of Additional Software Packages...
Jun 07 23:12:04 amnesia systemd[4760]: Created slice tails\x2dibus\x2dproxy\x2dnetns.slice.
Jun 07 23:12:04 amnesia systemd[4760]: Starting Proxy IBUS bus inside a netns...
Jun 07 23:12:04 amnesia systemd[4760]: Starting Proxy IBUS bus inside a netns...
Jun 07 23:12:04 amnesia systemd[4760]: Starting Proxy IBUS bus inside a netns...
Attaching the full Journal in case we don't manage to investigate this before these logs disappear from Jenkins: 02_02_04_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.journal