Red Hat Bugzilla – Bug 600153
iso mounts have some zero-length files
Last modified: 2016-07-15 05:44:28 EDT
Description of problem:
When I mount an iso with gvfs, I see some files have no content when they should. A simple public example is "Fedora-13-i386-netinst.iso", with "isolinux/initrd.img" and "images/pxeboot/vmlinuz" showing zero length. Any file operation like opening them or copying to another location results in an empty file.
There are also files "images/pxeboot/initrd.img" and "isolinux/vmlinuz" which look fine. I suspect that these are identical to the missing files, and some data sharing is happening in the ISO format.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Double-click an iso in nautilus to mount it with gvfs.
2. Browse the mounted filesystem.
3. Witness the zero-length files.
Some files have no content.
All files are properly available.
If I instead right-click on the iso and choose "Open with Archive Manager", then I can see every file with the proper size.
Also FWIW, this same issue appears on Fedora 13 with gvfs-1.6.1-3.fc13.x86_64.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Oh, this looks like a problem in libarchive. Old libarchive-2.7.1 can read the ISO file correctly. Generally, libarchive is not good in ISO9660 images handling. Reproducible with libarchive-2.8.3-1.el6.x86_64
FYI, I've bisected the change to a bad commit r1419
OK, I was wrong, bsdtar showed hardlinks yet gvfsd-archive doesn't support them at the moment.
same problem here on f14
# rpm -qa | grep archive
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support