I think you misunderstand me a bit. > The issue is probably in systemd, starting up gnome-terminal (and > presumably any other app that it starts up) with the wrong groups.
Yes gnome-terminal uses a systemd --user service to start a terminal-server. This terminal-server is the parrent of all shells in a gnome-terminal for this user. The problem is systemd --user services are designed as per-user service not per-session[0]. As I understand the Mailinglist, there ar no plans to change this. So a systemd --user service isn't the right tool for this architecture of a terminal and for any other programm which should belong to a session. Thats why I say it's a bug in gnome-terminal not in systemd. That systemd has no per-session services is an other problem. [0] https://lists.freedesktop.org/archives/systemd- devel/2014-March/017552.html -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1835224 Title: gnome-terminal drops pam_group config Status in gnome-terminal package in Ubuntu: New Bug description: If you use pam_group to add users to a group and open gnome-terminal the dynamic group is lost. How to reproduce: enable pam_group add "*;*;*;Al0000-2400;dialout" to /etc/security/group.conf log in with a user which is not in the dialout group open gnome-terminal check with id if you in the dialout group ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: gnome-terminal 3.28.2-1ubuntu1~18.04.1 ProcVersionSignature: Ubuntu 4.15.0-54.58-generic 4.15.18 Uname: Linux 4.15.0-54-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.9-0ubuntu7.6 Architecture: amd64 Date: Wed Jul 3 14:52:29 2019 SourcePackage: gnome-terminal UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1835224/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp