Bug 156797 - /etc/init.d/named does not check booleans.local
/etc/init.d/named does not check booleans.local
Product: Fedora
Classification: Fedora
Component: bind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Martin Stransky
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2005-05-04 07:06 EDT by Gene Czarcinski
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-21 22:13:53 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 Gene Czarcinski 2005-05-04 07:06:42 EDT
Description of problem:

OK, stuff was added to selinux and bind to support permitting dynamic dns
updating from dhcpd and this worked at one time.  Unfortunately for bind,
selinux (and system-config-securitylevel) changed how locally modified
"variables" were set.  Whereas /etc/selinux/targeted/booleans was modified
previously, now /etc/selinux/targeted/booleans is not chenged and local changes
are put in /etc/selinux/targeted/booleans.local.

Unfortunately, bind was not updated for this change.  /etc/init.d/named needs to
be changed to check for BOTH /etc/selinux/targeted/booleans and
/etc/selinux/targeted/boolenas.local for the value of named_write_master_zones.

Version-Release number of selected component (if applicable):
FC4T2 updated to development as of 3 May 2005
Comment 1 Gene Czarcinski 2005-05-04 07:10:11 EDT
NOTE:  If named_write_master_zones is specified in
/etc/selinux/targeted/booleans.local, then this value (0 or 1) dominates and
anything in /etc/selinux/targeted/booleans is ignored.  If not specified in
/etc/selinux/targeted/booleans.local, then the value in
/etc/selinux/targeted/booleans will rule.

NOTE: "targeted" and "strict" should work the same but I doubt that strict is as
well tested.
Comment 2 Jason Vas Dias 2005-05-04 09:30:13 EDT
OK, I'll make the next version of the named initscript check 
/etc/selinux/targeted/booleans.local for
named_write_master_zones .

Comment 3 Jason Vas Dias 2005-05-17 22:31:49 EDT
This is now fixed with bind-9.3.1-4 in rawhide-2005-05-18 / FC4
Comment 4 Bill Nottingham 2006-09-21 22:13:53 EDT
Closing bugs in MODIFIED state from prior Fedora releases. If this bug persists
in a current Fedora release (such as Fedora Core 5 or later), please reopen and
set the version appropriately.

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