Bug 484641 - nfs_export_all_ro and nfs_export_all_rw on are on by default
Summary: nfs_export_all_ro and nfs_export_all_rw on are on by default
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-09 06:30 UTC by Murray McAllister
Modified: 2015-01-04 22:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-13 14:54:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Murray McAllister 2009-02-09 06:30:08 UTC
Description of problem:

The nfs_selinux(8) manual page states "So by default SElinux policy does not allow nfs to share files", but the nfs_export_all_ro and nfs_export_all_rw Booleans are on by default, allowing NFS to share files.

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

selinux-policy-3.5.13-41.fc10.noarch
selinux-policy-targeted-3.5.13-41.fc10.noarch


Actual results:

$ getsebool nfs_export_all_ro nfs_export_all_rw
nfs_export_all_ro --> on
nfs_export_all_rw --> on


Expected results:

nfs_export_all_ro and nfs_export_all_rw off by default, or man page updated.


Additional info:

I checked on two Fedora 10 machines - both had these booleans on by default.

On another Fedora 10 machine:

* yum remove selinux-policy selinux-policy-targeted
* rm /etc/selinux/ -rf
* rebooted
* yum installed selinux-policy selinux-policy-targeted
* reboot and relabel

Booleans were both on.

I could not find local changes in "/etc/selinux/targeted/modules/active/" that would turn these on.

Comment 1 Daniel Walsh 2009-02-09 13:50:18 UTC
I think the man page should change to no mention the default.  Since this can differ depending on the policy type.

mls -- Off
Targeted -- on

Comment 2 Daniel Walsh 2009-04-13 14:54:47 UTC
Fixed wording in  selinux-policy-3.6.12-4.fc11.noarch


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