This service will be undergoing maintenance at 20:00 UTC, 2017-04-03. It is expected to last about 30 minutes
Bug 14741 - Missing file /usr/share/magic.mime
Missing file /usr/share/magic.mime
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: gnome-libs (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Havoc Pennington
Winston gold
:
: 76821 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-07-27 14:29 EDT by Enrico Scholz
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-14 19:29:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2000-07-27 14:29:45 EDT
/usr/share/magic.mime is needed for the -i option:

$ file -i core
file: couldn't find any magic files!
[... copying magic.mime ...]
$ file -i core
core: application/x-coredump

I don't know which magic.mime file is the best one. The 'file' package
itself contains such a file, but 'gnome-libs' is installing /etc/mime-magic
which seems to be more extensive.
Comment 1 Glen Foster 2000-07-30 17:48:09 EDT
This defect is considered MUST-FIX for Winston Gold-release
Comment 2 Jeff Johnson 2000-07-31 14:23:32 EDT
A copy of /etc/mime-magic is now included as /usr/share/magic.mime, that should
fix
the critical Winston problem.

However, since /etc/mime-magic (from gnome-libs) and /usr/share/magic.mime (from
file) are copies, this bug is almost certainly gonna crop up again unless 
	1) only one of the packages file and gnome-libs owns the file contents.
	2) both file and gnome (and KDE and ...)  start using the same path to the file
contents.

DEFERRED to gnome-libs for contemplation.
Comment 3 Jeff Johnson 2002-10-27 11:12:23 EST
Yup, here comes the problem from file(1) again,
the gnome-libs copy of /usr/share/mime.magic
has been replaced with the file copy.

Off to gnome-libs for answers to:

1) Which package, gnome-libs or file, should
carry "official" mime types onto the file system?
I'd suggest file, but understand OTOH too.

2) Can we get a unified copy of mime types onto
a common path for both file and gnome-libs?



Comment 4 Jeff Johnson 2002-10-27 11:14:12 EST
*** Bug 76821 has been marked as a duplicate of this bug. ***
Comment 5 Jeff Johnson 2002-10-27 11:46:59 EST
Bounce back to file with the answers, and I'll be happy
to do the work :-)

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