Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#980838: gpg-agent: generator 90gpg-agent without scdaemon generate annoying log

69 views
Skip to first unread message

Bastien Roucariès

unread,
Jan 22, 2021, 6:40:03 PM1/22/21
to
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

Timo Sigurdsson

unread,
Aug 17, 2021, 7:50:03 PM8/17/21
to
Package: gpg-agent
Version: 2.2.27-2

I can confirm this issue. It still occurs on the newly released stable distribution (bullseye).
Linking /usr/lib/gnupg/scdaemon to /usr/bin/false works around the issue, but since I don't know whether that could have unwanted sideeffects, I'd very much prefer a fix in the package or script itself.

Thanks!

Christian Weiske

unread,
Jan 31, 2022, 4:20:04 AM1/31/22
to

Same problem here on Debian 11.

syslog is full of those messages (German):

Jan 30 07:39:51 dojo systemd[1076614]: gpgconf: Fehler bei Ausführung
von `/usr/lib/gnupg/scdaemon': wahrscheinlich nicht installiert
Jan 31 07:35:50 dojo systemd[1255451]: gpgconf: Fehler bei Ausführung
von `/usr/lib/gnupg/scdaemon': wahrscheinlich nicht installiert
Jan 31 09:01:52 dojo systemd[1265977]: gpgconf: Fehler bei Ausführung
von `/usr/lib/gnupg/scdaemon': wahrscheinlich nicht installiert
Jan 31 09:47:25 dojo systemd[1271636]: gpgconf: Fehler bei Ausführung
von `/usr/lib/gnupg/scdaemon': wahrscheinlich nicht installiert


gpg-agent 2.2.27-2

Werner Koch

unread,
Feb 1, 2022, 10:20:05 AM2/1/22
to
On Mon, 31 Jan 2022 09:52, Christian Weiske said:

> Jan 30 07:39:51 dojo systemd[1076614]: gpgconf: Fehler bei Ausführung
> von `/usr/lib/gnupg/scdaemon': wahrscheinlich nicht installiert

Put

disable-scdaemon

into gpg-agent.conf


Salam-Shalom,

Werner


--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
signature.asc

Richard van den Berg

unread,
Apr 17, 2022, 5:00:05 PM4/17/22
to
Werner Koch wrote:

> > Jan 30 07:39:51 dojo systemd[1076614]: gpgconf: Fehler bei Ausführung
> > von `/usr/lib/gnupg/scdaemon': wahrscheinlich nicht installiert
>
> Put
>
> disable-scdaemon
>
> into gpg-agent.conf

I but "disable-scdaemon" inside /etc/gnupg/gpg-agent.conf still the
error occurs:

# 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:
dirmngr:Network:/usr/bin/dirmngr:1:1:
pinentry:Passphrase Entry:/usr/bin/pinentry:1:1:

How can I fix this error message that keeps popping up?

Kind regards,

Richard
0 new messages