public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Remove prelink and purge prelinked exec
@ 2006-11-12 19:58 Marco Calviani
  2006-11-12 20:40 ` Jesús Guerrero
  2006-11-13 12:40 ` Bo Ørsted Andresen
  0 siblings, 2 replies; 11+ messages in thread
From: Marco Calviani @ 2006-11-12 19:58 UTC (permalink / raw
  To: gentoo-user

Hi list,
   i would like to remove prelink and put the system to the state it
has before the prelink procedure. I've read that a

# prelink -ua

can do the job but i would have some suggestions from you all. It is
enough to behave like this?

Regards,
mc
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-12 19:58 [gentoo-user] Remove prelink and purge prelinked exec Marco Calviani
@ 2006-11-12 20:40 ` Jesús Guerrero
  2006-11-13  6:29   ` Marco Calviani
                     ` (2 more replies)
  2006-11-13 12:40 ` Bo Ørsted Andresen
  1 sibling, 3 replies; 11+ messages in thread
From: Jesús Guerrero @ 2006-11-12 20:40 UTC (permalink / raw
  To: gentoo-user

El Domingo, 12 de Noviembre de 2006 20:58, Marco Calviani escribió:
> Hi list,
>    i would like to remove prelink and put the system to the state it
> has before the prelink procedure. I've read that a
>
> # prelink -ua
>
> can do the job but i would have some suggestions from you all. It is
> enough to behave like this?
>
> Regards,
> mc

I never trusted prelink. So, I dont trust it to un-prelink either. 

The best way to make sure your binaries are not altered by 3rd party tools is 
this:

emerge -euD world

Regards, Jesús.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-12 20:40 ` Jesús Guerrero
@ 2006-11-13  6:29   ` Marco Calviani
  2006-11-13  7:06     ` Dale
  2006-11-13 17:34     ` Jesús Guerrero
  2006-11-13  7:41   ` Uwe Thiem
  2006-11-13 12:44   ` Bo Ørsted Andresen
  2 siblings, 2 replies; 11+ messages in thread
From: Marco Calviani @ 2006-11-13  6:29 UTC (permalink / raw
  To: gentoo-user

Hi,

> emerge -euD world

but: is this going to recompile everything (e option) or only those
that needs upgrade?

Regards,
mc
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-13  6:29   ` Marco Calviani
@ 2006-11-13  7:06     ` Dale
  2006-11-13 17:34     ` Jesús Guerrero
  1 sibling, 0 replies; 11+ messages in thread
From: Dale @ 2006-11-13  7:06 UTC (permalink / raw
  To: gentoo-user

Marco Calviani wrote:
> Hi,
>
>> emerge -euD world
>
> but: is this going to recompile everything (e option) or only those
> that needs upgrade?
>
> Regards,
> mc
>        --emptytree (-e)
>               Reinstalls all world packages and their dependencies to
> the  current  USE
>               specifications while differing from the installed set of
> packages as lit-
>               tle as possible.  You should run with --pretend first
> to  make  sure  the
>               result is what you expect.

That recompiles everything on your system. 

Dale

:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-12 20:40 ` Jesús Guerrero
  2006-11-13  6:29   ` Marco Calviani
@ 2006-11-13  7:41   ` Uwe Thiem
  2006-11-13 12:44   ` Bo Ørsted Andresen
  2 siblings, 0 replies; 11+ messages in thread
From: Uwe Thiem @ 2006-11-13  7:41 UTC (permalink / raw
  To: gentoo-user

On 12 November 2006 22:40, Jesús Guerrero wrote:

> I never trusted prelink. So, I dont trust it to un-prelink either.

Just out of curiosity: Why? As in "it doesn't do its job" or as in "it makes 
the system unstable"?

My whole system is prelinked and it is very stable. Startup times of C++ 
applications are shorter.

>
> The best way to make sure your binaries are not altered by 3rd party tools
> is this:
>
> emerge -euD world

Probably right.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-12 19:58 [gentoo-user] Remove prelink and purge prelinked exec Marco Calviani
  2006-11-12 20:40 ` Jesús Guerrero
@ 2006-11-13 12:40 ` Bo Ørsted Andresen
  1 sibling, 0 replies; 11+ messages in thread
From: Bo Ørsted Andresen @ 2006-11-13 12:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

On Sunday 12 November 2006 20:58, Marco Calviani wrote:
> Hi list,
>    i would like to remove prelink and put the system to the state it
> has before the prelink procedure. I've read that a
>
> # prelink -ua
>
> can do the job but i would have some suggestions from you all. It is
> enough to behave like this?

Gentoo provides a prelink howto [1]. But the bottom line is you need to do:

# prelink -ua && emerge -Cva prelink

As long as prelink is installed portage will use it...

[1] http://www.gentoo.org/doc/en/prelink-howto.xml

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-12 20:40 ` Jesús Guerrero
  2006-11-13  6:29   ` Marco Calviani
  2006-11-13  7:41   ` Uwe Thiem
@ 2006-11-13 12:44   ` Bo Ørsted Andresen
  2006-11-13 13:22     ` Uwe Thiem
  2 siblings, 1 reply; 11+ messages in thread
From: Bo Ørsted Andresen @ 2006-11-13 12:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

On Sunday 12 November 2006 21:40, Jesús Guerrero wrote:
> I never trusted prelink. So, I dont trust it to un-prelink either.
>
> The best way to make sure your binaries are not altered by 3rd party tools
> is this:
>
> emerge -euD world

This is slightly amusing. Remerging every package while prelink is still 
installed will use prelink again... Also --update and --deep are ignored 
with --emptytree. Finally --unmerge of any prelinked package would fail the 
checksum and the binaries would be left alone if prelink --undo didn't work. 
But because portage does prelink --undo (which works) before checking the 
checksum --unmerge works just fine...

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-13 12:44   ` Bo Ørsted Andresen
@ 2006-11-13 13:22     ` Uwe Thiem
  2006-11-13 15:24       ` Bo Ørsted Andresen
  2006-11-13 17:35       ` Jesús Guerrero
  0 siblings, 2 replies; 11+ messages in thread
From: Uwe Thiem @ 2006-11-13 13:22 UTC (permalink / raw
  To: gentoo-user

On 13 November 2006 14:44, Bo Ørsted Andresen wrote:
> On Sunday 12 November 2006 21:40, Jesús Guerrero wrote:
> > I never trusted prelink. So, I dont trust it to un-prelink either.
> >
> > The best way to make sure your binaries are not altered by 3rd party
> > tools is this:
> >
> > emerge -euD world
>
> This is slightly amusing. Remerging every package while prelink is still
> installed will use prelink again... 

Only if PRELINKING in /etc/conf.d/prelink is set to "yes". I prefer to do my 
prelinking myself, so I set it to "no" - and emerge keeps its hand off 
prelink.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-13 13:22     ` Uwe Thiem
@ 2006-11-13 15:24       ` Bo Ørsted Andresen
  2006-11-13 17:35       ` Jesús Guerrero
  1 sibling, 0 replies; 11+ messages in thread
From: Bo Ørsted Andresen @ 2006-11-13 15:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

On Monday 13 November 2006 14:22, Uwe Thiem wrote:
> On 13 November 2006 14:44, Bo Ørsted Andresen wrote:
> > On Sunday 12 November 2006 21:40, Jesús Guerrero wrote:
> > > I never trusted prelink. So, I dont trust it to un-prelink either.
> > >
> > > The best way to make sure your binaries are not altered by 3rd party
> > > tools is this:
> > >
> > > emerge -euD world
> >
> > This is slightly amusing. Remerging every package while prelink is still
> > installed will use prelink again...
>
> Only if PRELINKING in /etc/conf.d/prelink is set to "yes". I prefer to do
> my prelinking myself, so I set it to "no" - and emerge keeps its hand off
> prelink.

Yes, I missed that. Portage just adds to the list of locations 
in /etc/prelink.conf that should be prelinked if PRELINKING is set to yes. 
And during unmerge is runs prelink --undo as already mentioned. So if 
PRELINKING is set to yes then setting it to no is actually all that is 
required:

# head -n 4 /etc/conf.d/prelink
# Set this to no to disable prelinking altogether
# (if you change this from yes to no prelink -ua
# will be run next night to undo prelinking)
PRELINKING=yes

And if it is set to no then `prelink -ua` is sufficient to undo manual 
prelinking.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-13  6:29   ` Marco Calviani
  2006-11-13  7:06     ` Dale
@ 2006-11-13 17:34     ` Jesús Guerrero
  1 sibling, 0 replies; 11+ messages in thread
From: Jesús Guerrero @ 2006-11-13 17:34 UTC (permalink / raw
  To: gentoo-user

El Mon, 13 Nov 2006 07:29:07 +0100
"Marco Calviani" <marco.calviani@gmail.com> escribió:

> Hi,
> 
> > emerge -euD world
> 
> but: is this going to recompile everything (e option) or only those
> that needs upgrade?
> 
> Regards,
> mc

Everything, but, except for the few packages that are binary-only or
docs-only. The two lists ("everything" and "what needs to be
recompiled") do have the same elements.

Jesús.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Remove prelink and purge prelinked exec
  2006-11-13 13:22     ` Uwe Thiem
  2006-11-13 15:24       ` Bo Ørsted Andresen
@ 2006-11-13 17:35       ` Jesús Guerrero
  1 sibling, 0 replies; 11+ messages in thread
From: Jesús Guerrero @ 2006-11-13 17:35 UTC (permalink / raw
  To: gentoo-user

El Mon, 13 Nov 2006 15:22:25 +0200
Uwe Thiem <uwix@iway.na> escribió:

> On 13 November 2006 14:44, Bo Ørsted Andresen wrote:
> > On Sunday 12 November 2006 21:40, Jesús Guerrero wrote:
> > > I never trusted prelink. So, I dont trust it to un-prelink either.
> > >
> > > The best way to make sure your binaries are not altered by 3rd
> > > party tools is this:
> > >
> > > emerge -euD world
> >
> > This is slightly amusing. Remerging every package while prelink is
> > still installed will use prelink again... 
> 
> Only if PRELINKING in /etc/conf.d/prelink is set to "yes". I prefer
> to do my prelinking myself, so I set it to "no" - and emerge keeps
> its hand off prelink.
> 
> Uwe
> 

Thank you for pointing that out. 

Small detail that I bypassed. :P

Jesús.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-11-13 17:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-12 19:58 [gentoo-user] Remove prelink and purge prelinked exec Marco Calviani
2006-11-12 20:40 ` Jesús Guerrero
2006-11-13  6:29   ` Marco Calviani
2006-11-13  7:06     ` Dale
2006-11-13 17:34     ` Jesús Guerrero
2006-11-13  7:41   ` Uwe Thiem
2006-11-13 12:44   ` Bo Ørsted Andresen
2006-11-13 13:22     ` Uwe Thiem
2006-11-13 15:24       ` Bo Ørsted Andresen
2006-11-13 17:35       ` Jesús Guerrero
2006-11-13 12:40 ` Bo Ørsted Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox