[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#791378: marked as done (conflicts with /etc/X11/Xsession.d/90gpg-agent and unsets GPG_AGENT_INFO)



Your message dated Tue, 18 Aug 2020 13:38:14 +0200
with message-id <46e6b6d232f8a07cbfd2ef151cda1bc10f966ccc.camel@debian.org>
and subject line Re: [Pkg-xfce-devel] Bug#791378: Bug#791378: conflicts with /etc/X11/Xsession.d/90gpg-agent and unsets GPG_AGENT_INFO
has caused the Debian Bug report #791378,
regarding conflicts with /etc/X11/Xsession.d/90gpg-agent and unsets GPG_AGENT_INFO
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
791378: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791378
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xfce4-session
Version: 4.12.1-3
Severity: normal

At some point after the jessie release, an upgrade broke the gpg agent;
while the agent started on login, GPG_AGENT_INFO was not set. gpg2 could
the agent, but gpg v1 was unable to do so.

I added debugging to /etc/X11/Xsession.d/90gpg-agent and could see that
it was setting GPG_AGENT_INFO:

+ /usr/bin/gpg-agent
+ GPG_AGENT_INFO=/home/joey/.gnupg/S.gpg-agent:0:1
+ export GPG_AGENT_INFO

But, later along, xfce4-session did something that unset that variable:

+ exec /usr/bin/dbus-launch --exit-with-session x-session-manager
/usr/bin/x-session-manager: X server already running on display :0
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:10715): xfce4-session-WARNING **: gpg-agent returned no PID in the variables

I noticed there's a /startup/gpg-agent/enabled to control whether xfce4-session
does this, and after manually adding that setting in the xfce
configuration editor, and setting it to false, the problem went away
on next login.

So, xfce4-session is clearly stomping on the toes of
/etc/X11/Xsession.d/90gpg-agent. Without reading its source code, but just
looking at strings, I hypothesize it's running gpg-agent, expecting some
output that it no longer produces, and then clobbering the already correctly
set GPG_AGENT_INFO.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xfce4-session depends on:
ii  libatk1.0-0            2.16.0-2
ii  libc6                  2.19-18
ii  libcairo2              1.14.2-2
ii  libdbus-1-3            1.8.18-1
ii  libdbus-glib-1-2       0.102-1
ii  libfontconfig1         2.11.0-6.3
ii  libfreetype6           2.5.2-4
ii  libgdk-pixbuf2.0-0     2.31.4-2
ii  libglib2.0-0           2.44.1-1.1
ii  libgtk2.0-0            2.24.28-1
ii  libice6                2:1.0.9-1+b1
ii  libpango-1.0-0         1.36.8-3
ii  libpangocairo-1.0-0    1.36.8-3
ii  libpangoft2-1.0-0      1.36.8-3
ii  libpolkit-gobject-1-0  0.105-8
ii  libsm6                 2:1.2.2-1+b1
ii  libwnck22              2.30.7-2
ii  libx11-6               2:1.6.3-1
ii  libxfce4ui-1-0         4.12.1-2
ii  libxfce4util7          4.12.1-2
ii  libxfconf-0-2          4.12.0-2+b1
ii  multiarch-support      2.19-18
ii  xfce4-settings         4.12.0-2
ii  xfconf                 4.12.0-2+b1

Versions of packages xfce4-session recommends:
ii  dbus-x11           1.8.18-1
ii  libpam-systemd     221-1
ii  systemd-sysv       221-1
ii  upower             0.99.3-1+b1
ii  x11-xserver-utils  7.7+4
ii  xfdesktop4         4.12.2-1
ii  xfwm4              4.12.3-1
pn  xscreensaver       <none>

Versions of packages xfce4-session suggests:
pn  fortunes-mod  <none>
pn  pm-utils      <none>
ii  sudo          1.8.12-1

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, 2015-07-04 at 21:19 +0200, Yves-Alexis Perez wrote:
> In any case, I'll forward that to upstream.
I think this one has been fixed upstream, so I'm closing it, feel free to
reopen if needed (although gnupg 1 is long gone as well).
Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAl87vaYACgkQ3rYcyPpX
RFs7nwf9FBXi6LolwEuw9HGbN7veri1HfQbYTT5czt5A8sJDHzOUNHh7vyfs9TOO
zc1bxAFOucON6/aJ3twnNcuEn5mC6m0AYuPJ6SRDIJOKTHuEw+LVxq7pVnspMQNQ
ck/MJrvxZrABTKID3lJo2V3R2dgZy6XQejYBP/JwDmDEfHBb/cw4+DN3SZlSxtwI
+GC5kLy9PRRKGE8NDbnkXqvu+HscqBxMyj3Jkfiewskn3RYYrpMKicKIHmaaZAgd
Uc8Ve31vyJ5X+fabG0FtkQuKUQxfVDG86KjblriHvr2yhJBArVgTZhy4wz3QQWdN
2ZZNAaLtjEKpSgEiRGQLYfT49YlgGA==
=HtMJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: