Package: cpio
Version: 2.6-11
Severity: important

This may be a dup of bug #358990, but I don't think so.  #358990
describes a bug in "cpio -o".  I think this is a bug in "cpio -i".

Briefly:

  [EMAIL PROTECTED]:/$> cd /; (echo .; echo etc; echo lost+found) | cpio -o -H 
ustar | cpio -itv
  drwxr-xr-x   1 root     root     2501907082 Mar  8  1913
  5 blocks
  cpio: invalid header: checksum error
  cpio: warning: skipped 138 bytes of junk
  drwxr-xr-x   1 root     root     4274001609 May  3  1969 lost+found/
  5 blocks

Feeding cpio any 3 consecutive directories will trigger the bug.
tar is happy with the same archive, which is why I think it is
a bug in "cpio -i".

  [EMAIL PROTECTED]:/$> (echo .; echo etc; echo lost+found) | cpio -o -H ustar 
| tar tv
  5 blocks
  tar: Read 2560 bytes from -
  drwxr-xr-x root/root         0 2006-04-11 12:30:01
  drwxr-xr-x root/root         0 2006-04-26 18:45:40 etc/
  drwxr-xr-x root/root         0 2005-12-19 11:08:06 lost+found/

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.16-5.1-lube-686-smp
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages cpio depends on:
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to