Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35575 - Send email notification to root if a package issues a warning after it is emerged
Summary: Send email notification to root if a package issues a warning after it is eme...
Status: RESOLVED DUPLICATE of bug 11359
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 23:26 UTC by Daniel Lawson
Modified: 2011-10-30 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***