[LFS Trac] #1721: Perl ./Configure can leak information from chroot environment

LFS Trac trac at linuxfromscratch.org
Tue Mar 21 11:14:00 PST 2006


#1721: Perl ./Configure can leak information from chroot environment
-------------------------------------+--------------------------------------
 Reporter:  martyman99999 at yahoo.com  |        Owner:  lfs-book at linuxfromscratch.org
     Type:  defect                   |       Status:  closed                       
 Priority:  normal                   |    Milestone:                               
Component:  Book                     |      Version:  SVN                          
 Severity:  normal                   |   Resolution:  invalid                      
 Keywords:                           |  
-------------------------------------+--------------------------------------
Comment (by dbn.lists at gmail.com):

 Here's where `uname -r` information ends up.  This looks like more of an
 issue (Errno.pm), but I don't know if there's much we can do about it.  It
 certainly has been working this way for a long time.  (Apologies for
 excessive WikiFormatting)

 {{{
 $ for F in $(paco -fzx perl); do
 grep -H "$(uname -r)" $F 2>/dev/null
 done
 /usr/lib/perl5/5.8.8/i686-linux/Config.pm:    osvers => '2.6.10-1',
 /usr/lib/perl5/5.8.8/i686-linux/Config_heavy.pl:## Target system     :
 linux anduin 2.6.10-1 #1 tue jan 18 06:22:56 cst 2005 i686 athlon-4 i386
 gnulinux
 /usr/lib/perl5/5.8.8/i686-linux/Config_heavy.pl:myuname='linux anduin
 2.6.10-1 #1 tue jan 18 06:22:56 cst 2005 i686 athlon-4 i386 gnulinux '
 /usr/lib/perl5/5.8.8/i686-linux/Config_heavy.pl:osvers='2.6.10-1'
 /usr/lib/perl5/5.8.8/i686-linux/CORE/config.h: * Target system     : linux
 anduin 2.6.10-1 #1 tue jan 18 06:22:56 cst 2005 i686 athlon-4 i386
 gnulinux
 /usr/lib/perl5/5.8.8/i686-linux/CORE/config.h:#define OSVERS "2.6.10-1"
 /**/
 /usr/lib/perl5/5.8.8/i686-linux/Errno.pm:"i686-linux-2.6.10-1" or
 /usr/lib/perl5/5.8.8/i686-linux/Errno.pm:       die "Errno architecture
 (i686-linux-2.6.10-1) does not match executable architecture
 ($Config{'archname'}-$Config{'osvers'})";
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1721>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list