* [gentoo-hardened] Converting new install to hardened (glibc problem)?
@ 2007-01-06 21:43 Nedim Cholich
2007-01-06 21:52 ` John Schember
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Nedim Cholich @ 2007-01-06 21:43 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]
Hi,
This is my first email to the list and my first attempt at installing
hardened Gentoo (I've been using Gentoo for 4 years now). I apologize if I'm
asking an obvious question. I have been searching for couple of days for an
answer but couldn't find one.
I have a fresh install of Gentoo 2006.1 and I'm trying to convert it to
hardened. I have followed instructions and changed the profile, added USE
flags and when I try to recompile the toolchain it wants to downgrade the
glibc, which is, of course, not allowed.
I've seen various posts on forms and lists but they all start with older
glibc. Also this post
http://www.mail-archive.com/gentoo-hardened@lists.gentoo.org/msg00845.html
doesn't even mention glibc, but the fact still remains that glibc will not
be emergable and the toolchain will be inconsistent.
So the question is how to get around the obvious discrepancy between glibc
version 2.4-r3 that comes with standard Gentoo and version 2.3.6-r5 that
hardened profile wants to emerge?
Thanks.
[-- Attachment #2: Type: text/html, Size: 1168 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-hardened] Converting new install to hardened (glibc problem)?
2007-01-06 21:43 [gentoo-hardened] Converting new install to hardened (glibc problem)? Nedim Cholich
@ 2007-01-06 21:52 ` John Schember
2007-01-06 22:14 ` Kevin F. Quinn
2007-01-07 10:56 ` Tom Hendrikx
2 siblings, 0 replies; 14+ messages in thread
From: John Schember @ 2007-01-06 21:52 UTC (permalink / raw
To: gentoo-hardened
Hardened requires glibc-2.3. Some features (SSP) are not available in
newer versions yet. If you want to use hardened with the hardened tool
chain you have to downgrade glibc to 2.3 and gcc to 3.4. There is no way
to get around this, it is required.
John Schember
On Sat, 2007-01-06 at 16:43 -0500, Nedim Cholich wrote:
> Hi,
>
> This is my first email to the list and my first attempt at installing
> hardened Gentoo (I've been using Gentoo for 4 years now). I apologize
> if I'm asking an obvious question. I have been searching for couple of
> days for an answer but couldn't find one.
>
> I have a fresh install of Gentoo 2006.1 and I'm trying to convert it
> to hardened. I have followed instructions and changed the profile,
> added USE flags and when I try to recompile the toolchain it wants to
> downgrade the glibc, which is, of course, not allowed.
>
> I've seen various posts on forms and lists but they all start with
> older glibc. Also this post
> http://www.mail-archive.com/gentoo-hardened@lists.gentoo.org/msg00845.html
> doesn't even mention glibc, but the fact still remains that glibc will
> not be emergable and the toolchain will be inconsistent.
>
> So the question is how to get around the obvious discrepancy between
> glibc version 2.4-r3 that comes with standard Gentoo and version
> 2.3.6-r5 that hardened profile wants to emerge?
>
> Thanks.
--
gentoo-hardened@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-hardened] Converting new install to hardened (glibc problem)?
2007-01-06 21:43 [gentoo-hardened] Converting new install to hardened (glibc problem)? Nedim Cholich
2007-01-06 21:52 ` John Schember
@ 2007-01-06 22:14 ` Kevin F. Quinn
2007-01-06 22:27 ` Nedim Cholich
2007-01-06 22:39 ` Nedim Cholich
2007-01-07 10:56 ` Tom Hendrikx
2 siblings, 2 replies; 14+ messages in thread
From: Kevin F. Quinn @ 2007-01-06 22:14 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
On Sat, 6 Jan 2007 16:43:43 -0500
"Nedim Cholich" <nedim.cholich@gmail.com> wrote:
> Hi,
>
> This is my first email to the list and my first attempt at installing
> hardened Gentoo (I've been using Gentoo for 4 years now). I apologize
> if I'm asking an obvious question. I have been searching for couple
> of days for an answer but couldn't find one.
Wait until glibc-2.4 or greater is ready on hardened. It should be
soon, now. Whatever you do, don't downgrade glibc, you will end up with
all sorts of trouble.
--
Kevin F. Quinn
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-hardened] Converting new install to hardened (glibc problem)?
2007-01-06 22:14 ` Kevin F. Quinn
@ 2007-01-06 22:27 ` Nedim Cholich
[not found] ` <20070106223422.529378@host90-255-dynamic.54-82-r.retail.telecomitalia.it>
2007-01-06 22:39 ` Nedim Cholich
1 sibling, 1 reply; 14+ messages in thread
From: Nedim Cholich @ 2007-01-06 22:27 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 810 bytes --]
On 1/6/07, Kevin F. Quinn <kevquinn@gentoo.org> wrote:
>
> On Sat, 6 Jan 2007 16:43:43 -0500
> "Nedim Cholich" <nedim.cholich@gmail.com> wrote:
>
> > Hi,
> >
> > This is my first email to the list and my first attempt at installing
> > hardened Gentoo (I've been using Gentoo for 4 years now). I apologize
> > if I'm asking an obvious question. I have been searching for couple
> > of days for an answer but couldn't find one.
>
> Wait until glibc-2.4 or greater is ready on hardened. It should be
> soon, now. Whatever you do, don't downgrade glibc, you will end up with
> all sorts of trouble.
So in practical terms, do I have any options? Is there any point in using
standard profile with USE="hardened pic"? What about compiler directives?
Can I still use hardened-sources?
Thanks for all your help.
[-- Attachment #2: Type: text/html, Size: 1242 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-hardened] Converting new install to hardened (glibc problem)?
2007-01-06 22:14 ` Kevin F. Quinn
2007-01-06 22:27 ` Nedim Cholich
@ 2007-01-06 22:39 ` Nedim Cholich
2007-01-06 23:49 ` Kevin F. Quinn
1 sibling, 1 reply; 14+ messages in thread
From: Nedim Cholich @ 2007-01-06 22:39 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 809 bytes --]
On 1/6/07, Kevin F. Quinn <kevquinn@gentoo.org> wrote:
>
> On Sat, 6 Jan 2007 16:43:43 -0500
> "Nedim Cholich" <nedim.cholich@gmail.com> wrote:
>
> > Hi,
> >
> > This is my first email to the list and my first attempt at installing
> > hardened Gentoo (I've been using Gentoo for 4 years now). I apologize
> > if I'm asking an obvious question. I have been searching for couple
> > of days for an answer but couldn't find one.
>
> Wait until glibc-2.4 or greater is ready on hardened. It should be
> soon, now. Whatever you do, don't downgrade glibc, you will end up with
> all sorts of trouble.
Also, Kevin, I see you have an overlay with some of the new stuff. Would
there be a point in me trying it out since I'm in no rush to finish up my
future firewall. How stable is the stuff in overlay?
Thanks.
[-- Attachment #2: Type: text/html, Size: 1236 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-hardened] Converting new install to hardened (glibc problem)?
2007-01-06 21:43 [gentoo-hardened] Converting new install to hardened (glibc problem)? Nedim Cholich
2007-01-06 21:52 ` John Schember
2007-01-06 22:14 ` Kevin F. Quinn
@ 2007-01-07 10:56 ` Tom Hendrikx
2007-01-07 20:41 ` Nedim Cholich
2 siblings, 1 reply; 14+ messages in thread
From: Tom Hendrikx @ 2007-01-07 10:56 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]
Nedim Cholich wrote:
> Hi,
>
> This is my first email to the list and my first attempt at installing
> hardened Gentoo (I've been using Gentoo for 4 years now).
<snip>
>
> I have a fresh install of Gentoo 2006.1 and I'm trying to convert it to
> hardened. I have followed instructions and changed the profile, added
> USE flags and when I try to recompile the toolchain it wants to
> downgrade the glibc, which is, of course, not allowed.
I ran into this problem also a while ago, and after some testing,
solving this problem actually is quite easy, considering your 4 years of
Gentoo experience and also considering it's a clean install.
1) Get yourself a nice 2006.0 install cd
2) Wipe your clean install, and start a new one using the 2006.0 cd.
3) Do a stage 1 install from this cd, setting your profile and flags
right from the beginning.
Since the initial 2006.0 environment contains an older glibc version
(glibc-2.3.6-r4 says my emerge history), there is no need to downgrade.
Just be sure not to remerge glibc before setting the hardened profile,
so you don't upgrade by accident.
Worked for me twice in last 3 months :)
Tom
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-hardened] Converting new install to hardened (glibc problem)?
2007-01-07 10:56 ` Tom Hendrikx
@ 2007-01-07 20:41 ` Nedim Cholich
2007-01-07 20:53 ` Tom Hendrikx
0 siblings, 1 reply; 14+ messages in thread
From: Nedim Cholich @ 2007-01-07 20:41 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]
On 1/7/07, Tom Hendrikx <tom@whyscream.net> wrote:
>
>
>
> Nedim Cholich wrote:
> > Hi,
> >
> > This is my first email to the list and my first attempt at installing
> > hardened Gentoo (I've been using Gentoo for 4 years now).
> <snip>
> >
> > I have a fresh install of Gentoo 2006.1 and I'm trying to convert it to
> > hardened. I have followed instructions and changed the profile, added
> > USE flags and when I try to recompile the toolchain it wants to
> > downgrade the glibc, which is, of course, not allowed.
>
> I ran into this problem also a while ago, and after some testing,
> solving this problem actually is quite easy, considering your 4 years of
> Gentoo experience and also considering it's a clean install.
>
> 1) Get yourself a nice 2006.0 install cd
> 2) Wipe your clean install, and start a new one using the 2006.0 cd.
> 3) Do a stage 1 install from this cd, setting your profile and flags
> right from the beginning.
>
> Since the initial 2006.0 environment contains an older glibc version
> (glibc-2.3.6-r4 says my emerge history), there is no need to downgrade.
> Just be sure not to remerge glibc before setting the hardened profile,
> so you don't upgrade by accident.
>
> Worked for me twice in last 3 months :)
Ok. I found stage3 of 2006.0. Is there a problem with using the latest
portage snapshot with this 2006.0 (and the hardened profile from it)?
Thanks.
[-- Attachment #2: Type: text/html, Size: 1767 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-hardened] Converting new install to hardened (glibc problem)?
@ 2007-01-10 20:15 Nedim Cholich
0 siblings, 0 replies; 14+ messages in thread
From: Nedim Cholich @ 2007-01-10 20:15 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
On 1/7/07, Tom Hendrikx <tom@whyscream.net> wrote:
>
> Nedim Cholich wrote:
> > Ok. I found stage3 of 2006.0. Is there a problem with using the latest
> > portage snapshot with this 2006.0 (and the hardened profile from it)?
> Nope, just try it. Any portage snapshot containing the
> 'hardened-supported' glibc version is ok, so a portage snapshot from
> today is fine.
Woohoo. After couple of days of recompiling I have hardened gentoo. Now on
to app install...
Thanks for the 2006.0 tip! That did the trick.
[-- Attachment #2: Type: text/html, Size: 909 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-01-10 20:17 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-06 21:43 [gentoo-hardened] Converting new install to hardened (glibc problem)? Nedim Cholich
2007-01-06 21:52 ` John Schember
2007-01-06 22:14 ` Kevin F. Quinn
2007-01-06 22:27 ` Nedim Cholich
[not found] ` <20070106223422.529378@host90-255-dynamic.54-82-r.retail.telecomitalia.it>
2007-01-06 22:39 ` John Schember
2007-01-06 23:38 ` ascii
2007-01-06 22:42 ` Nedim Cholich
2007-01-06 22:47 ` John Schember
2007-01-06 22:39 ` Nedim Cholich
2007-01-06 23:49 ` Kevin F. Quinn
2007-01-07 10:56 ` Tom Hendrikx
2007-01-07 20:41 ` Nedim Cholich
2007-01-07 20:53 ` Tom Hendrikx
-- strict thread matches above, loose matches on Subject: below --
2007-01-10 20:15 Nedim Cholich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox