Bug 773332

Summary: discard the extra 'sftpd_full_access' tunable in ftp.te
Product: [Fedora] Fedora Reporter: Mr-4 <mr.dash.four>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.9.16-51.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-22 02:01:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mr-4 2012-01-11 14:51:11 UTC
Description of problem:
The following code appears twice in the above policy:

tunable_policy(`sftpd_full_access',`
	allow sftpd_t self:capability { dac_override dac_read_search };
	fs_read_noxattr_fs_files(sftpd_t)
	auth_manage_all_files_except_shadow(sftpd_t)
')


Version-Release number of selected component (if applicable):
version 16-48 for FC15

How reproducible:
Always

Steps to Reproduce:
1. gedit ftp.te and look further down for the above code snippet
2.
3.
  
Actual results:
The above code snippet appears twice

Expected results:
To appear just once is more that enough

Additional info:

Comment 1 Miroslav Grepl 2012-01-11 18:11:08 UTC
You are right. Thank you.

Fixed on fedorahosted repo.

http://git.fedorahosted.org/git/?p=selinux-policy.git;a=commit;h=9134fb6991a76ebf7a9e1ae378a0c316fadd6f64

Comment 2 Fedora Update System 2012-01-19 10:25:05 UTC
selinux-policy-3.9.16-51.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-51.fc15

Comment 3 Fedora Update System 2012-01-19 21:59:01 UTC
Package selinux-policy-3.9.16-51.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-51.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0704/selinux-policy-3.9.16-51.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-22 02:01:37 UTC
selinux-policy-3.9.16-51.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.