]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
packaging: RGW depends on /etc/mime.types 5110/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 23 Jun 2015 19:41:53 +0000 (13:41 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 15 Jul 2015 15:14:15 +0000 (09:14 -0600)
commitc74a2f86a1f9b15aae0e723b410bedfc1d01a79b
treeac2627e8fffaf7a3259f4d9c10768e3b4113e253
parent27b825bcb7b940bfaf31242eacd64ff85b2f58ca
packaging: RGW depends on /etc/mime.types

If the mimecap RPM or mime-support DEB is not installed, then the
/etc/mime.types file is not present on the system. RGW attempts to read
this file during startup, and if the file is not present, RGW logs an
error:

  ext_mime_map_init(): failed to open file=/etc/mime.types ret=-2

Make the radosgw package depend on the mailcap/mime-support packages so
that /etc/mime.types is always available on RGW systems.

http://tracker.ceph.com/issues/11864 Fixes: #11864

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
ceph.spec.in
debian/control