Your message dated Wed, 08 Jan 2020 16:34:29 +0000
with message-id <[email protected]>
and subject line Bug#931954: fixed in gnupg2 2.2.19-1
has caused the Debian Bug report #931954,
regarding sytemd user services are enabled twice
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 [email protected]
immediately.)


-- 
931954: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931954
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gpg-agent
Version: 2.2.17-1
Severity: important
File: /usr/lib/systemd/user/gpg-agent.socket

Hi,

in 2.2.14-1, gnupg2 was switched to debhelper compat 12.
In that version, dh_installsystemduser is enabled by default.

As a result, the following files are created dynamically during
postinst:

/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/user/sockets.target.wants/dirmngr.socket

At the same time, the package also ships static symlinks in /usr/lib:

/usr/lib/systemd/user/sockets.target.wants/gpg-agent.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/usr/lib/systemd/user/sockets.target.wants/dirmngr.socket

Those symlinks in /usr/lib/ date back iirc to a time when whe didn't
have dh_installsystemduser where I recommended to ship the enablement
symlinks directly in the package.

Since those are no longer necessary now, I would recommend removing
/usr/lib/systemd/user/sockets.target.wants/gpg-agent.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/usr/lib/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/usr/lib/systemd/user/sockets.target.wants/dirmngr.socket

like in the attached patch.


Regards,
Michael


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

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gpg-agent depends on:
ii  gpgconf                     2.2.17-1
ii  init-system-helpers         1.57
ii  libassuan0                  2.5.3-2
ii  libc6                       2.28-10
ii  libgcrypt20                 1.8.4-5
ii  libgpg-error0               1.36-2
ii  libnpth0                    1.6-1
ii  pinentry-curses [pinentry]  1.1.0-2
ii  pinentry-gnome3 [pinentry]  1.1.0-2
ii  pinentry-gtk2 [pinentry]    1.1.0-2
ii  pinentry-qt [pinentry]      1.1.0-2

Versions of packages gpg-agent recommends:
ii  gnupg  2.2.17-1

Versions of packages gpg-agent suggests:
ii  dbus-user-session  1.12.16-1
ii  libpam-systemd     242-2
ii  pinentry-gnome3    1.1.0-2
pn  scdaemon           <none>

-- Configuration Files:
/etc/logcheck/ignore.d.server/gpg-agent [Errno 13] Keine Berechtigung: 
'/etc/logcheck/ignore.d.server/gpg-agent'

-- no debconf information
diff --git a/debian/gpg-agent.links b/debian/gpg-agent.links
index 90f6ce115..292770149 100644
--- a/debian/gpg-agent.links
+++ b/debian/gpg-agent.links
@@ -1,6 +1,2 @@
 usr/lib/gnupg/gpg-preset-passphrase usr/lib/gnupg2/gpg-preset-passphrase
 usr/lib/gnupg/gpg-protect-tool usr/lib/gnupg2/gpg-protect-tool
-usr/lib/systemd/user/gpg-agent-browser.socket 
usr/lib/systemd/user/sockets.target.wants/gpg-agent-browser.socket
-usr/lib/systemd/user/gpg-agent-extra.socket 
usr/lib/systemd/user/sockets.target.wants/gpg-agent-extra.socket
-usr/lib/systemd/user/gpg-agent-ssh.socket 
usr/lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
-usr/lib/systemd/user/gpg-agent.socket 
usr/lib/systemd/user/sockets.target.wants/gpg-agent.socket

--- End Message ---
--- Begin Message ---
Source: gnupg2
Source-Version: 2.2.19-1

We believe that the bug you reported is fixed in the latest version of
gnupg2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <[email protected]> (supplier of updated gnupg2 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 08 Jan 2020 10:33:12 -0500
Source: gnupg2
Architecture: source
Version: 2.2.19-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GnuPG Maintainers <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Closes: 931954 932474
Changes:
 gnupg2 (2.2.19-1) unstable; urgency=medium
 .
   * New upstream release
 .
   [ Roger Shimizu ]
   * d/control: Update Build-Depends: libgpg-error-dev (>= 1.35)
 .
   [ Daniel Kahn Gillmor ]
   * clean up unnecessary whitespace
   * Ship identifiers for Librem Key (Closes: #932474)
   * drop extra systemd user service links (Closes: #931954)
   * update signing key for Werner
   * fixup patch
   * drop patches already upstream
   * refresh patches
   * cherry-pick fix from upstream
   * dirmngr-idling: add some commentary about dns housekeeping
   * bump standards-version to 4.4.1 (no changes needed)
   * sort scdaemon metainfo.xml modalias
   * announce librem key in scdaemon metainfo.xml
   * add lintian overrides for executables shipped by upstream in 
/usr/lib/gnupg/
Checksums-Sha1:
 e12ed6bb4124df7bba97117e424ddea1a8f93ca1 3238 gnupg2_2.2.19-1.dsc
 e24a1208ffe69d7436b2f27e99542a85f34d0ac0 6754972 gnupg2_2.2.19.orig.tar.bz2
 b3a5f29a376505589c1d6b4be5216f3b5bd6bf3f 906 gnupg2_2.2.19.orig.tar.bz2.asc
 8c64f4e56f07d7193aed4d388a0f883b498bfe55 62404 gnupg2_2.2.19-1.debian.tar.xz
 a56b1dfdb598b1c8c6a05156af11f8c1add060e3 18202 gnupg2_2.2.19-1_amd64.buildinfo
Checksums-Sha256:
 958502240d50a73c62ef47c53b19c111c754341f4001ac4585beb892846ad80a 3238 
gnupg2_2.2.19-1.dsc
 242554c0e06f3a83c420b052f750b65ead711cc3fddddb5e7274fcdbb4e9dec0 6754972 
gnupg2_2.2.19.orig.tar.bz2
 9665fd179a29412115289bd18109629b855bf78adb6d262cfd4fb00ea09491d7 906 
gnupg2_2.2.19.orig.tar.bz2.asc
 5a1680501e4a6b2da3ac4d019ef3266088f4adf2f59906d1c1882a866089a04e 62404 
gnupg2_2.2.19-1.debian.tar.xz
 75a4cd01d434f8fad5f9947ef507728d7faf9e4e39cd0e9805db44dc9b9f3c3d 18202 
gnupg2_2.2.19-1_amd64.buildinfo
Files:
 a827e6f2860fbd3f1ba84471cee634b1 3238 utils optional gnupg2_2.2.19-1.dsc
 cb3b373d08ba078c325299945a7f2818 6754972 utils optional 
gnupg2_2.2.19.orig.tar.bz2
 0c01f35796533d834c476d02b68af8e4 906 utils optional 
gnupg2_2.2.19.orig.tar.bz2.asc
 c2bd97bf8db0e7a698430ddedc9ada26 62404 utils optional 
gnupg2_2.2.19-1.debian.tar.xz
 0ffcad8d4759fb3eb533f3b7df49581f 18202 utils optional 
gnupg2_2.2.19-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXhX7+AAKCRB2GBllKa5f
+P81AP4lrGIJrfxtoSaUzafxV/ncv4a4vQJMQvubsIHCwXUksQD/T0aiLy9QRzoB
aD++jm2Q199pXLPSUJNrjz69LWIq7gk=
=X7nb
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to