Hide Forgot
Description of problem: file ../ic60/RHEV-toolsSetup_2.3_130.iso ../ic60/RHEV-toolsSetup_2.3_130.iso: ISO 9660 CD-ROM filesystem data 'RHEV-tools ' #--------------------------------------------------------------- [lkocman@dhcp-28-248 ISO]$ file a.txt a.txt: cannot open `a.txt' (No such file or directory) ^ This one also looks quiet weird with that back-stick ^ #--------------------------------------------------------------- [lkocman@dhcp-28-248 ISO]$ file Fedora-14-i386-DVD.iso Fedora-14-i386-DVD.iso: ISO 9660 CD-ROM filesystem data 'Fedora 14 i386 DVD ' (bootable) Version-Release number of selected component (if applicable): file-5.04-5.el6.x86_64 Actual results: 'RHEV-tools ' 'Fedora 14 i386 DVD ' (bootable) Expected results: 'RHEV-tools' 'Fedora 14 i386 DVD' (bootable) Additional info: Shouldn't be somehow checked length of the string except of setting some FIXED_LENGTH?
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.
It's not easy fix. ISO 9660 has fixed length of VOLUME_ID field (32 bytes) ended with zero (so to be precise the length of volume id is always 31 bytes, where the last N bytes are usually white spaces). Currently File magic patterns can't somehow remove trailing white-space characters, so we would have to add new option for it.
I'm still not sure if it's bug or feature. I've submitted patch to upstream developer and asked what does he think about it. If he accepts it, I will use it in RHEL too, otherwise I will close this one as NOTABUG probably. http://bugs.gw.com/view.php?id=197
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 unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2014-1606.html