Red Hat Bugzilla – Bug 979061
magic.mime contains invalid line
Last modified: 2013-06-28 03:16:08 EDT
Description of problem:
It seems that /usr/share/file/magic.mime file contains ivalid line (19):
>>&1 string webm video/webm
The description says:
Column #1: byte number to begin checking from, ">" indicates continuation
Java mimeutil librart is unable to parse this line.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
To be sure, the error comes from some external library parsing magic.mime? I wasn't aware there's such thing in RHEL5...
The line is valid from libmagic/file's point of view, in "man magic" there is full description of the file format. I admit this particular feature was not used in magic.mime and it could break SW which also depends on format of this file.
It's new information for me there's such SW in RHEL (I don't mean that ironically). If there is such SW, I think it's probably sane idea to remove webm magic pattern from magic.mime file.
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.
Yes, that is external library but it is not included RHEL. But as it is unable to parse the file and I was looking just to /usr/share/file/magic.mime I got the impression that the line is invalid.
It would be nice if the magic.mime file contains reference to the man page with complete documentation as the info at the top of the file is incorrect.