Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
denial on cvs search in user's home directory
Version-Release number of selected component (if applicable):
# rpm -q cvs selinux-policy
cvs-1.11.23-11.el6_0.1.i686
selinux-policy-3.7.19-126.el6.noarch
How reproducible:
deterministic
Steps to Reproduce:
1. set up CVS server
2. cvs -d ":pserver:bz538376-14857:redhat@<IP of HOST>:/var/cvs" commit -m test
Actual results:
AVC denial
# type=AVC msg=audit(1326269693.725:281399): avc: denied { search } for pid=18869 comm="cvs" name="bz538376-14857" dev=dm-0 ino=314158 scontext=unconfined_u:system_r:cvs_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir
type=AVC msg=audit(1326269693.793:281400): avc: denied { search } for pid=18869 comm="cvs" name="bz538376-14857" dev=dm-0 ino=314158 scontext=unconfined_u:system_r:cvs_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir
# find / -mount -inum 314158
/home/bz538376-14857
# ls -Zd /home/bz538376-14857
drwx------. bz538376-14857 bz538376-14857 unconfined_u:object_r:user_home_dir_t:s0 /home/bz538376-14857
Expected results:
no denial,
cvs can search for user setting in his/her home
or there is a boolean which can enable it
Additional info:
# getsebool -a | grep cvs
allow_cvs_read_shadow --> on
I just found that there is boolean on rhel5 which helps there.
setsebool cvs_disable_trans on
When I tried that on rhel5 then this boolean will help and denial is not there.
Its not on rhel6, so adding keyword Regression.
There are many *_disable_trans booleans in RHEL-5, but these booleans were intentionally not implemented in RHEL-6, because they serve another purpose. I'm going to remove Regression keyword, because this is a regular bug.
(In reply to comment #6)
> I see the same AVC in https://bugzilla.redhat.com/show_bug.cgi?id=768312#c6.
> Could we mark this bug as duplicate?
I see this is that search. I thing its the same. I am closing this bug as dupe of 768312
*** This bug has been marked as a duplicate of bug 768312 ***
(In reply to comment #8)
> Is this really needed? Are you getting more AVC msgs in permissive mode?
There is the same amount of denials in permissive mode.
All of them looks like Comment 0 : avc: denied { search } for pid=19270 comm="cvs"
I hope its going to be fixed by bug 768312, is it?