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

Bug 35575

Summary: Send email notification to root if a package issues a warning after it is emerged
Product: Portage Development Reporter: Daniel Lawson <daniel>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Lawson 2003-12-10 23:26:01 UTC
Ref: http://bugs.gentoo.org/show_bug.cgi?id=20974

Some packages issues warnings to the console after you emerge them. This is great - if you happen to see them. If you do an 'emerge -u world' and dont keep an eye on the screen you might miss these warnings. In the case of the url above, this results in /etc/pam.d/system-auth being overwritten "automatically", which nicely renders my system unsuable. 

If emerge could email the root user with these notices (its not much harder than writing to stdout after all), then we'd have some idea of what these notices actually are - its very easy to miss them if you are installing or upgrading multiple packages at once.



Reproducible: Always
Steps to Reproduce:
1. Make changes to /etc/pam.d/system-auth
2. emerge shadow
3.

Actual Results:  
/etc/pam.d/system-auth is overwritten.    A notice describing this is written to
the console.

Expected Results:  
As well as writing the notice to the console, it should email root@localhost
(which can then be expanded via the systems alias file) or some other suitable
destination with the notice.
Comment 1 SpanKY gentoo-dev 2003-12-10 23:55:16 UTC

*** This bug has been marked as a duplicate of 11359 ***