[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409717: magic file has been moved to /usr/share/file/magic.mime



The magic.mime file is contained in the libmagic1 package (which is a dependency of apache and apache-perl, but not apache-common). Comparison between the current stable and testing releases shows that at a given moment this file has been moved from /usr/share/misc/file/magic.mime to /usr/share/file/magic.mime. The location of this file is specified by the MIMEMagicFile directive in /etc/apache/httpd.conf. It seems that an upgrade of Apache from stable to testing doesn't correct this setting automatically, although a fresh installation should have the correct setting (I didn't check this, but this is suggested by /usr/share/apache/default-configs/apache/httpd.conf). You will therefore need to change MIMEMagicFile manually.

There are two open question related to this problem:
1. Shouldn't libmagic1 be a dependency of apache-common, rather than apache and apache-perl, given that mod_mime_magic is part of apache-common and requires the magic.mime file? Note that this is already the case for apache2.2-common. 2. Is the fact that during an upgrade the MIMEMagicFile directive is not changed automatically to be considered as a bug?


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





Reply to: