Description of problem:
file is bust in another way (see: Bug 849621)
What is recognised by ubuntu 12.04 'file' correctly is incorrectly recognised by RHEL 6.3
Version-Release number of selected component (if applicable):
6.3 totally up to date as of 20121107
Easily + totally reliably (for me)
Steps to Reproduce:
Using the attached .jpg
$ file cho_wtxx_1963_0019_000_0380.jpg
cho_wtxx_1963_0019_000_0380.jpg: Minix filesystem, V2, 50968 zones
cho_wtxx_1963_0019_000_0380.jpg: JPEG image data...
file should be saying its a jpeg file type (ubuntu thinks it is; as does firefox on 6.3).
This is the second defect I have raised with respect to the 'file' command.
Can you please provide either a patch to fix this or an actual release fix?
Please let me know if I can provide more info.
Created attachment 639910 [details]
image file showing the problem
Thanks for report. It is a bit unfair to compare Ubuntu released in April 2012 and RHEL-6 released in 2010. Many changes in file were done meanwhile upstream - and enterprise distribution intentionally doesn't follow all of them.
Similar issue was reported in RHEL-5 as https://bugzilla.redhat.com/show_bug.cgi?id=758429 , but was not reproducible on RHEL-6. With your file, it is reproducible - however - again it is just pattern priority order. With file -k , file shows both types - jpeg and minix - although jpeg of course should be preferred as stronger pattern.
Bugzilla is not a support tool - if you want to speed up the update with fix and the issue is urgent for you, please contact Red Hat product support via our support portal at access.redhat.com . Please let them know about this existing bugzilla.
Upstream bugreport with proposed patch:
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.