RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 600153 - iso mounts have some zero-length files
Summary: iso mounts have some zero-length files
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gvfs
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Ondrej Holy
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-04 03:12 UTC by Josh Stone
Modified: 2016-07-15 09:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-15 09:44:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 675775 0 None None None 2016-07-15 09:44:27 UTC

Description Josh Stone 2010-06-04 03:12:27 UTC
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):
gvfs-archive-1.4.3-8.el6.i686


How reproducible:
100%


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.
  
Actual results:
Some files have no content.


Expected results:
All files are properly available.


Additional info:
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.

Comment 2 RHEL Program Management 2010-06-04 16:13:28 UTC
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
inclusion.

Comment 3 Tomáš Bžatek 2010-06-23 16:36:36 UTC
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

Comment 5 Tomáš Bžatek 2010-06-30 15:35:42 UTC
FYI, I've bisected the change to a bad commit r1419

http://code.google.com/p/libarchive/source/detail?r=1419&path=/trunk/libarchive/archive_read_support_format_iso9660.c

Comment 6 Tomáš Bžatek 2010-06-30 16:06:15 UTC
OK, I was wrong, bsdtar showed hardlinks yet gvfsd-archive doesn't support them at the moment.

Comment 10 Aleksandra Fedorova 2011-02-28 01:15:46 UTC
same problem here on f14 

# rpm -qa | grep archive
gvfs-archive-1.6.6-1.fc14.x86_64
libarchive-2.8.4-1.fc14.x86_64

Comment 13 Suzanne Logcher 2012-02-14 22:59:42 UTC
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
representative.


Note You need to log in before you can comment on or make changes to this bug.