Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-26 Thread Wichert Akkerman
Previously Joey Hess wrote: > if (lstat(pathname,&stab)) return -1; > if (S_ISREG(stab.st_mode) ? (stab.st_mode | 07000) : > !(S_ISLNK(stab.st_mode) || S_ISDIR(stab.st_mode) || >S_ISFIFO(stab.st_mode) || S_ISSOCK(stab.st_mode))) { You found a nice little bug in there: (stab.st_mode |

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-25 Thread Ben Collins
On Sat, Sep 25, 1999 at 03:00:35AM -0700, Joey Hess wrote: > Darren/Torin/Who Ever... wrote: > > I inherited this when I inherited the package in November of 1995. It > > was setup this way so that after the removal of the previous Perl > > package and before the installation of a new Perl package

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-25 Thread Ben Collins
On Sat, Sep 25, 1999 at 02:42:28AM -0700, Darren/Torin/Who Ever... wrote: > I notice that bash doesn't do any shenanigans like this. Is this a > relic of bygone days and I don't need to do this funky stuff anymore? > That would make things much easier for me. Nothing to do but test :) Ben

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-25 Thread Joey Hess
Darren/Torin/Who Ever... wrote: > I inherited this when I inherited the package in November of 1995. It > was setup this way so that after the removal of the previous Perl > package and before the installation of a new Perl package, there was > still a Perl available. Since we always needed a Per

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-25 Thread Darren/Torin/Who Ever...
-BEGIN PGP SIGNED MESSAGE- Ben Collins <[EMAIL PROTECTED]>, in an immanent manifestation of deity, wrote: >More specifically it is dpkg doing the breaking, but it's perl's fault on >how it is setting everything up. > >You will note that these two binaries are in the perl package itself > >

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Joey Hess
Ben Collins wrote: > Now when dpkg first unpacks a package, it replaces binaries by first, > chmod 600 on the binary (I'm not sure why, but it does), then unlinking > it. The reason why dpkg does this is because of a neat little hard link exploit. [EMAIL PROTECTED]:/tmp>ln /usr/gamesxthrust [EMAI

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Joost Kooij
Hi, On 24 Sep 1999, David Coe wrote: > Looking at libc6.postinst I see that it runs (at least) two > perl scripts: update-rc.d and suidregister. I believe it was > update-rc.d that failed, but I can't be positive. That is a correct observation. Fix: # chmod 755 /usr/bin/perl-5.005 # dpkg --c

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread David Coe
Mirek Kwasniak <[EMAIL PROTECTED]> writes: > On Fri, Sep 24, 1999 at 11:22:02AM -0400, Ben Collins wrote: > [...] > > It is left like this until perl is configured and the postinst script > > takes care of moving perl-5.005.dist to perl-5.005. > > > > > > Why does perl need to do all this hardl

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Mirek Kwasniak
On Fri, Sep 24, 1999 at 11:22:02AM -0400, Ben Collins wrote: [...] > It is left like this until perl is configured and the postinst script > takes care of moving perl-5.005.dist to perl-5.005. > > Why does perl need to do all this hardlink magic and also leave us with a > binary that dpkg knows

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Ben Collins
On Fri, Sep 24, 1999 at 01:46:18AM -0700, Darren/Torin/Who Ever... wrote: > > So, if you're getting a Perl binary that's 0600, it's either you, apt-get, > or dpkg. More specifically it is dpkg doing the breaking, but it's perl's fault on how it is setting everything up. You will note that these

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Michael Alan Dorman
"Darren/Torin/Who Ever..." <[EMAIL PROTECTED]> writes: > So, if you're getting a Perl binary that's 0600, it's either you, apt-get, > or dpkg. I've seen this on both my machines, and I've got a log here (which I suspect is mostly a repeat of Branden's): >(Reading database ... 8970 files and direc

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Ashley Clark
On Fri, 24 Sep 1999, Branden Robinson wrote: > [1] 1013 apocalypse ~ > ls -dl /usr/bin/perl > lrwxrwxrwx 1 root root 10 Sep 23 22:02 /usr/bin/perl -> > perl-5.005 > [0] 1014 apocalypse ~ > ls -dl /usr/bin/perl-5.005 > -rw--- 1 root root 534844 Aug 19 04:29 /usr/bin/

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Vincent Renardias
On Fri, 24 Sep 1999, Branden Robinson wrote: > Haven't found anyone else with this problem yet. Doogie's explanation is > that I have somehow rigged my system to cause this. The rest of us may > actually want to bother investigating. I had exactly the same problem this morning... ( /usr/bin/pe

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread David Webb
On Fri, 24 Sep 1999, Branden Robinson wrote: > Haven't found anyone else with this problem yet. Doogie's explanation is > that I have somehow rigged my system to cause this. The rest of us may > actually want to bother investigating. [lots of stuff snipped] > /var/lib/dpkg/info/libc6.postinst:

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Darren/Torin/Who Ever...
-BEGIN PGP SIGNED MESSAGE- Branden Robinson, in an immanent manifestation of deity, wrote: >apt problem or perl problem? perl is shipping with a mode 600 executable; that >seems pretty weird to me but I try to keep my distance from perl. >[0] 1014 apocalypse ~ > ls -dl /usr/bin/perl-5.005

Re: possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Chris Lawrence
On Sep 24, Branden Robinson wrote: > [...later...] > > [1] 1013 apocalypse ~ > ls -dl /usr/bin/perl > lrwxrwxrwx 1 root root 10 Sep 23 22:02 /usr/bin/perl -> > perl-5.005 > [0] 1014 apocalypse ~ > ls -dl /usr/bin/perl-5.005 > -rw--- 1 root root 534844 Aug 19 04:29

possible problem with new perl, libc6 on Sep 23rd

1999-09-24 Thread Branden Robinson
Haven't found anyone else with this problem yet. Doogie's explanation is that I have somehow rigged my system to cause this. The rest of us may actually want to bother investigating. apt problem or perl problem? perl is shipping with a mode 600 executable; that seems pretty weird to me but I tr