Your message dated Sun, 12 Feb 2012 03:06:43 +0000
with message-id <[email protected]>
and subject line Bug#42158: fixed in pax 1:20120211-1
has caused the Debian Bug report #42158,
regarding pax: hard linked files from cpio archives "restored" with zero size 
(can cause data loss)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
42158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=42158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pax
Version: 1:1.5-2

While using pax to restore some files that I had accidently
deleted, I noticed that a file with 4 hard links and size 2424 was
restored with 4 hard links (right) and 0 size (wrong).

The cpio archive was originally created with these options,

    cpio -o -0a -Hcrc

using `GNU cpio version 2.4.2'.

I used cpio to restore the same files from the same archive that
pax failed to restore correctly, and the restore using cpio was
successful.  A log of both of these restores follows.

 ---- Start of correct restore of files from cpio archive using cpio ----
24 root ~/try # mkdir cpio
25 root ~/try # cd cpio
26 root ~/try/cpio # zcat /project/bkup/99-07-28.hda7.cpio.gz | cpio -i -tv 
home/jeff/{nav\*,com\*}      
-rwxrwxr-x   4 jeff     jeff            0 Jul 21 21:42 home/jeff/nav4
-rwxrwxr-x   4 jeff     jeff            0 Jul 21 21:42 home/jeff/com4
-rwxrwxr-x   4 jeff     jeff            0 Jul 21 21:42 home/jeff/nav408
-rwxrwxr-x   4 jeff     jeff         2424 Jul 21 21:42 home/jeff/com461
1308 blocks
27 root ~/try/cpio # zcat /project/bkup/99-07-28.hda7.cpio.gz | cpio -i -dmvu 
home/jeff/{nav\*,com\*}
home/jeff/nav4
home/jeff/com4
home/jeff/nav408
cpio: home/jeff/com461 linked to home/jeff/nav408
cpio: home/jeff/com461 linked to home/jeff/com4
cpio: home/jeff/com461 linked to home/jeff/nav4
home/jeff/com461
1308 blocks
28 root ~/try/cpio # v home/jeff/*
-rwxrwxr-x   4 jeff     jeff         2424 Jul 21 21:42 home/jeff/com4*
-rwxrwxr-x   4 jeff     jeff         2424 Jul 21 21:42 home/jeff/com461*
-rwxrwxr-x   4 jeff     jeff         2424 Jul 21 21:42 home/jeff/nav4*
-rwxrwxr-x   4 jeff     jeff         2424 Jul 21 21:42 home/jeff/nav408*
 ---- End of correct restore of files from cpio archive using cpio ----

 ---- Start of incorrect restore of files from cpio archive using pax ----
29 root ~/try/cpio # cd ..
30 root ~/try # mkdir pax
31 root ~/try # cd pax
32 root ~/try/pax # zcat /project/bkup/99-07-28.hda7.cpio.gz | pax -v 
home/jeff/{nav\*,com\*}
-rwxrwxr-x  4 jeff                             jeff           0 Jul 21 21:42 
home/jeff/nav4
-rwxrwxr-x  4 jeff                             jeff           0 Jul 21 21:42 
home/jeff/com4 == home/jeff/nav4
-rwxrwxr-x  4 jeff                             jeff           0 Jul 21 21:42 
home/jeff/nav408 == home/jeff/nav4
-rwxrwxr-x  4 jeff                             jeff        2424 Jul 21 21:42 
home/jeff/com461 == home/jeff/nav4
pax: sv4crc vol 1, 527 files, 669696 bytes read, 0 bytes written.
33 root ~/try/pax # zcat /project/bkup/99-07-28.hda7.cpio.gz | pax -r -p e -v 
home/jeff/{nav\*,com\*}
home/jeff/nav4
home/jeff/com4
home/jeff/nav408
home/jeff/com461
pax: sv4crc vol 1, 527 files, 669696 bytes read, 0 bytes written.
34 root ~/try/pax # v home/jeff/*
-rwxrwxr-x   4 jeff     jeff            0 Jul 21 21:42 home/jeff/com4*
-rwxrwxr-x   4 jeff     jeff            0 Jul 21 21:42 home/jeff/com461*
-rwxrwxr-x   4 jeff     jeff            0 Jul 21 21:42 home/jeff/nav4*
-rwxrwxr-x   4 jeff     jeff            0 Jul 21 21:42 home/jeff/nav408*
 ---- End of incorrect restore of files from cpio archive using pax ----


Thanks,

-- 
Jeff Sheinberg  <[email protected]>


-- System Information
Debian Release: 2.1
Kernel Version: Linux eden-hda7 2.0.36 #2 Thu Jun 24 19:46:13 EDT 1999 i586 
unknown

Versions of the packages pax depends on:
ii  libc6           2.0.7.19981211 GNU C Library: shared libraries

Version of cpio used to create the archive that files were restored from:
ii  cpio            2.4.2-23       GNU cpio a program to manage archives of

--- End Message ---
--- Begin Message ---
Source: pax
Source-Version: 1:20120211-1

We believe that the bug you reported is fixed in the latest version of
pax, which is due to be installed in the Debian FTP archive:

pax_20120211-1.diff.gz
  to main/p/pax/pax_20120211-1.diff.gz
pax_20120211-1.dsc
  to main/p/pax/pax_20120211-1.dsc
pax_20120211-1_amd64.deb
  to main/p/pax/pax_20120211-1_amd64.deb
pax_20120211.orig.tar.gz
  to main/p/pax/pax_20120211.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Glaser <[email protected]> (supplier of updated pax package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

Format: 1.8
Date: Sun, 12 Feb 2012 02:10:40 +0000
Source: pax
Binary: pax
Architecture: source amd64
Version: 1:20120211-1
Distribution: unstable
Urgency: low
Maintainer: Thorsten Glaser <[email protected]>
Changed-By: Thorsten Glaser <[email protected]>
Description: 
 pax        - Portable Archive Interchange (cpio, pax, tar)
Closes: 42158 539353
Changes: 
 pax (1:20120211-1) unstable; urgency=low
 .
   * Take over maintainership of the pax package in Debian from
     Bdale Garbee (thanks) and replace it with the MirBSD variant
     also providing paxcpio/paxtar (Closes: #42158) (Closes: #539353)
   * debian/rules: cleanup (remove dh_installdirs, add back dh_clean)
   * debian/rules: modernise; use fully hardened dpkg-buildflags
   * debian/control: rework package description
Checksums-Sha1: 
 31ee58e53f6229088c0fc764c0664a1d15ceb32d 1770 pax_20120211-1.dsc
 1123a4dcf95813f6b993719923a4f903ad3a9911 138869 pax_20120211.orig.tar.gz
 7d81995217692837b10906eb0b73ad04c41cc5b8 3784 pax_20120211-1.diff.gz
 c2f01de5fd908ab01f99c92705b3e1a0baa325b6 81692 pax_20120211-1_amd64.deb
Checksums-Sha256: 
 9e95ca96a83b03d5fb0268c367216bb902b27df8be51dda1bf37157b4e10d7e4 1770 
pax_20120211-1.dsc
 8734737d677dd18b57835f30b0271e64c26a0a73d1733532d6765f85d5470a33 138869 
pax_20120211.orig.tar.gz
 c6d51ddef9abd48badb7c09f81cefdce3d888f72adad0b16e6ca4a56d23921c5 3784 
pax_20120211-1.diff.gz
 7dd5011d0b20ee1e4574d70f6181419e35fe96a422fdb634e861a81155802dc6 81692 
pax_20120211-1_amd64.deb
Files: 
 2330a68c506a106d98d42778c68ad03f 1770 utils optional pax_20120211-1.dsc
 ee53bdf9e5e14a1652a3c1b7b895f4d3 138869 utils optional pax_20120211.orig.tar.gz
 9769a90ecf476b2af0ceeae507603669 3784 utils optional pax_20120211-1.diff.gz
 f89ab703715557a865d0ea953b94432f 81692 utils optional pax_20120211-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MirBSD)

iQIcBAEBCQAGBQJPNyROAAoJEHa1NLLpkAfg3zYP/i7+FILBnQxo8eFubcR9Il94
kWJMtx7Ywfu4xeozKZ0t7iAsMTALfq7D1xMr6Vxw1UDNUzFg18cCtDFGkTE3ULik
3i2/9TwNd9JLFQxVbUXuSFtp2TgbDRG6vPSSCIZxHN/rp2fb/0BoQO4ZIssQk005
Cks7a3uV9kp4PBjuADuCXy2Waeciz98InUeHKiJ71O0rrQsqJDpt3RXjZd5vmSgR
g6sTFbe3ZwFLzdrS/kTRHWqhMelCBY2ZKkd+yRDZ+AGsWZ/G6jH6wqe9h/MlMzUr
wRb5qKyL6Jibm090tIFI9jpo2CmuVEwi5sLi5PGmRXuYq0rafUoN9dXAt0ymE243
bA0zN06djfBl2Iut+U6zgYSWFKR2Xk433omcEQ4vZM9jVpZquvuge51wJ7pguUM/
diHsOahl0rTtcrEQHzcIVvMMVyl8eq2yn0waZwMtLQ3Z/gTbn23SJvaCxmUG/d4M
3ECeTWTPmN/ajFHyCWvUSGl5EdQuevllgLiWDZJz7IBAiBB18bveiG8c7Qb2QR20
O7M/HDjxuF/6fUMPUERINQN9T1lICszMSqc0uet5NAUm7553Aqdzq0o6gYCPvg1h
JxBVircv/qV6quTOzgpqE2irUYF2x6W3Fc66NlQK0v/Jm2I9iUwlb2T3gs0BpwF7
mjrr2fXR+SQN1c1IswTg
=9oOT
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to