On Fri, Sep 09, 2022 at 07:38:48PM +0200, Marc Haber wrote:
Control: tag -1 unreproducible
On Fri, Sep 09, 2022 at 08:58:29AM +0200, Francesco P. Lovergine wrote:
Sudo reports tons of messages like:
sudo: Libgcrypt warning: missing initialization - please fix the application
in syslog. Please, fix to avoid eccessive verbosity due to that. This is a
quite annoying issue already fixed in other applications here and there (e.g.
apt).
I do not see this behavior on my systems at all. Can you please
elaborate a bit?
Greetings
Marc
Indeed it seeems the warning is triggered under certain conditions that I still
did
not detect.
For sure, the warning is presented only during the first use of
sudo in a login shell and it seems the same warning is presented for ssh,
immediately beforei that. Just to note, the same warning is confirmed in the
past
for a series of programs (including sudo) and started to be shown after
the following change in gcrypt:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff_plain;h=7627f9646701e88c827bbadd1231221d5f0c89a6
See:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1397663
and other reports here and there. I could think it relates to the use of
forward agent for gnupg in login sessions, so not directly connected to sudo,
but triggered in any case at pam level (?). Eventually this issue should/could
be
reassigned to gnupg, but I'm not sure.
--
Francesco P. Lovergine