9front - general discussion about 9front
 help / color / mirror / Atom feed
* pkg/unpkg strangeness
@ 2015-05-11 20:28 sl
  2015-05-11 21:17 ` [9front] " Iruatã Souza
  0 siblings, 1 reply; 2+ messages in thread
From: sl @ 2015-05-11 20:28 UTC (permalink / raw)
  To: 9front

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] pkg/unpkg strangeness
  2015-05-11 20:28 pkg/unpkg strangeness sl
@ 2015-05-11 21:17 ` Iruatã Souza
  0 siblings, 0 replies; 2+ messages in thread
From: Iruatã Souza @ 2015-05-11 21:17 UTC (permalink / raw)
  To: 9front

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,  <sl@9front.org> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-11 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-11 20:28 pkg/unpkg strangeness sl
2015-05-11 21:17 ` [9front] " Iruatã Souza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).