Your message dated Sun, 16 Mar 2025 15:40:41 +0100
with message-id <[email protected]>
and subject line Re: Bug#980838: [pkg-gnupg-maint] Bug#980838: gpg-agent: 
generator 90gpg-agent without scdaemon generate annoying log
has caused the Debian Bug report #980838,
regarding gpg-agent: generator 90gpg-agent without scdaemon generate annoying 
log
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.)


-- 
980838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980838
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gpg-agent
Version: 2.2.20-1
Severity: normal

Dear Maintainer,

Without scdaemon the 90gpg-agent will output something like 
LANG=C gpgconf --check-programs

gpgconf: error running '/usr/lib/gnupg/scdaemon': probably not installed
gpg:OpenPGP:/usr/bin/gpg:1:1:
gpg-agent:Private Keys:/usr/bin/gpg-agent:1:1:
scdaemon:Smartcards:/usr/lib/gnupg/scdaemon:0:0:
gpgsm:S/MIME:/usr/bin/gpgsm:1:1:::enabled debug flags%3a ipc:
dirmngr:Network:/usr/bin/dirmngr:1:1:
pinentry:Passphrase Entry:/usr/bin/pinentry:1:1:

The error line will go to log....

Thanks

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-1-rt-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gpg-agent depends on:
ii  gpgconf                     2.2.20-1
ii  init-system-helpers         1.60
ii  libassuan0                  2.5.3-7.1
ii  libc6                       2.31-9
ii  libgcrypt20                 1.8.7-2
ii  libgpg-error0               1.38-2
ii  libnpth0                    1.6-3
ii  pinentry-gnome3 [pinentry]  1.1.0-4
ii  pinentry-qt [pinentry]      1.1.0-4

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

Versions of packages gpg-agent suggests:
ii  dbus-user-session  1.12.20-1
ii  libpam-systemd     247.2-4
ii  pinentry-gnome3    1.1.0-4
pn  scdaemon           <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 2.2.46~pre1-1

Control: fixed 980838 2.4.3-1

On 2022-07-01 Daniel Kahn Gillmor <[email protected]> wrote:
> Control: severity 980838 minor

> I'm marking this minor because the only cost is a one extra log line on
> systems where gpg-agent is installed but scdaemon is not.  I do agree
> it's annoying.
[...]
> I see three approaches to fixing this:

> a) make the gpg-agent package explicitly Depend: on scdaemon

> b) make the generator's invocaton of gpgconf --check-programs send
>    stderr to /dev/null

> c) fix gpgconf (from the gpgconf package) to not produce an error
>    message to stderr when running --check-programs.  (this is happening
>    in the definition of gc_component_check_options in
>    tools/gpgconf-comp.c, but the error message it's nested much more
>    deeply, in the comon/exechelp-posix.c, and it's not clear to me how
>    to turn off just that particular error reporting as opposed to
>    other potential errors -- i'd probably need help from upstream to do
>    this safely)

> Any thoughts as to what would be preferable?

Option d: Avoid generator, set env-vars unconditionally (without
querying gpgconf) in gpg-agent service script. :-)

gnupg2 (2.2.46~pre1-1) unstable; urgency=medium
  * Improve systemd integration of gpg-agent's ssh socket by injecting
    environment variable at socket creation/destruction

gnupg2 (2.4.3-1) experimental; urgency=low
  * Improve systemd integration for gpg-agent SSH emulation.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

--- End Message ---

Reply via email to