Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195554 - profile warning shows up too often
Summary: profile warning shows up too often
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 23:22 UTC by armin
Modified: 2007-10-12 02:10 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 armin 2007-10-11 23:22:20 UTC
following warning shows with every package in an emerge -upD world:

 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).
 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

(I'm using the server profile)

Could that please just show up ONCE, cause it refers to the profile and not to a single package.

Reproducible: Always

Steps to Reproduce:
1. switch to server profile
2. emerge -upD world

Actual Results:  
warning with every package

Expected Results:  
warning at start of emerge
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 23:30:03 UTC
No, we really couldn't because it's how profile.bashrc works. :)

Read /usr/portage/profiles/default-linux/x86/2007.0/server/profile.bashrc for hint how to get rid of the warning.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-10-12 00:17:43 UTC
Heh... it only runs in the pkg_setup phase already, otherwise it would not only do it per-ebuild, but per-phase within each ebuild.  Also, you *REALLY* should not be using the server profile for any Internet-facing server.  That notice is there for a reason (and annoying for the same reason).
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-10-12 02:03:12 UTC
Obviously you don't know what you are doing, because if you did you'd know how to make the message go away ;P

-Alec
Comment 4 armin 2007-10-12 02:10:10 UTC
i got it. actually i just need this error ONCE not 100 times.

i don't mind the error/warning once at all ;)