Give tails-*-proxy-netns@.service more descriptive descriptions ⇒ clearer logs
It would be nice to know which instance of the template proxy services we're starting, to make such logs easier to analyze.
Currently I see things like this in the logs, which is not very informative:
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...
This untested patch should do the job:
--- a/config/chroot_local-includes/usr/lib/systemd/user/tails-a11y-proxy-netns@.service
+++ b/config/chroot_local-includes/usr/lib/systemd/user/tails-a11y-proxy-netns@.service
@@ -1,5 +1,5 @@
[Unit]
-Description=Proxy AT-SPI bus inside a netns
+Description=Proxy AT-SPI bus inside a netns (instance %i)
After=at-spi-dbus-bus.service
Requires=at-spi-dbus-bus.service
diff --git a/config/chroot_local-includes/usr/lib/systemd/user/tails-ibus-proxy-netns@.service b/config/chroot_local-includes/usr/lib/systemd/user/tails-ibus-proxy-netns>
index f8ac16b57a..f1a6c57cd2 100644
--- a/config/chroot_local-includes/usr/lib/systemd/user/tails-ibus-proxy-netns@.service
+++ b/config/chroot_local-includes/usr/lib/systemd/user/tails-ibus-proxy-netns@.service
@@ -1,5 +1,5 @@
[Unit]
-Description=Proxy IBUS bus inside a netns
+Description=Proxy IBUS bus inside a netns (instance %i)
After=dbus.service
Requires=dbus.service