Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65096 - (core) hardened profile missing virtuals and duplicate use-flags
Summary: (core) hardened profile missing virtuals and duplicate use-flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-09-23 07:28 UTC by Andreas Kobara
Modified: 2004-11-27 13:37 UTC (History)
0 users

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


Attachments
Patch for cleaning up the hardened profile (hardended-profile.patch,2.73 KB, patch)
2004-09-28 23:11 UTC, Andreas Kobara
Details | Diff
hardenedprofile.patch (hardenedprofile.patch,2.32 KB, patch)
2004-11-26 20:04 UTC, Adam Mondl (RETIRED)
Details | Diff
hardenedprofile.patch (hardenedprofile.patch,1.96 KB, patch)
2004-11-26 20:07 UTC, Adam Mondl (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kobara 2004-09-23 07:28:30 UTC
Hi,
I just saw that:

./profiles/hardened/virtuals

has an entry "virtual/os-headers sys-kernel/linux-headers".


In ./profiles/hardened/x86/2.6/virtuals

shouldn't we have "virtual/os-headers sys-kernel/linux26-headers" then ?
(Fitting Kernel 2.6)


And further:

./profiles/hardened/x86/2.6/make.defaults
./profiles/hardened/x86/make.defaults

lists "hardened" twice in their USE flags which IMHO is redundant.

Regards,
Andy
Comment 1 Alexander Gabert (RETIRED) gentoo-dev 2004-09-23 19:42:43 UTC
reassigning to proper email addr.
Comment 2 solar (RETIRED) gentoo-dev 2004-09-28 19:12:00 UTC
Submit a patch
Comment 3 Andreas Kobara 2004-09-28 23:11:39 UTC
Created attachment 40684 [details, diff]
Patch for cleaning up the hardened profile

This patch eleminates duplicate use-flags,
adds the correct linux26-headers to 2.6 profile,
removes wrong virtual/kernel to header line as well as duplicate 26-headers
line.

(I'm not sure why the amd64 profile has a fixed 2.6 header line? I'm not using
amd64 maybe there is a reason for this?)

Regards,
Andy.
Comment 4 solar (RETIRED) gentoo-dev 2004-11-22 15:21:07 UTC
The hardened/amd64/virtuals stuff looks wrong, otherwise rest of the patch looks ok.
Comment 5 Adam Mondl (RETIRED) gentoo-dev 2004-11-26 20:04:03 UTC
Created attachment 44802 [details, diff]
hardenedprofile.patch

Corrected profile patch.  The patch:

*Removes duplicate "hardened" USE flag from:
  -hardened/x86/make.defaults

*Removes duplicate "virtual/os-headers" from:
  -hardened/amd64/virtuals

*Corrects 2.6 "virtual/os-headers":
  -hardened/x86/2.6/virtuals (sys-kernel/linux26-headers added)

Adding "sys-kernel/linux-headers" to "hardened/x86/virtuals" as in the previous
patch is not needed because it will automatically inherit "linux-headers" from
its parent file "hardened/virtuals"
Comment 6 Adam Mondl (RETIRED) gentoo-dev 2004-11-26 20:07:13 UTC
Created attachment 44803 [details, diff]
hardenedprofile.patch

Attached wrong patch :/
Comment 7 solar (RETIRED) gentoo-dev 2004-11-27 13:37:58 UTC
Attachment #44803 [details, diff] is now in InCVS