Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]Glibc casting

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Eric Schabell <eschabell AT sourcemage.org>
  • To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]Glibc casting
  • Date: Sun, 17 Nov 2002 20:23:21 +0100

I would love to have them tracked, would solve alot of the problems with
init.d and other apps that are creating symlinks and then getting left
behind....

Great tracking of the bug btw, you all are doing good work here,
Eric
> On Sunday November 17 2002 19:45, Dufflebunk wrote:
> Renames, symlinks, and deleted files are not tracked (see parse_iw in
> libsorcery). Should symlinks be tracked? It would seem to me that they
> should be... does anyone know why this would not be the case?
>
> #---------------------------------------------------------------------
> ##=item parse_iw
> ##
> ## Parses the installwatch log for files installed by a spell.
> ##
> #---------------------------------------------------------------------
> parse_iw() {
>
> OMIT="^/dev\|^/tmp\|^/usr/src"
> OMIT_IN=" rename\| symlink\| unlink"
>
> grep -v "$OMIT_IN" $IW_LOG | cut -f3 | grep -v "$OMIT"
> cat $IW_LOG | cut -f4 | grep -v "$OMIT" | grep "^/"
>
> }
>
> On Sun, 2002-11-17 at 13:18, Andrew wrote:
> > > perhaps its not getting symlinks?
> >
> > after doing some looking around i noticed (on a random glibc library)
> > afrayedknot@thefrayedknot:/lib$ gaze install glibc|grep
> > "^/lib/\|^/usr/lib" |grep libdl /lib/libdl-2.3.1.so
> > /usr/lib/libdl.a
> > /usr/lib/libdl_p.a
> > afrayedknot@thefrayedknot:/lib$ ls -l /lib/libdl*
> > -rwxr-xr-x 1 root root 12547 Nov 2 02:00
> > /lib/libdl-2.3.1.so lrwxr-xr-x 1 root root 14 Nov 2
> > 02:01 /lib/libdl.so.2 -> libdl-2.3.1.so afrayedknot@thefrayedknot:/lib$
> >
> > it appears that libdl.so.2 (a symlink to libdl-2.3.1.so) isnt in our
> > list of things installed, and it gets missed by the save_libraries
> > routine. this probably happens to something important and when the real
> > library gets trampled on the symlink is invalid, and its all history
> > from there.
> > _______________________________________________
> > SM-Grimoire mailing list
> > SM-Grimoire AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-grimoire





Archive powered by MHonArc 2.6.24.

Top of Page