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

Bug 440514

Summary: app-admin/logrotate-3.8.2: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Chema Alonso Josa (RETIRED) <nimiux>
Severity: enhancement    
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:25 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-admin/logrotate-3.8.2, the following elog messages are displayed:

 * If you wish to have logrotate e-mail you updates, please
 * emerge virtual/mailx and configure logrotate in
 * /etc/logrotate.conf appropriately
 * Additionally, /etc/logrotate.conf may need to be modified
 * for your particular needs.  See man logrotate for details.

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/logrotate'; then

See the tracker bug 440214 for more details.
Comment 1 Chema Alonso Josa (RETIRED) gentoo-dev 2012-11-11 18:13:23 UTC
Done in =app-admin/logrotate-3.8.3