* [gentoo-user] prelink Gentoo docs confusing
@ 2009-08-14 15:27 Nikos Chantziaras
2009-08-15 11:59 ` Albert Hopkins
0 siblings, 1 reply; 5+ messages in thread
From: Nikos Chantziaras @ 2009-08-14 15:27 UTC (permalink / raw
To: gentoo-user
On http://www.gentoo.org/doc/en/prelink-howto.xml is says:
You do not need to set FEATURES="prelink" in your make.conf
file; Portage will automatically support prelink if it can
find the prelink binary.
Does that mean there's a way portage will call prelink on its own when
it finds it? Well, it doesn't here. I still have to manually prelink
or have a cron job.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] prelink Gentoo docs confusing
2009-08-14 15:27 [gentoo-user] prelink Gentoo docs confusing Nikos Chantziaras
@ 2009-08-15 11:59 ` Albert Hopkins
2009-08-17 2:27 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 1 reply; 5+ messages in thread
From: Albert Hopkins @ 2009-08-15 11:59 UTC (permalink / raw
To: gentoo-user
On Fri, 2009-08-14 at 18:27 +0300, Nikos Chantziaras wrote:
> On http://www.gentoo.org/doc/en/prelink-howto.xml is says:
>
> You do not need to set FEATURES="prelink" in your make.conf
> file; Portage will automatically support prelink if it can
> find the prelink binary.
>
> Does that mean there's a way portage will call prelink on its own when
> it finds it? Well, it doesn't here. I still have to manually prelink
> or have a cron job.
I've always wondered this too, so I decided to test it:
* Put "prelink" in my FEATURES in make.conf
* mv /usr/sbin/prelink /usr/sbin/prelink.0
* Created /usr/sbin/prelink shell script with the following:
# cat /usr/sbin/prelink
#!/bin/sh
echo `date` $* >> /tmp/prelink.txt
* # rm -f /tmp/prelink.txt ; emerge -1 tar
* # cat /tmp/prelink.txt
Sat Aug 15 07:45:35 EDT 2009 --version
Sat Aug 15 07:45:41 EDT 2009 --version
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/bin/tar
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/usr/lib/debug/bin/tar.debug
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/usr/lib/debug/usr/sbin/rmt.debug
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/usr/sbin/backup-tar
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/usr/sbin/restore-tar
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/usr/sbin/dump-remind
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/usr/sbin/rmt
Sat Aug 15 07:46:16 EDT 2009
--verify /var/scratch/portage/app-arch/tar-1.22/image/usr/sbin/backup.sh
[...]
So it appears that it *is* running it on its own.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: prelink Gentoo docs confusing
2009-08-15 11:59 ` Albert Hopkins
@ 2009-08-17 2:27 ` Nikos Chantziaras
2009-08-17 9:07 ` pk
0 siblings, 1 reply; 5+ messages in thread
From: Nikos Chantziaras @ 2009-08-17 2:27 UTC (permalink / raw
To: gentoo-user
On 08/15/2009 02:59 PM, Albert Hopkins wrote:
> On Fri, 2009-08-14 at 18:27 +0300, Nikos Chantziaras wrote:
>> On http://www.gentoo.org/doc/en/prelink-howto.xml is says:
>>
>> You do not need to set FEATURES="prelink" in your make.conf
>> file; Portage will automatically support prelink if it can
>> find the prelink binary.
>>
>> Does that mean there's a way portage will call prelink on its own when
>> it finds it? Well, it doesn't here. I still have to manually prelink
>> or have a cron job.
>
> I've always wondered this too, so I decided to test it:
>
> * Put "prelink" in my FEATURES in make.conf
> [...]
>
> So it appears that it *is* running it on its own.
But the docs I quotes say "You do not need to set FEATURES="prelink" in
your make.conf."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: prelink Gentoo docs confusing
2009-08-17 2:27 ` [gentoo-user] " Nikos Chantziaras
@ 2009-08-17 9:07 ` pk
2009-08-17 11:47 ` Nikos Chantziaras
0 siblings, 1 reply; 5+ messages in thread
From: pk @ 2009-08-17 9:07 UTC (permalink / raw
To: gentoo-user
Nikos Chantziaras wrote:
> But the docs I quotes say "You do not need to set FEATURES="prelink" in
> your make.conf."
Maybe not an answer to your questions but...:
http://lwn.net/Articles/341244/
Best regards
Peter K
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: prelink Gentoo docs confusing
2009-08-17 9:07 ` pk
@ 2009-08-17 11:47 ` Nikos Chantziaras
0 siblings, 0 replies; 5+ messages in thread
From: Nikos Chantziaras @ 2009-08-17 11:47 UTC (permalink / raw
To: gentoo-user
On 08/17/2009 12:07 PM, pk wrote:
> Nikos Chantziaras wrote:
>
>> But the docs I quotes say "You do not need to set FEATURES="prelink" in
>> your make.conf."
>
> Maybe not an answer to your questions but...:
> http://lwn.net/Articles/341244/
If you actually read the article linked to from that one:
"Just before the holiday weekend in the US, somebody uploaded a broken
prelink which hosed most important executables on the system. The result
was a box which wouldn't boot"
I take it the prelink in Gentoo is not broken.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-08-17 11:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14 15:27 [gentoo-user] prelink Gentoo docs confusing Nikos Chantziaras
2009-08-15 11:59 ` Albert Hopkins
2009-08-17 2:27 ` [gentoo-user] " Nikos Chantziaras
2009-08-17 9:07 ` pk
2009-08-17 11:47 ` Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox