TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Gentoo Linux

Notices

Help required in creating a new profile

Gentoo Linux


Reply
 
Thread Tools Display Modes
Old 27-11-2007, 07:29 PM   #1
Ashish Shukla आशीष शुक्ल
Guest
 
Posts: n/a
Help required in creating a new profile

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi alt.os.linux.gentoo,

I wanted to install *Hardened* Gentoo 2007.0 on my AMD64 architecture box
with support for *SELinux* and no *multilib* support. I'm in the initial
stage of installation. I've just extracted the stage3 'hardened' tarball
and portage snapshot.

The 'hardened' stage3 tarball ships with a default hardened profile, to
which I wanted to add *selinux* support. I've created a profile, which is
not working as expected. Following is the my profile, which I saved
in "/usr/local/portage/profiles/selinux-hardened-amd64" .

- ----8<----8<----
chatteau selinux-hardened-amd64 # file *
make.defaults: symbolic link to
`../../../../portage/profiles/selinux/2007.0/amd64/hardened/make.defaults'
package.mask: symbolic link to
`../../../../portage/profiles/selinux/2007.0/amd64/hardened/package.mask'
parent: ASCII text
use.mask: symbolic link to
`../../../../portage/profiles/selinux/2007.0/amd64/hardened/use.mask'
chatteau selinux-hardened-amd64 # cat parent
.../../../../portage/profiles/selinux/2007.0/amd64
.../../../../portage/profiles/hardened/amd64
selinux-hardened-amd64 # file /etc/make.profile
/etc/make.profile: symbolic link to
`/usr/local/portage/profiles/selinux-hardened-amd64'
- ---->8---->8----

Following is my "make.conf" :

- ----8<----8<----
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -pipe -ggdb -fforce-addr -mtune=nocona -march=nocona
- -fstack-protector-all"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing.
You
# should probably be using a different stage, instead.
CHOST="x86_64-pc-linux-gnu"
FEATURES="ccache collision-protect buildpkg parallel-fetch splitdebug
userfetch"
- ---->8---->8----

Following is the output of 'euse -a', on the basis of which I'm concluding
its not working:

- ----8<----8<----
chatteau selinux-hardened-amd64 # euse -a
berkdb [+ D ]
cli [+ D ]
cracklib [+ ]
crypt [+ D ]
cups [+ D ]
dri [+ D ]
fbdev [+ ]
fortran [+ D ]
gdbm [+ D ]
gpm [+ D ]
hardened [+ D ]
iconv [+ D ]
ipv6 [+ D ]
isdnlog [+ D ]
justify [+ ]
ladspa [+ ]
midi [+ ]
mudflap [+ D ]
ncurses [+ D ]
nls [+ D ]
nptl [+ D ]
nptlonly [+ D ]
openmp [+ D ]
pam [+ D ]
pcre [+ D ]
perl [+ D ]
pic [+ D ]
pppd [+ D ]
python [+ D ]
readline [+ D ]
reflection [+ D ]
session [+ D ]
spl [+ D ]
sse [+ D ]
sse2 [+ D ]
ssl [+ D ]
tcpd [+ D ]
text [+ ]
tga [+ ]
unicode [+ D ]
urandom [+ ]
v4l [+ ]
vga [+ ]
xorg [+ D ]
zlib [+ D ]
- ---->8---->8----

I'm not expert in gentoo, so can someone can correct me.

TIA
- --
Ashish Shukla आशीष शुक्ल
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHTCxkHy+EEHYuXnQRAhxEAJ0WBqUrMbZy8aEiesu289 M1fCSwkwCg7QqC
+rkT8ySCOjYMK0S77EfQbwk=
=PlmT
-----END PGP SIGNATURE-----
  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:51 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional