Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build/ops: error in ext_mime_map_init() when /etc/mime.types is missing #5385

Merged
1 commit merged into from Aug 30, 2015

Conversation

Projects
None yet
2 participants
@ghost
Copy link

ghost commented Jul 28, 2015

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>
(cherry picked from commit c74a2f8)

@ghost ghost self-assigned this Jul 28, 2015

@ghost ghost added this to the hammer milestone Jul 28, 2015

@ghost ghost added bug fix build/ops labels Jul 28, 2015

ghost pushed a commit that referenced this pull request Jul 29, 2015

@ghost

This comment has been minimized.

Copy link
Author

ghost commented Aug 30, 2015

Pass http://tracker.ceph.com/issues/12701#ceph-deploy http://tracker.ceph.com/issues/12701#upgrade (there are job failures but they are unrelated to packaging)

ghost pushed a commit that referenced this pull request Aug 30, 2015

Loic Dachary
Merge pull request #5385 from dachary/wip-12501-hammer
error in ext_mime_map_init() when /etc/mime.types is missing

Reviewed-by: Loic Dachary <ldachary@redhat.com>

@ghost ghost merged commit 53cdcf2 into ceph:hammer Aug 30, 2015

@ghost ghost changed the title error in ext_mime_map_init() when /etc/mime.types is missing build/ops: error in ext_mime_map_init() when /etc/mime.types is missing Sep 13, 2015

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.