Note that there were some I think somewhat valid privacy concerns to exposing the service name.
Maybe it's enough to know if apt ran as part of a systemd service, but not which service, or we build a whitelist of services (or check if they are inside /lib/systemd/system - so we do not send local service names). Currently we do have a blacklist that matches user@ services.
Another approach was to send whether a tty is attached, but I believe that's a bit less useful
Note that there were some I think somewhat valid privacy concerns to exposing the service name.
Maybe it's enough to know if apt ran as part of a systemd service, but not which service, or we build a whitelist of services (or check if they are inside /lib/systemd/system - so we do not send local service names). Currently we do have a blacklist that matches user@ services.
Another approach was to send whether a tty is attached, but I believe that's a bit less useful