Bug 1269227
Summary: | MongoDB logs are directed to incorrect location / incorrect selinux context | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Craig Donnelly <cdonnell> |
Component: | Installation | Assignee: | Justin Sherrill <jsherril> |
Status: | CLOSED ERRATA | QA Contact: | Stephen Benjamin <stbenjam> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.1.2 | CC: | bbuckingham, bkearney, bugzilla_rhn, chorn, egolov, jsherril, mhrivnak, oshtaier, peter.vreman, rsawhill, sauchter, stbenjam, sthirugn |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 08:57:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1122832, 1296845, 1317008 |
Description
Craig Donnelly
2015-10-06 18:05:12 UTC
This should now be handled properly with the newer pulp puppet module. I verified on an installation it was logging to the correct place and log rotate was occuring. Also to note, the files in this new location appear to have the correct selinux context: [root@sat-r220-04 ~]# ls -lZ /var/log/mongodb/ -rw-r--r--. mongodb mongodb system_u:object_r:mongod_log_t:s0 mongodb.log -rw-r--r--. mongodb mongodb system_u:object_r:mongod_log_t:s0 mongodb.log.2016-03-12T18-29-57 -rw-r--r--. mongodb mongodb system_u:object_r:mongod_log_t:s0 mongodb.log-20160313 -rw-r--r--. mongodb mongodb system_u:object_r:mongod_log_t:s0 mongodb.log.2016-03-13T07-14-03 Logs go to right place, with right context: [root@sat-r220-06 mongodb]# ls -lZ /var/log/mongodb/ -rw-r--r--. mongodb mongodb system_u:object_r:mongod_log_t:s0 mongodb.log -rw-r--r--. mongodb mongodb system_u:object_r:mongod_log_t:s0 mongodb.log.2016-03-24T16-12-24 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1500 *** Bug 1317479 has been marked as a duplicate of this bug. *** |