* [gentoo-user] Changing profiles
@ 2008-12-23 15:12 Grant
2008-12-23 15:22 ` Albert Hopkins
0 siblings, 1 reply; 26+ messages in thread
From: Grant @ 2008-12-23 15:12 UTC (permalink / raw
To: Gentoo mailing list
I'm getting this:
!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
This profile is deprecated. Please update to a 2008.0 profile
using eselect profile.
and I have:
# ls -l /etc/make.profile
lrwxrwxrwx 1 root root 56 Dec 20 07:14 /etc/make.profile ->
/usr/portage/profiles/default-linux/amd64/2007.0/desktop
Can I change to any of these?
# eselect profile list
Available profile symlink targets:
[1] hardened/amd64
[2] hardened/amd64/multilib
[3] selinux/2007.0/amd64
[4] selinux/2007.0/amd64/hardened
[5] default/linux/amd64/2008.0
[6] default/linux/amd64/2008.0/desktop
[7] default/linux/amd64/2008.0/developer
[8] default/linux/amd64/2008.0/no-multilib
[9] default/linux/amd64/2008.0/server
[10] hardened/linux/amd64
I've looked over this:
http://www.gentoo.org/doc/en/gentoo-upgrading.xml
but I'm still not sure if I can choose any of the above.
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:12 [gentoo-user] Changing profiles Grant
@ 2008-12-23 15:22 ` Albert Hopkins
2008-12-23 15:28 ` Grant
0 siblings, 1 reply; 26+ messages in thread
From: Albert Hopkins @ 2008-12-23 15:22 UTC (permalink / raw
To: gentoo-user
On Tue, 2008-12-23 at 07:12 -0800, Grant wrote:
> I'm getting this:
>
> !!! Your current profile is deprecated and not supported anymore.
> !!! Please upgrade to the following profile if possible:
> This profile is deprecated. Please update to a 2008.0 profile
> using eselect profile.
>
> and I have:
>
> # ls -l /etc/make.profile
> lrwxrwxrwx 1 root root 56 Dec 20 07:14 /etc/make.profile ->
> /usr/portage/profiles/default-linux/amd64/2007.0/desktop
>
> Can I change to any of these?
>
> # eselect profile list
> Available profile symlink targets:
> [1] hardened/amd64
> [2] hardened/amd64/multilib
> [3] selinux/2007.0/amd64
> [4] selinux/2007.0/amd64/hardened
> [5] default/linux/amd64/2008.0
> [6] default/linux/amd64/2008.0/desktop
> [7] default/linux/amd64/2008.0/developer
> [8] default/linux/amd64/2008.0/no-multilib
> [9] default/linux/amd64/2008.0/server
> [10] hardened/linux/amd64
>
> I've looked over this:
>
> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
>
> but I'm still not sure if I can choose any of the above.
... why? Do you have a specific question? Did you even bother to try
to choose one?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:22 ` Albert Hopkins
@ 2008-12-23 15:28 ` Grant
2008-12-23 15:45 ` Albert Hopkins
0 siblings, 1 reply; 26+ messages in thread
From: Grant @ 2008-12-23 15:28 UTC (permalink / raw
To: gentoo-user
>> I'm getting this:
>>
>> !!! Your current profile is deprecated and not supported anymore.
>> !!! Please upgrade to the following profile if possible:
>> This profile is deprecated. Please update to a 2008.0 profile
>> using eselect profile.
>>
>> and I have:
>>
>> # ls -l /etc/make.profile
>> lrwxrwxrwx 1 root root 56 Dec 20 07:14 /etc/make.profile ->
>> /usr/portage/profiles/default-linux/amd64/2007.0/desktop
>>
>> Can I change to any of these?
>>
>> # eselect profile list
>> Available profile symlink targets:
>> [1] hardened/amd64
>> [2] hardened/amd64/multilib
>> [3] selinux/2007.0/amd64
>> [4] selinux/2007.0/amd64/hardened
>> [5] default/linux/amd64/2008.0
>> [6] default/linux/amd64/2008.0/desktop
>> [7] default/linux/amd64/2008.0/developer
>> [8] default/linux/amd64/2008.0/no-multilib
>> [9] default/linux/amd64/2008.0/server
>> [10] hardened/linux/amd64
>>
>> I've looked over this:
>>
>> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
>>
>> but I'm still not sure if I can choose any of the above.
>
> ... why? Do you have a specific question? Did you even bother to try
> to choose one?
I read a while back that changing from certain profiles to certain
other profiles is impossible without a complete reinstall. I'd like
to change to hardened/amd64/multilib but also have the option to
switch to default/linux/amd64/2008.0/desktop if I have problems with a
hardened profile like I do on my laptop. Can I do all that?
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:28 ` Grant
@ 2008-12-23 15:45 ` Albert Hopkins
2008-12-23 15:55 ` Grant
0 siblings, 1 reply; 26+ messages in thread
From: Albert Hopkins @ 2008-12-23 15:45 UTC (permalink / raw
To: gentoo-user
On Tue, 2008-12-23 at 07:28 -0800, Grant wrote:
> >> I've looked over this:
> >>
> >> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
> >>
> >> but I'm still not sure if I can choose any of the above.
> >
> > ... why? Do you have a specific question? Did you even bother to try
> > to choose one?
>
> I read a while back that changing from certain profiles to certain
> other profiles is impossible without a complete reinstall. I'd like
> to change to hardened/amd64/multilib but also have the option to
> switch to default/linux/amd64/2008.0/desktop if I have problems with a
> hardened profile like I do on my laptop. Can I do all that?
Wow, why couldn't you have said that in your first post? It would have
saved a round trip. Also, and I'm probably nit-picking here, but
usually when I see a "I heard that" or "I read a while back" my initial
thought is "What is your source" because a lot of times people will say
things and have no idea wtf they're talking about (myself included).
I couldn't find anything to support that, in fact the official Gentoo
hardened docs seem to indicate you *can* switch to hardened (though you
should probably read the docs yourself) but you basically need to
recompile *everything* after switching to hardened. You should read the
hardened docs [1] and probably ask on the gentoo-hardened ML.
However if you just want to switch from 2007.0/desktop to 2008.0/desktop
that's perfectly fine/possible. If people had to re-install every year
when a new profile came out I think they'd get ticked off pretty quick.
-a
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:45 ` Albert Hopkins
@ 2008-12-23 15:55 ` Grant
2008-12-23 16:49 ` Albert Hopkins
` (3 more replies)
0 siblings, 4 replies; 26+ messages in thread
From: Grant @ 2008-12-23 15:55 UTC (permalink / raw
To: gentoo-user
>> >> I've looked over this:
>> >>
>> >> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
>> >>
>> >> but I'm still not sure if I can choose any of the above.
>> >
>> > ... why? Do you have a specific question? Did you even bother to try
>> > to choose one?
>>
>> I read a while back that changing from certain profiles to certain
>> other profiles is impossible without a complete reinstall. I'd like
>> to change to hardened/amd64/multilib but also have the option to
>> switch to default/linux/amd64/2008.0/desktop if I have problems with a
>> hardened profile like I do on my laptop. Can I do all that?
>
> Wow, why couldn't you have said that in your first post? It would have
> saved a round trip. Also, and I'm probably nit-picking here, but
> usually when I see a "I heard that" or "I read a while back" my initial
> thought is "What is your source" because a lot of times people will say
> things and have no idea wtf they're talking about (myself included).
>
> I couldn't find anything to support that, in fact the official Gentoo
> hardened docs seem to indicate you *can* switch to hardened (though you
> should probably read the docs yourself) but you basically need to
> recompile *everything* after switching to hardened. You should read the
> hardened docs [1] and probably ask on the gentoo-hardened ML.
>
> However if you just want to switch from 2007.0/desktop to 2008.0/desktop
> that's perfectly fine/possible. If people had to re-install every year
> when a new profile came out I think they'd get ticked off pretty quick.
I'm really surprised to hear that. Can I switch my laptop from a
hardened profile to a non-hardened one? I know I've been told I can't
do that.
You think an 'eselect profile set 2 && emerge -e world' will
accomplish the entire thing?
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:55 ` Grant
@ 2008-12-23 16:49 ` Albert Hopkins
2008-12-23 17:03 ` Grant
2008-12-23 17:38 ` Grant
2008-12-23 16:57 ` James Stull
` (2 subsequent siblings)
3 siblings, 2 replies; 26+ messages in thread
From: Albert Hopkins @ 2008-12-23 16:49 UTC (permalink / raw
To: gentoo-user
On Tue, 2008-12-23 at 07:55 -0800, Grant wrote:
> I'm really surprised to hear that. Can I switch my laptop from a
> hardened profile to a non-hardened one? I know I've been told I can't
> do that.
>
> You think an 'eselect profile set 2 && emerge -e world' will
> accomplish the entire thing?
>
Are you wanting to switch *to* hardened or *from* hardened? Your
previous message seemed to indicate the former. If the latter, I
honestly don't know but seriously doubt it.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:55 ` Grant
2008-12-23 16:49 ` Albert Hopkins
@ 2008-12-23 16:57 ` James Stull
2008-12-23 17:28 ` Volker Armin Hemmann
2008-12-23 17:51 ` Willie Wong
3 siblings, 0 replies; 26+ messages in thread
From: James Stull @ 2008-12-23 16:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2254 bytes --]
Grant, I've had a similar problem when I installed 2008.0 hardened instead
of the desktop. Here is a link to the post:
http://forums.gentoo.org/viewtopic-t-713346.html
I would suggest that after you select your desktop 2008.0 profile to run the
following:
emerge --sync && emerge -uDNav world
--Riv
On Tue, Dec 23, 2008 at 10:55 AM, Grant <emailgrant@gmail.com> wrote:
> >> >> I've looked over this:
> >> >>
> >> >> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
> >> >>
> >> >> but I'm still not sure if I can choose any of the above.
> >> >
> >> > ... why? Do you have a specific question? Did you even bother to try
> >> > to choose one?
> >>
> >> I read a while back that changing from certain profiles to certain
> >> other profiles is impossible without a complete reinstall. I'd like
> >> to change to hardened/amd64/multilib but also have the option to
> >> switch to default/linux/amd64/2008.0/desktop if I have problems with a
> >> hardened profile like I do on my laptop. Can I do all that?
> >
> > Wow, why couldn't you have said that in your first post? It would have
> > saved a round trip. Also, and I'm probably nit-picking here, but
> > usually when I see a "I heard that" or "I read a while back" my initial
> > thought is "What is your source" because a lot of times people will say
> > things and have no idea wtf they're talking about (myself included).
> >
> > I couldn't find anything to support that, in fact the official Gentoo
> > hardened docs seem to indicate you *can* switch to hardened (though you
> > should probably read the docs yourself) but you basically need to
> > recompile *everything* after switching to hardened. You should read the
> > hardened docs [1] and probably ask on the gentoo-hardened ML.
> >
> > However if you just want to switch from 2007.0/desktop to 2008.0/desktop
> > that's perfectly fine/possible. If people had to re-install every year
> > when a new profile came out I think they'd get ticked off pretty quick.
>
> I'm really surprised to hear that. Can I switch my laptop from a
> hardened profile to a non-hardened one? I know I've been told I can't
> do that.
>
> You think an 'eselect profile set 2 && emerge -e world' will
> accomplish the entire thing?
>
> - Grant
>
>
[-- Attachment #2: Type: text/html, Size: 3160 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 16:49 ` Albert Hopkins
@ 2008-12-23 17:03 ` Grant
2008-12-23 17:38 ` Grant
1 sibling, 0 replies; 26+ messages in thread
From: Grant @ 2008-12-23 17:03 UTC (permalink / raw
To: gentoo-user
>> I'm really surprised to hear that. Can I switch my laptop from a
>> hardened profile to a non-hardened one? I know I've been told I can't
>> do that.
>>
>> You think an 'eselect profile set 2 && emerge -e world' will
>> accomplish the entire thing?
>>
>
> Are you wanting to switch *to* hardened or *from* hardened? Your
> previous message seemed to indicate the former. If the latter, I
> honestly don't know but seriously doubt it.
I was wondering about both situations. Thanks, I appreciate your help.
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:55 ` Grant
2008-12-23 16:49 ` Albert Hopkins
2008-12-23 16:57 ` James Stull
@ 2008-12-23 17:28 ` Volker Armin Hemmann
2008-12-23 17:40 ` Grant
` (2 more replies)
2008-12-23 17:51 ` Willie Wong
3 siblings, 3 replies; 26+ messages in thread
From: Volker Armin Hemmann @ 2008-12-23 17:28 UTC (permalink / raw
To: gentoo-user
On Dienstag 23 Dezember 2008, Grant wrote:
> >> >> I've looked over this:
> >> >>
> >> >> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
> >> >>
> >> >> but I'm still not sure if I can choose any of the above.
> >> >
> >> > ... why? Do you have a specific question? Did you even bother to try
> >> > to choose one?
> >>
> >> I read a while back that changing from certain profiles to certain
> >> other profiles is impossible without a complete reinstall. I'd like
> >> to change to hardened/amd64/multilib but also have the option to
> >> switch to default/linux/amd64/2008.0/desktop if I have problems with a
> >> hardened profile like I do on my laptop. Can I do all that?
> >
> > Wow, why couldn't you have said that in your first post? It would have
> > saved a round trip. Also, and I'm probably nit-picking here, but
> > usually when I see a "I heard that" or "I read a while back" my initial
> > thought is "What is your source" because a lot of times people will say
> > things and have no idea wtf they're talking about (myself included).
> >
> > I couldn't find anything to support that, in fact the official Gentoo
> > hardened docs seem to indicate you *can* switch to hardened (though you
> > should probably read the docs yourself) but you basically need to
> > recompile *everything* after switching to hardened. You should read the
> > hardened docs [1] and probably ask on the gentoo-hardened ML.
> >
> > However if you just want to switch from 2007.0/desktop to 2008.0/desktop
> > that's perfectly fine/possible. If people had to re-install every year
> > when a new profile came out I think they'd get ticked off pretty quick.
>
> I'm really surprised to hear that. Can I switch my laptop from a
> hardened profile to a non-hardened one? I know I've been told I can't
> do that.
>
> You think an 'eselect profile set 2 && emerge -e world' will
> accomplish the entire thing?
no, you have to do -e system first because system does not belong to world
anymore (for a couple of month it does not belong to world anymore. 6 or
something like that).
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 16:49 ` Albert Hopkins
2008-12-23 17:03 ` Grant
@ 2008-12-23 17:38 ` Grant
2008-12-23 21:38 ` Neil Bothwick
1 sibling, 1 reply; 26+ messages in thread
From: Grant @ 2008-12-23 17:38 UTC (permalink / raw
To: gentoo-user
>> I'm really surprised to hear that. Can I switch my laptop from a
>> hardened profile to a non-hardened one? I know I've been told I can't
>> do that.
>>
>> You think an 'eselect profile set 2 && emerge -e world' will
>> accomplish the entire thing?
>>
>
> Are you wanting to switch *to* hardened or *from* hardened? Your
> previous message seemed to indicate the former. If the latter, I
> honestly don't know but seriously doubt it.
This is weird. I get this from my server:
# ls -l /etc/make.profile
lrwxrwxrwx 1 root root 38 Aug 14 2007 /etc/make.profile ->
/usr/portage/profiles/hardened/x86/2.6
# eselect profiles list
!!! Error: Can't load module profiles
Killed
I just re-emerged eselect with the same result. Does anyone know
what's wrong here?
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 17:28 ` Volker Armin Hemmann
@ 2008-12-23 17:40 ` Grant
2008-12-23 18:16 ` Volker Armin Hemmann
2008-12-23 21:39 ` Neil Bothwick
2008-12-24 1:54 ` Dale
2 siblings, 1 reply; 26+ messages in thread
From: Grant @ 2008-12-23 17:40 UTC (permalink / raw
To: gentoo-user
>> >> >> I've looked over this:
>> >> >>
>> >> >> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
>> >> >>
>> >> >> but I'm still not sure if I can choose any of the above.
>> >> >
>> >> > ... why? Do you have a specific question? Did you even bother to try
>> >> > to choose one?
>> >>
>> >> I read a while back that changing from certain profiles to certain
>> >> other profiles is impossible without a complete reinstall. I'd like
>> >> to change to hardened/amd64/multilib but also have the option to
>> >> switch to default/linux/amd64/2008.0/desktop if I have problems with a
>> >> hardened profile like I do on my laptop. Can I do all that?
>> >
>> > Wow, why couldn't you have said that in your first post? It would have
>> > saved a round trip. Also, and I'm probably nit-picking here, but
>> > usually when I see a "I heard that" or "I read a while back" my initial
>> > thought is "What is your source" because a lot of times people will say
>> > things and have no idea wtf they're talking about (myself included).
>> >
>> > I couldn't find anything to support that, in fact the official Gentoo
>> > hardened docs seem to indicate you *can* switch to hardened (though you
>> > should probably read the docs yourself) but you basically need to
>> > recompile *everything* after switching to hardened. You should read the
>> > hardened docs [1] and probably ask on the gentoo-hardened ML.
>> >
>> > However if you just want to switch from 2007.0/desktop to 2008.0/desktop
>> > that's perfectly fine/possible. If people had to re-install every year
>> > when a new profile came out I think they'd get ticked off pretty quick.
>>
>> I'm really surprised to hear that. Can I switch my laptop from a
>> hardened profile to a non-hardened one? I know I've been told I can't
>> do that.
>>
>> You think an 'eselect profile set 2 && emerge -e world' will
>> accomplish the entire thing?
>
> no, you have to do -e system first because system does not belong to world
> anymore (for a couple of month it does not belong to world anymore. 6 or
> something like that).
So a complete system recompile now requires 'emerge -e world' and
'emerge -e system'?
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 15:55 ` Grant
` (2 preceding siblings ...)
2008-12-23 17:28 ` Volker Armin Hemmann
@ 2008-12-23 17:51 ` Willie Wong
2008-12-23 19:53 ` Alan McKinnon
3 siblings, 1 reply; 26+ messages in thread
From: Willie Wong @ 2008-12-23 17:51 UTC (permalink / raw
To: gentoo-user
On Tue, Dec 23, 2008 at 07:55:20AM -0800, Penguin Lover Grant squawked:
> I'm really surprised to hear that. Can I switch my laptop from a
> hardened profile to a non-hardened one? I know I've been told I can't
> do that.
I don't know much about amd64, so I don't know how the 'multilib'
thing would work. But in so far as switching from a hardened profile
to a non-hardened one and vice versa: the answer is yes and no.
Going from hardened to non-hardened is generally easier, I think.
The available packages from hardened is generally a subset of the ones
from non-hardened. So once you switch profiles you'd be prompted to
upgraded GCC and many other packages, and you'll find a few more (and
possibly a few fewer) USE to work with. Most of these will fix itself
over time.
Going from non-hardened to hardened may run into some downgrading
problems, however, in view of the above. For example, hardened devs
still have not put gcc4 in stable (at least on x86, I don't know about
amd64), so if you have gcc4 installed, you'll need to downgrade. Along
the same lines some packages that will not compile unless you use gcc4
cannot be installed (lilypond for example).
I suggest that you compare and contrast the package.mask and
package.use.mask (and possibly make.defaults) files in the
/usr/portage/profiles/{hardened,default/linux} directories to see what
differences there are.
> You think an 'eselect profile set 2 && emerge -e world' will
> accomplish the entire thing?
Is emerge -e world even necessary? (Someone correct me if I am wrong.)
My understanding is that switching profiles between hardened and
non-hardened does not cause such drastic change to the toolchain that
you must rebuild everything now. I am pretty sure when I switched my
desktop to hardened I just let it gradually phase in.
HTH,
W
--
"What are you talking about? "
"Never mind, eat the fruit. "
"You know, this place almost looks like the Garden of Eden.
"
"Eat the fruit. "
"Sounds quite like it too. "
Sortir en Pantoufles: up 746 days, 16:20
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 17:40 ` Grant
@ 2008-12-23 18:16 ` Volker Armin Hemmann
0 siblings, 0 replies; 26+ messages in thread
From: Volker Armin Hemmann @ 2008-12-23 18:16 UTC (permalink / raw
To: gentoo-user
On Dienstag 23 Dezember 2008, Grant wrote:
> >> >> >> I've looked over this:
> >> >> >>
> >> >> >> http://www.gentoo.org/doc/en/gentoo-upgrading.xml
> >> >> >>
> >> >> >> but I'm still not sure if I can choose any of the above.
> >> >> >
> >> >> > ... why? Do you have a specific question? Did you even bother to
> >> >> > try to choose one?
> >> >>
> >> >> I read a while back that changing from certain profiles to certain
> >> >> other profiles is impossible without a complete reinstall. I'd like
> >> >> to change to hardened/amd64/multilib but also have the option to
> >> >> switch to default/linux/amd64/2008.0/desktop if I have problems with
> >> >> a hardened profile like I do on my laptop. Can I do all that?
> >> >
> >> > Wow, why couldn't you have said that in your first post? It would
> >> > have saved a round trip. Also, and I'm probably nit-picking here, but
> >> > usually when I see a "I heard that" or "I read a while back" my
> >> > initial thought is "What is your source" because a lot of times people
> >> > will say things and have no idea wtf they're talking about (myself
> >> > included).
> >> >
> >> > I couldn't find anything to support that, in fact the official Gentoo
> >> > hardened docs seem to indicate you *can* switch to hardened (though
> >> > you should probably read the docs yourself) but you basically need to
> >> > recompile *everything* after switching to hardened. You should read
> >> > the hardened docs [1] and probably ask on the gentoo-hardened ML.
> >> >
> >> > However if you just want to switch from 2007.0/desktop to
> >> > 2008.0/desktop that's perfectly fine/possible. If people had to
> >> > re-install every year when a new profile came out I think they'd get
> >> > ticked off pretty quick.
> >>
> >> I'm really surprised to hear that. Can I switch my laptop from a
> >> hardened profile to a non-hardened one? I know I've been told I can't
> >> do that.
> >>
> >> You think an 'eselect profile set 2 && emerge -e world' will
> >> accomplish the entire thing?
> >
> > no, you have to do -e system first because system does not belong to
> > world anymore (for a couple of month it does not belong to world anymore.
> > 6 or something like that).
>
> So a complete system recompile now requires 'emerge -e world' and
> 'emerge -e system'?
>
> - Grant
first system, then world.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 17:51 ` Willie Wong
@ 2008-12-23 19:53 ` Alan McKinnon
2008-12-23 20:05 ` Grant
0 siblings, 1 reply; 26+ messages in thread
From: Alan McKinnon @ 2008-12-23 19:53 UTC (permalink / raw
To: gentoo-user
On Tuesday 23 December 2008 19:51:37 Willie Wong wrote:
> Going from non-hardened to hardened may run into some downgrading
> problems, however, in view of the above. For example, hardened devs
> still have not put gcc4 in stable (at least on x86, I don't know about
> amd64), so if you have gcc4 installed, you'll need to downgrade. Along
> the same lines some packages that will not compile unless you use gcc4
> cannot be installed (lilypond for example).
I suspect downgrading from non-hardened to hardened will be impossible;
glibc-2.6.1 is stable on x86 at least, so in all probability almost all x86
boxen will at least have that.
But >=glibc-2.6 is hard masked on x86 so there is no commonality and no
version available where the glibc ebuild will even permit this required
downgrade. It would seem that a reinstall is the only possible way to do
this.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 19:53 ` Alan McKinnon
@ 2008-12-23 20:05 ` Grant
2008-12-23 20:16 ` Alan McKinnon
0 siblings, 1 reply; 26+ messages in thread
From: Grant @ 2008-12-23 20:05 UTC (permalink / raw
To: gentoo-user
>> Going from non-hardened to hardened may run into some downgrading
>> problems, however, in view of the above. For example, hardened devs
>> still have not put gcc4 in stable (at least on x86, I don't know about
>> amd64), so if you have gcc4 installed, you'll need to downgrade. Along
>> the same lines some packages that will not compile unless you use gcc4
>> cannot be installed (lilypond for example).
>
> I suspect downgrading from non-hardened to hardened will be impossible;
>
> glibc-2.6.1 is stable on x86 at least, so in all probability almost all x86
> boxen will at least have that.
>
> But >=glibc-2.6 is hard masked on x86 so there is no commonality and no
> version available where the glibc ebuild will even permit this required
> downgrade. It would seem that a reinstall is the only possible way to do
> this.
Do you think going from hardened to non-hardened is do-able? I'd like
to do that with my laptop.
Also, I've got this with my server:
# eselect profile list
Available profile symlink targets:
[1] hardened/x86/2.6 *
[2] selinux/2007.0/x86
[3] selinux/2007.0/x86/hardened
[4] default/linux/x86/2008.0
[5] default/linux/x86/2008.0/desktop
[6] default/linux/x86/2008.0/developer
[7] default/linux/x86/2008.0/server
[8] hardened/linux/x86
Is there a difference between 1 and 8? I may switch to 8 since that
seems like a more current one.
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 20:05 ` Grant
@ 2008-12-23 20:16 ` Alan McKinnon
0 siblings, 0 replies; 26+ messages in thread
From: Alan McKinnon @ 2008-12-23 20:16 UTC (permalink / raw
To: gentoo-user
On Tuesday 23 December 2008 22:05:25 Grant wrote:
> >> Going from non-hardened to hardened may run into some downgrading
> >> problems, however, in view of the above. For example, hardened devs
> >> still have not put gcc4 in stable (at least on x86, I don't know about
> >> amd64), so if you have gcc4 installed, you'll need to downgrade. Along
> >> the same lines some packages that will not compile unless you use gcc4
> >> cannot be installed (lilypond for example).
> >
> > I suspect downgrading from non-hardened to hardened will be impossible;
> >
> > glibc-2.6.1 is stable on x86 at least, so in all probability almost all
> > x86 boxen will at least have that.
> >
> > But >=glibc-2.6 is hard masked on x86 so there is no commonality and no
> > version available where the glibc ebuild will even permit this required
> > downgrade. It would seem that a reinstall is the only possible way to do
> > this.
>
> Do you think going from hardened to non-hardened is do-able? I'd like
> to do that with my laptop.
I've never done it myself, but I can't see any reason why not. Hardened is a
strict subset of non-hardened (in terms of packages and versions) so it
should just be a smooth, albeit long, upgrade.
There may well be USE flags involved that introduce incompatibilities that
can't be resolved, I wouldn't know about that. I would also suggest you find
a decent howto written by someone who knows the process. You definitely want
to get your USE, CFLAGS and CXXFLAGS right the first time. Otherwise you'll
end up recompiling lots of stuff over and over, each time with new settings
you forgot about the previous time :-)
--
alan dot mckinnon at gmail dot com
>
> Also, I've got this with my server:
>
> # eselect profile list
> Available profile symlink targets:
> [1] hardened/x86/2.6 *
> [2] selinux/2007.0/x86
> [3] selinux/2007.0/x86/hardened
> [4] default/linux/x86/2008.0
> [5] default/linux/x86/2008.0/desktop
> [6] default/linux/x86/2008.0/developer
> [7] default/linux/x86/2008.0/server
> [8] hardened/linux/x86
>
> Is there a difference between 1 and 8? I may switch to 8 since that
> seems like a more current one.
>
> - Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 17:38 ` Grant
@ 2008-12-23 21:38 ` Neil Bothwick
0 siblings, 0 replies; 26+ messages in thread
From: Neil Bothwick @ 2008-12-23 21:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
On Tue, 23 Dec 2008 09:38:47 -0800, Grant wrote:
> # eselect profiles list
> !!! Error: Can't load module profiles
> Killed
profile not profiles.
--
Neil Bothwick
Oxymoron: Reagan memoirs.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 17:28 ` Volker Armin Hemmann
2008-12-23 17:40 ` Grant
@ 2008-12-23 21:39 ` Neil Bothwick
2008-12-24 1:54 ` Dale
2 siblings, 0 replies; 26+ messages in thread
From: Neil Bothwick @ 2008-12-23 21:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
On Tue, 23 Dec 2008 18:28:57 +0100, Volker Armin Hemmann wrote:
> no, you have to do -e system first because system does not belong to
> world anymore (for a couple of month it does not belong to world
> anymore. 6 or something like that).
Unless you have @system in /var/lib/portage/world_sets, which isthe
default on my boxen.
--
Neil Bothwick
If the cops arrest a mime, do they tell her she has the right to remain
silent?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-23 17:28 ` Volker Armin Hemmann
2008-12-23 17:40 ` Grant
2008-12-23 21:39 ` Neil Bothwick
@ 2008-12-24 1:54 ` Dale
2008-12-24 17:01 ` Grant
2008-12-26 20:07 ` Neil Bothwick
2 siblings, 2 replies; 26+ messages in thread
From: Dale @ 2008-12-24 1:54 UTC (permalink / raw
To: gentoo-user
Volker Armin Hemmann wrote:
>
>
> no, you have to do -e system first because system does not belong to world
> anymore (for a couple of month it does not belong to world anymore. 6 or
> something like that).
>
>
>
>
I was sort of in the discussion on -dev about this one. From my
understanding, world and system works like it used to. @system and
@world works the new way. However, when I type in emerge -ep world and
then do emerge -pv @world, I get the same thing which includes the
packages in system as well. This is a new install and I am using
portage-2.2_rc18. I don't think I have edited anything that would
affect this.
I can attach the files if needed but only on request, maybe off list as
well. I don't want to attach a good sized file and I have nowhere to
host it either.
Thoughts? Maybe test on your rig to see if you get the same?
Dale
:-) :-)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-24 1:54 ` Dale
@ 2008-12-24 17:01 ` Grant
2008-12-24 17:16 ` Dale
2008-12-26 20:05 ` Neil Bothwick
2008-12-26 20:07 ` Neil Bothwick
1 sibling, 2 replies; 26+ messages in thread
From: Grant @ 2008-12-24 17:01 UTC (permalink / raw
To: gentoo-user
>> no, you have to do -e system first because system does not belong to world
>> anymore (for a couple of month it does not belong to world anymore. 6 or
>> something like that).
>>
>>
>>
>>
>
> I was sort of in the discussion on -dev about this one. From my
> understanding, world and system works like it used to. @system and
> @world works the new way. However, when I type in emerge -ep world and
> then do emerge -pv @world, I get the same thing which includes the
> packages in system as well. This is a new install and I am using
> portage-2.2_rc18. I don't think I have edited anything that would
> affect this.
>
> I can attach the files if needed but only on request, maybe off list as
> well. I don't want to attach a good sized file and I have nowhere to
> host it either.
>
> Thoughts? Maybe test on your rig to see if you get the same?
I think I'm getting system included within world too.
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-24 17:01 ` Grant
@ 2008-12-24 17:16 ` Dale
2008-12-26 20:05 ` Neil Bothwick
1 sibling, 0 replies; 26+ messages in thread
From: Dale @ 2008-12-24 17:16 UTC (permalink / raw
To: gentoo-user
Grant wrote:
>>> no, you have to do -e system first because system does not belong to world
>>> anymore (for a couple of month it does not belong to world anymore. 6 or
>>> something like that).
>>>
>>>
>>>
>>>
>>>
>> I was sort of in the discussion on -dev about this one. From my
>> understanding, world and system works like it used to. @system and
>> @world works the new way. However, when I type in emerge -ep world and
>> then do emerge -pv @world, I get the same thing which includes the
>> packages in system as well. This is a new install and I am using
>> portage-2.2_rc18. I don't think I have edited anything that would
>> affect this.
>>
>> I can attach the files if needed but only on request, maybe off list as
>> well. I don't want to attach a good sized file and I have nowhere to
>> host it either.
>>
>> Thoughts? Maybe test on your rig to see if you get the same?
>>
>
> I think I'm getting system included within world too.
>
> - Grant
>
>
>
I know on -dev I asked for world to stay the same since it has been
around for sooooo long. It's easy to tell when you are in set land. It
will have a @ in front of set land. That shouldn't be to confusing.
At least it still works tho.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-24 17:01 ` Grant
2008-12-24 17:16 ` Dale
@ 2008-12-26 20:05 ` Neil Bothwick
2008-12-26 20:32 ` Grant
1 sibling, 1 reply; 26+ messages in thread
From: Neil Bothwick @ 2008-12-26 20:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
On Wed, 24 Dec 2008 09:01:03 -0800, Grant wrote:
> I think I'm getting system included within world too.
Check /var/lib/portage/world_sets
--
Neil Bothwick
Top Oxymorons Number 41: Good grief
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-24 1:54 ` Dale
2008-12-24 17:01 ` Grant
@ 2008-12-26 20:07 ` Neil Bothwick
1 sibling, 0 replies; 26+ messages in thread
From: Neil Bothwick @ 2008-12-26 20:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
On Tue, 23 Dec 2008 19:54:12 -0600, Dale wrote:
> I was sort of in the discussion on -dev about this one. From my
> understanding, world and system works like it used to. @system and
> @world works the new way. However, when I type in emerge -ep world and
> then do emerge -pv @world, I get the same thing which includes the
> packages in system as well. This is a new install and I am using
> portage-2.2_rc18.
AIUI world and system are synonyms for @world and @system for backward
compatibility.
--
Neil Bothwick
Oxymoron: Reagan memoirs.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-26 20:05 ` Neil Bothwick
@ 2008-12-26 20:32 ` Grant
2008-12-27 0:51 ` Neil Bothwick
0 siblings, 1 reply; 26+ messages in thread
From: Grant @ 2008-12-26 20:32 UTC (permalink / raw
To: gentoo-user
>> I think I'm getting system included within world too.
>
> Check /var/lib/portage/world_sets
That file doesn't exist on my system.
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-26 20:32 ` Grant
@ 2008-12-27 0:51 ` Neil Bothwick
2008-12-27 15:35 ` Grant
0 siblings, 1 reply; 26+ messages in thread
From: Neil Bothwick @ 2008-12-27 0:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
On Fri, 26 Dec 2008 12:32:36 -0800, Grant wrote:
> >
> > Check /var/lib/portage/world_sets
>
> That file doesn't exist on my system.
Which version of portage are you using? Sets are a feature of the
2.2 branch, as is the separate @system and 'world.
--
Neil Bothwick
... Never say anything more predictive than "Watch this!"
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [gentoo-user] Changing profiles
2008-12-27 0:51 ` Neil Bothwick
@ 2008-12-27 15:35 ` Grant
0 siblings, 0 replies; 26+ messages in thread
From: Grant @ 2008-12-27 15:35 UTC (permalink / raw
To: gentoo-user
>> > Check /var/lib/portage/world_sets
>>
>> That file doesn't exist on my system.
>
> Which version of portage are you using? Sets are a feature of the
> 2.2 branch, as is the separate @system and 'world.
OK, I'm using portage-2.1.4.5. It's the latest amd64.
- Grant
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2008-12-27 15:35 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-23 15:12 [gentoo-user] Changing profiles Grant
2008-12-23 15:22 ` Albert Hopkins
2008-12-23 15:28 ` Grant
2008-12-23 15:45 ` Albert Hopkins
2008-12-23 15:55 ` Grant
2008-12-23 16:49 ` Albert Hopkins
2008-12-23 17:03 ` Grant
2008-12-23 17:38 ` Grant
2008-12-23 21:38 ` Neil Bothwick
2008-12-23 16:57 ` James Stull
2008-12-23 17:28 ` Volker Armin Hemmann
2008-12-23 17:40 ` Grant
2008-12-23 18:16 ` Volker Armin Hemmann
2008-12-23 21:39 ` Neil Bothwick
2008-12-24 1:54 ` Dale
2008-12-24 17:01 ` Grant
2008-12-24 17:16 ` Dale
2008-12-26 20:05 ` Neil Bothwick
2008-12-26 20:32 ` Grant
2008-12-27 0:51 ` Neil Bothwick
2008-12-27 15:35 ` Grant
2008-12-26 20:07 ` Neil Bothwick
2008-12-23 17:51 ` Willie Wong
2008-12-23 19:53 ` Alan McKinnon
2008-12-23 20:05 ` Grant
2008-12-23 20:16 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox