lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUB3 at the lilypond-installer stage


From: Jan Nieuwenhuizen
Subject: Re: GUB3 at the lilypond-installer stage
Date: Wed, 22 Apr 2009 14:48:38 +0200

Op dinsdag 21-04-2009 om 21:38 uur [tijdzone -0700], schreef Patrick
McCarty:

Hi Patrick,

> I ran the command that is failing through strace, and the output is
> attached.
> 
> Line 65 looks like the place tar open()s the CWD.  My system tar (GNU
> tar 1.22) also opens the CWD at this point, running the same command.

So this gets more interesting all the time.  I ran my tar through
strace, and it also opens CWD.  Running tar manually

    $ LD_PRELOAD=target/tools/root/usr/lib/librestrict.so 
target/tools/root/usr/bin/tar -C ~/tmp/x -p -xzf 
target/tools/packages/make-3.81.tools.gup
    /home/janneke/vc/gub/target/tools/root/usr/bin/tar: tried to open () file 
/home/janneke/vc/gub/.
    allowed:
      /home/janneke/vc/gub/target
      /tmp
      /dev/null
    Afgebroken (core dumped)

fails.  I'm attaching a patch that you can try as workaround.  Now it
puzzles me why tar does *not* fail in GUB for me.  It should.  Hmm.

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

Attachment: tar-cwd.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]