Bug 840529 - incorrect SELinux context on /etc/nsswitch.conf
Summary: incorrect SELinux context on /etc/nsswitch.conf
Keywords:
Status: CLOSED DUPLICATE of bug 818585
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sudo
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Daniel Kopeček
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-16 14:33 UTC by Jan Hutař
Modified: 2018-11-28 19:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 15:11:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2012-07-16 14:33:57 UTC
Description of problem:
There is an incorrect SELinux context on file /etc/nsswitch.conf which, strangely, prevents PostgreSQL database to start listening on localhost:5432.


Version-Release number of selected component (if applicable):
RHEL-5.8 updated to latest
glibc-2.5-81.el5_8.4


How reproducible:
4 of 4 cases


Steps to Reproduce:
1. provision RHEL5.8 and apply available updates
2. # ls -Z /etc/nsswitch.conf


Actual results:
root:object_r:rpm_script_tmp_t


Expected results:
system_u:object_r:etc_t

Comment 3 Jeff Law 2012-07-16 15:30:49 UTC
Please check the selinux context on /etc.  This kind of problem showed up somewhere else recently and an incorrect context on /etc was the root cause.

Comment 9 Daniel Kopeček 2012-07-17 15:11:11 UTC

*** This bug has been marked as a duplicate of bug 818585 ***


Note You need to log in before you can comment on or make changes to this bug.