Project

General

Profile

Actions

Bug #11864

closed

error in ext_mime_map_init() when /etc/mime.types is missing

Added by Ken Dreyer almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I'm testing 0.94.1. If /etc/mime.types is not present on a system (eg, from the mailcap RPM), then RGW prints this error in its log:

2015-06-03 14:36:08.108864 7fadc019e880  0 ext_mime_map_init(): failed to open file=/etc/mime.types ret=-2

Does this file affect RGW's operation at all?


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #12501: error in ext_mime_map_init() when /etc/mime.types is missingResolvedLoïc Dachary06/03/2015Actions
Actions #1

Updated by Sage Weil almost 9 years ago

  • Priority changed from Normal to Urgent

urgent until we know what the impact is

Actions #2

Updated by Sage Weil almost 9 years ago

this is a config or doc issue, i think. Ken, what do you suggest?

Actions #3

Updated by Ken Dreyer almost 9 years ago

  • Status changed from New to In Progress

We can make the ceph-radosgw package depend on the "mailcap" RPM ("mime-support" on Ubuntu) so that we ensure /etc/mime.types is present on the system.

https://github.com/ceph/ceph-ci/tree/wip-11864-rgw-mime-types-pkg

What do you think?

(also, is ceph-ci.git wired into Gitbuilder?)

Actions #4

Updated by Yehuda Sadeh almost 9 years ago

  • Assignee set to Ken Dreyer

We can certainly do that.

Actions #5

Updated by Ken Dreyer almost 9 years ago

  • Status changed from In Progress to Fix Under Review
Actions #6

Updated by Ken Dreyer almost 9 years ago

  • Backport set to hammer
Actions #7

Updated by Ken Dreyer almost 9 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #8

Updated by Loïc Dachary over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF