Project

Profile

Help

Task #1130

closed

File a bug against EPEL7: Mongodb not starting with selinux enabled on el7

Added by pthomas@redhat.com over 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

mongodb fails to start with selinux enabled on el7

[root@lenovo-x3850-02 ~]# rpm -qa |grep mongo
mongodb-server-2.6.9-1.el7.x86_64
python-mongoengine-0.9.0-1.el7.noarch
python-pymongo-gridfs-2.7.2-1.el7.x86_64
python-pymongo-2.7.2-1.el7.x86_64
[root@lenovo-x3850-02 ~]# 
2015-07-08T13:24:02.305-0400 [initandlisten] ERROR: listen(): bind() failed errno:13 Permission denied for socket: /var/run/mongodb/mongodb-27017.sock
< type=AVC msg=audit(1436377400.894:300): avc:  denied  { setattr } for  pid=29959 comm="mongod" name="mongodb-27017.sock" dev="tmpfs" ino=111763 scontext=system_u:system_r:mongod_t:s0 tcontext=system_u:object_r:mongod_var_run_t:s0 tclass=sock_file
Actions #1

Updated by bmbouter over 8 years ago

  • Description updated (diff)
Actions #2

Updated by mhrivnak over 8 years ago

  • Tracker changed from Issue to Task
  • Subject changed from Mongodb not starting with selinux enabled on el7 to File a bug against EPEL7: Mongodb not starting with selinux enabled on el7
  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
  • Groomed set to Yes
  • Sprint Candidate set to Yes
  • Tags Easy Fix added
Actions #3

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from ASSIGNED to CLOSED - NOTABUG

Bug already existed: https://bugzilla.redhat.com/show_bug.cgi?id=1231269

Should be fixed in 2.6.10. The package has been in testing repo for a while so it should be available soon.

Actions #4

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF