Bug 390771 - rsync server doesn't work
Summary: rsync server doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-19 17:51 UTC by Orion Poplawski
Modified: 2008-05-21 16:06 UTC (History)
0 users

Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 16:06:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0465 0 normal SHIPPED_LIVE selinux-policy bug fix update 2008-05-20 14:36:31 UTC

Description Orion Poplawski 2007-11-19 17:51:38 UTC
Description of problem:

Running rsync daemons from xinetd, I get:


type=AVC msg=audit(1195494511.811:620538): avc:  denied  { dac_override } for 
pid=26101 comm="rsync" capability=1 scontext=system_u:system_r:rsync_t:s0
tcontext=system_u:system_r:rsync_t:s0 tclass=capability
type=AVC msg=audit(1195494511.811:620538): avc:  denied  { dac_read_search } for
 pid=26101 comm="rsync" capability=2 scontext=system_u:system_r:rsync_t:s0
tcontext=system_u:system_r:rsync_t:s0 tclass=capability

and the rsync daemon cannot chdir to the proper directory.

Version-Release number of selected component (if applicable):
selinux-policy-2.4.6-106.el5.3  (built on rhel5, not 5.1)

How reproducible:
everytime

Comment 1 Daniel Walsh 2007-11-19 19:04:28 UTC
You can add these rules using audit2allow.

I will add these permissions in u2.



Comment 2 RHEL Program Management 2007-11-19 19:14:23 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Daniel Walsh 2007-11-26 16:51:32 UTC
Fixed in selinux-policy-2.4.6-107.el5

Comment 4 Jay Turner 2007-11-30 07:33:02 UTC
QE ack for RHEL5.2.  Reproducer in comment 0.

Comment 8 errata-xmlrpc 2008-05-21 16:06:10 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0465.html



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