On Thursday 23 September 2004 11:02, Edward Epstein wrote:
> Thus spake Jason Stubbs:
> >I just realized you're using a cascading profile with portage-2.0.50.
>
> Might you be able to tell me what a cascading profile is? I'm curious to
> know for future reference.
The flat profile is profiles/hardened-x86-2004.0 and the cascaded version is
profiles/hardened/x86. In profiles/hardened/x86 you will find a parent file
which contains a relative path to the parent of the profile. Following those
links you get:
profiles/base
profiles/hardened
profiles/hardened/x86
Each of the files are combined to produce the final profile with any
conflicting settings in the parents being overriden by the children. This
should have no impact on usage but is simply makes maintenance easier. If
something needs to change in all the profiles, the change can be made in
profiles/base and then be inherited by all the others rather than changing
each individual profile.
The profile that you are currently using is profiles/hardened/x86/2.6. This
profile takes all the settings from the profiles/hardened/x86 profile and
then overrides the defaults for virtual/linux-sources and virtual/modutils. A
flat profile would be a complete duplicate of all the files with those
changes applied.
Why shouldn't they be used with 2.0.50? Essentially, they were added to 2.0.50
as a "hidden feature". In other words, they were added so that
semi-widespread testing could be done. After some time it was found that the
implementation was sorely lacking and was redone completely. However, it was
done in CVS and so is in >=2.0.51_preX but was never back-ported to 2.0.50
because of the scope of the change. Thus 2.0.50 still has only a partially
working implementation.
Anyway, there was a recent push to thoroughly test cascading profiles so that
they can be used with the upcoming 2004.3 release. Somehow this turned into
use cascading profiles now and deprecate the old-style ones. You ever play
that game where everybody sits in a circle and whispers a message on to the
next person? Something like that...
portage-2.0.51_rc1 is ~arch at the moment and will hit stable in a few days.
Unless the NFS bug (#63433) affects you, it won't hurt to jump the gun.
Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list
> Thus spake Jason Stubbs:
> >I just realized you're using a cascading profile with portage-2.0.50.
>
> Might you be able to tell me what a cascading profile is? I'm curious to
> know for future reference.
The flat profile is profiles/hardened-x86-2004.0 and the cascaded version is
profiles/hardened/x86. In profiles/hardened/x86 you will find a parent file
which contains a relative path to the parent of the profile. Following those
links you get:
profiles/base
profiles/hardened
profiles/hardened/x86
Each of the files are combined to produce the final profile with any
conflicting settings in the parents being overriden by the children. This
should have no impact on usage but is simply makes maintenance easier. If
something needs to change in all the profiles, the change can be made in
profiles/base and then be inherited by all the others rather than changing
each individual profile.
The profile that you are currently using is profiles/hardened/x86/2.6. This
profile takes all the settings from the profiles/hardened/x86 profile and
then overrides the defaults for virtual/linux-sources and virtual/modutils. A
flat profile would be a complete duplicate of all the files with those
changes applied.
Why shouldn't they be used with 2.0.50? Essentially, they were added to 2.0.50
as a "hidden feature". In other words, they were added so that
semi-widespread testing could be done. After some time it was found that the
implementation was sorely lacking and was redone completely. However, it was
done in CVS and so is in >=2.0.51_preX but was never back-ported to 2.0.50
because of the scope of the change. Thus 2.0.50 still has only a partially
working implementation.
Anyway, there was a recent push to thoroughly test cascading profiles so that
they can be used with the upcoming 2004.3 release. Somehow this turned into
use cascading profiles now and deprecate the old-style ones. You ever play
that game where everybody sits in a circle and whispers a message on to the
next person? Something like that...
portage-2.0.51_rc1 is ~arch at the moment and will hit stable in a few days.
Unless the NFS bug (#63433) affects you, it won't hurt to jump the gun.
Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list