sudo does not properly initialize libgcrypt

Bug #1397663 reported by Pieter H
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The following warnings can be found in syslog:

pieter-local@test-02:~$ grep "please fix the application" /var/log/syslog |grep sudo
Nov 30 12:20:20 test-02 sudo: Libgcrypt warning: missing initialization - please fix the application
Nov 30 12:25:15 test-02 sudo: Libgcrypt warning: missing initialization - please fix the application
Nov 30 12:46:27 test-02 sudo: Libgcrypt warning: missing initialization - please fix the application
Nov 30 13:15:02 test-02 sudo: Libgcrypt warning: missing initialization - please fix the application
Nov 30 13:16:57 test-02 sudo: Libgcrypt warning: missing initialization - please fix the application

These seem to be related to the following change:

http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff_plain;h=7627f9646701e88c827bbadd1231221d5f0c89a6

It looks like that sudo does not properly initialize libgcrypt. From looking at the above patch, it does not seem to do any harm, since the lib will then initialize itself. When trying to find issues on a system, warnings like this will make things a bit more cloudy then needed. A proper implementation for this would be beneficial to the system in general.

These warnings are present in 14.04.

Revision history for this message
Pieter H (ubuntu-low) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sudo (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.