* [gentoo-hardened] Profile hardened/linux/x86 updated
@ 2010-11-20 13:54 Anthony G. Basile
2010-11-21 6:45 ` Lypsik
2010-11-21 12:43 ` "Tóth Attila"
0 siblings, 2 replies; 8+ messages in thread
From: Anthony G. Basile @ 2010-11-20 13:54 UTC (permalink / raw
To: gentoo-hardened
Hi everyone,
I've now updated the x86 profile for hardened:
hardened/linux/x86
Please test by switching to the new profile and making sure your emerge
-ep system and emerge -ep world do not change.
There is only amd64 yet to go. If all goes well with x86, I will make
update amd64 around Nov 24, 2010.
As always, let me know if anything breaks.
--
Anthony G. Basile, Ph.D.
Gentoo Developer
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-hardened] Profile hardened/linux/x86 updated
2010-11-20 13:54 [gentoo-hardened] Profile hardened/linux/x86 updated Anthony G. Basile
@ 2010-11-21 6:45 ` Lypsik
2010-11-21 19:30 ` Anthony G. Basile
2010-11-21 12:43 ` "Tóth Attila"
1 sibling, 1 reply; 8+ messages in thread
From: Lypsik @ 2010-11-21 6:45 UTC (permalink / raw
To: gentoo-hardened
"making sure your emerge -ep system and emerge -ep world do not change"
What does this mean exactly? Running these commands should say "Total:
0 packages, Size of downloads: 0 kB"? Because on my install "emerge
-ep system" wants to reinstall 159 and "emerge -ep world" 640
packages.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-hardened] Profile hardened/linux/x86 updated
2010-11-20 13:54 [gentoo-hardened] Profile hardened/linux/x86 updated Anthony G. Basile
2010-11-21 6:45 ` Lypsik
@ 2010-11-21 12:43 ` "Tóth Attila"
1 sibling, 0 replies; 8+ messages in thread
From: "Tóth Attila" @ 2010-11-21 12:43 UTC (permalink / raw
To: gentoo-hardened
That was a smooth transition. The claimed packages seems to be the same.
--
dr Tóth Attila, Radiológus, 06-20-825-8057, 06-30-5962-962
Attila Toth MD, Radiologist, +36-20-825-8057, +36-30-5962-962
2010.November 20.(Szo) 14:54 időpontban Anthony G. Basile ezt írta:
>
> Hi everyone,
>
> I've now updated the x86 profile for hardened:
>
> hardened/linux/x86
>
> Please test by switching to the new profile and making sure your emerge
> -ep system and emerge -ep world do not change.
>
> There is only amd64 yet to go. If all goes well with x86, I will make
> update amd64 around Nov 24, 2010.
>
> As always, let me know if anything breaks.
>
>
>
> --
> Anthony G. Basile, Ph.D.
> Gentoo Developer
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-hardened] Profile hardened/linux/x86 updated
2010-11-21 6:45 ` Lypsik
@ 2010-11-21 19:30 ` Anthony G. Basile
2010-11-23 19:01 ` Lypsik
0 siblings, 1 reply; 8+ messages in thread
From: Anthony G. Basile @ 2010-11-21 19:30 UTC (permalink / raw
To: gentoo-hardened
On 11/21/2010 01:45 AM, Lypsik wrote:
> "making sure your emerge -ep system and emerge -ep world do not change"
> What does this mean exactly? Running these commands should say "Total:
> 0 packages, Size of downloads: 0 kB"? Because on my install "emerge
> -ep system" wants to reinstall 159 and "emerge -ep world" 640
> packages.
This is expected. The point is that emerge -ep system wants to rebuild
everything in your system target, and emerge -ep world wants to rebuild
everything in your world target. I'm not suggesting that you actually
do so, hence the -p (pretend). What I'm saying is that these lists
should not change BEFORE and AFTER the profile change. If they do, then
I made some mistake. I tested on my test systems, but since there are
so many possible combinations of USE flags and packages, I thought I'd
get community feedback too.
What you should have seen for emerge -ep system is something like this
blueness@yellowness ~ $ emerge -ep system
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-libs/zlib-1.2.3-r1
[ebuild R ] virtual/libintl-0
[ebuild R ] dev-libs/expat-2.0.1-r3
[ebuild R ] sys-devel/gnuconfig-20100403
[ebuild R ] virtual/libiconv-0
[ebuild R ] app-arch/bzip2-1.0.6
[ebuild R ] dev-libs/gmp-4.3.2
[ebuild R ] media-libs/jpeg-8b
[ebuild R ] app-misc/pax-utils-0.2.1
...
all just a bunch of R's, not U's, not UD's not NS's etc.
See man emerge for more details.
--
Anthony G. Basile, Ph.D.
Gentoo Developer
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-hardened] Profile hardened/linux/x86 updated
2010-11-21 19:30 ` Anthony G. Basile
@ 2010-11-23 19:01 ` Lypsik
2010-11-23 21:01 ` klondike
0 siblings, 1 reply; 8+ messages in thread
From: Lypsik @ 2010-11-23 19:01 UTC (permalink / raw
To: gentoo-hardened
> What I'm saying is that these lists should not change BEFORE and AFTER the profile change.
OK, I understand now, but I think a step-by-step guide should have
been included (run 1, change, run2; compare output of 1&2).
>What you should have seen for emerge -ep system is something like this
> ...
> all just a bunch of R's, not U's, not UD's not NS's etc.
All R-s, so I think everything works.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-hardened] Profile hardened/linux/x86 updated
2010-11-23 19:01 ` Lypsik
@ 2010-11-23 21:01 ` klondike
2010-11-25 5:20 ` Lypsik
0 siblings, 1 reply; 8+ messages in thread
From: klondike @ 2010-11-23 21:01 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
El 23/11/10 20:01, Lypsik escribió:
>> What I'm saying is that these lists should not change BEFORE and AFTER the profile change.
> OK, I understand now, but I think a step-by-step guide should have
> been included (run 1, change, run2; compare output of 1&2).
>
>> What you should have seen for emerge -ep system is something like this
>> ...
>> all just a bunch of R's, not U's, not UD's not NS's etc.
And no use flags changed :P If I recall correctly that's use* and -use* ;)
As a fast guide:
$ emerge -evp system > /root/system1
$ emerge -evp world > /root/world1
$ eselect profile list
$ eselect profile set x
#x is the number corresponding to hardened ;)
$ emerge -evp system > /root/system2
$ diff /root/system1 /root/system2
#They shouldn't change except on the "Calculating dependencies ....... done!" line (with a different number of dots)
$ diff /root/world1 /root/world2
#They shouldn't change except on the "Calculating dependencies ....... done!" line (with a different number of dots)
#Finally to make sure:
$ emerge -va1uDN world
#Shouldn't need to upgrade, downgrade rebuild any package.
#Finally to clean up
$ rm /root/{system,world}{1,2}
Hope that helps ;)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-hardened] Profile hardened/linux/x86 updated
2010-11-23 21:01 ` klondike
@ 2010-11-25 5:20 ` Lypsik
2010-11-28 13:56 ` Lypsik
0 siblings, 1 reply; 8+ messages in thread
From: Lypsik @ 2010-11-25 5:20 UTC (permalink / raw
To: gentoo-hardened
Thanks for the commands, I have one more x86 to switch over, and also
an amd64 coming up.
On Tue, Nov 23, 2010 at 23:01, klondike <franxisco1988@gmail.com> wrote:
> El 23/11/10 20:01, Lypsik escribió:
> ...
> $ emerge -evp system > /root/system1
> $ emerge -evp world > /root/world1
> $ eselect profile list
> $ eselect profile set x
> #x is the number corresponding to hardened ;)
> $ emerge -evp system > /root/system2
> $ diff /root/system1 /root/system2
> #They shouldn't change except on the "Calculating dependencies ....... done!" line (with a different number of dots)
> $ diff /root/world1 /root/world2
> #They shouldn't change except on the "Calculating dependencies ....... done!" line (with a different number of dots)
> #Finally to make sure:
> $ emerge -va1uDN world
> #Shouldn't need to upgrade, downgrade rebuild any package.
> #Finally to clean up
> $ rm /root/{system,world}{1,2}
>
> Hope that helps ;)
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-hardened] Profile hardened/linux/x86 updated
2010-11-25 5:20 ` Lypsik
@ 2010-11-28 13:56 ` Lypsik
0 siblings, 0 replies; 8+ messages in thread
From: Lypsik @ 2010-11-28 13:56 UTC (permalink / raw
To: gentoo-hardened
Updating the profile on the other x86 and on the amd64 succeeded
without any problems.
On Thu, Nov 25, 2010 at 07:20, Lypsik <lypsik@gmail.com> wrote:
> Thanks for the commands, I have one more x86 to switch over, and also
> an amd64 coming up.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-11-28 14:03 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-20 13:54 [gentoo-hardened] Profile hardened/linux/x86 updated Anthony G. Basile
2010-11-21 6:45 ` Lypsik
2010-11-21 19:30 ` Anthony G. Basile
2010-11-23 19:01 ` Lypsik
2010-11-23 21:01 ` klondike
2010-11-25 5:20 ` Lypsik
2010-11-28 13:56 ` Lypsik
2010-11-21 12:43 ` "Tóth Attila"
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox