Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440476

Summary: app-admin/sudo-1.8.5_p2: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:59:05 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-admin/sudo-1.8.5_p2, the following elog messages are displayed:

 * sudo uses the /etc/ldap.conf.sudo file for ldap configuration.
 * To use the -A (askpass) option, you need to install a compatible
 * password program from the following list. Starred packages will
 * automatically register for the use with sudo (but will not force
 * the -A option):
 *  [*] net-misc/ssh-askpass-fullscreen
 *      net-misc/x11-ssh-askpass
 * You can override the choice by setting the SUDO_ASKPASS environmnent
 * variable to the program you want to use.

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'app-admin/sudo'; then

See the tracker bug 440214 for more details.