Bug 240870 - SELinux doesn't like chrooted named
SELinux doesn't like chrooted named
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: bind (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Adam Tkac
Depends On:
  Show dependency treegraph
Reported: 2007-05-22 11:22 EDT by David Northrop
Modified: 2013-04-30 19:35 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-22 11:48:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Northrop 2007-05-22 11:22:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070417 Fedora/ Firefox/

Description of problem:
SELinux is preventing /usr/sbin/named (named_t) "unlink" access to named.pid (named_zone_t).
Detailed Description
  SELinux denied access requested by /usr/sbin/named. It is not expected that this access is required by /usr/sbin/named and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Please file a bug report against this package.


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.install bind-chroot
2.run it

Actual Results:
You get the SELinux request to file a bug report.

Expected Results:
SELinux should be very happy

Additional info:
I don't (yet) run SELinux enforcing so it's not an immediate problem for me.
Comment 1 David Northrop 2007-05-22 11:46:02 EDT
restorecon -R /var/named/chroot/var/run/
seems to have fixed it.

Let's assume it's not a redhat problem.
I'd close it NOTABUG if I could.


Comment 2 Adam Tkac 2007-05-22 11:48:32 EDT
Yeah, I'm writting comment that you could try restorecon on named.pid :) I'm
closing this one.

Regards, Adam

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