[pkg-gnupg-maint] Bug#852697: gnupg-agent: automatically starts gpg-agent in root user slice
Laurent Bonnaud
L.Bonnaud at laposte.net
Thu Jan 26 14:06:03 UTC 2017
Package: gnupg-agent
Version: 2.1.18-3
Severity: normal
Dear Maintainer,
I usually remotely log in (via ssh) as root on a system where gnupg packages are installed and I noticed that a gpg-agent process is created for the root user:
# systemd-cgls
Control group /:
-.slice
├─user.slice
│ └─user-0.slice
│ ├─user at 0.service
│ │ ├─dbus.service
│ │ │ └─16957 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslo
│ │ ├─gpg-agent.service
│ │ │ └─15353 /usr/bin/gpg-agent --supervised
│ │ ├─init.scope
│ │ │ ├─31495 /lib/systemd/systemd --user
│ │ │ └─31497 (sd-pam)
│ │ └─gvfs-daemon.service
│ │ ├─17040 /usr/lib/gvfs/gvfsd
│ │ └─17045 /usr/lib/gvfs/gvfsd-fuse /run/user/0/gvfs -f -o big_writes
This process is of no use to the root user and therefore the system would be better without it. Would it be possible to prevent the creation of this process?
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnupg-agent depends on:
ii libassuan0 2.4.3-2
ii libc6 2.24-9
ii libgcrypt20 1.7.5-3
ii libgpg-error0 1.26-2
ii libnpth0 1.3-1
ii libreadline7 7.0-2
ii mew-bin [pinentry] 1:6.7-4
ii pinentry-curses [pinentry] 1.0.0-1
ii pinentry-gnome3 [pinentry] 1.0.0-1
ii pinentry-gtk2 [pinentry] 1.0.0-1
ii pinentry-qt [pinentry] 1.0.0-1
Versions of packages gnupg-agent recommends:
ii gnupg 2.1.18-3
ii gpgsm 2.1.18-3
Versions of packages gnupg-agent suggests:
ii dbus-user-session 1.11.8-1
ii libpam-systemd 232-14
ii pinentry-gnome3 1.0.0-1
ii scdaemon 2.1.18-3
-- no debconf information
--
Laurent.
More information about the pkg-gnupg-maint
mailing list