From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi0-f45.google.com ([209.85.218.45]) by pp; Mon May 11 17:17:41 EDT 2015 Received: by oift201 with SMTP id t201so115271459oif.3 for <9front@9front.org>; Mon, 11 May 2015 14:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=PUmN/ZKUbHd0fvvbMHElUt7eb3ukSCR97PDoMZnbGwc=; b=Fbo+woSOx4uum4v31MDs4sID99dMOAi5L73R8tks28r8JQaiqEse2A/3Fa2gbUhiIQ MYgVUftfL8uxPei+jOr4v4maCJLoUnlRtzoA/MLIiY453jXEuOriL6zXcxPTcZSgx/9s TIKlVCu3GqNUmavJi3cpFF3ViGxoLLPIogN0epr2dSQvO44Bs6pdc/ggrN2bPk6iwsHb ENBN2ontgMJiDkWxnuaIV+i3+fSbVoZA71LHVNaDH0+jFmSSadF98kDTSMlXGm+azk7A 0fKKmhiV8LZeTc/+ftnNZ1U/BS2BEJ+MGQHtgLZMv1qHtmdgPzerrOQ9e8Rl43NX8gwT V+tA== X-Received: by 10.60.33.74 with SMTP id p10mr9609962oei.62.1431379058919; Mon, 11 May 2015 14:17:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.88.85 with HTTP; Mon, 11 May 2015 14:17:18 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Iruat=C3=A3_Souza?= Date: Mon, 11 May 2015 18:17:18 -0300 Message-ID: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: interface firewall injection-aware control Subject: Re: [9front] pkg/unpkg strangeness To: 9front@9front.org Content-Type: text/plain; charset=UTF-8 According to tar(1): File path names are limited to 100 characters (256 when using ustar format). Every file that has a path bigger than that leads to pkg/unpkg trying to unpack the file into /. On Mon, May 11, 2015 at 5:28 PM, wrote: > Someone mailed me pointing out that the old equis package aborts > during installation. I was able to reproduce. On a 386/9pcf system: > > ; pkg/install equis-2012.01.11 > > -- snip -- > > A ps2pdf_spooltodir.sh > pkg/unpkg: 'ps2pdf_spooltodir.sh' mounted directory forbids creation > > > I manually unpacked equis-2012.01.11.tbz and found this: > > ; ls > 386 > sys > ; du -a * | sed 's/^.* //g' | grep ps2pdf_spooltodir.sh > sys/src/pkg/equis-2012.01.11/cmd/X/hw/xprint/config/C/print/models/PS2PDFspooldir-GS/ps2pdf_spooltodir.sh > > Makes no sense. The tarball is supposed to just unpack over /. As you > can see, nothing should get created directly in / (/386 and /sys already > exist on every system). pkg/unpkg must be doing something strange. > > I do think we saw this before and I forgot to investigate. > > Why is this happening? > > sl