Description of problem: Selinux is blocking the rsync process from opening and probably writing to its own log file. Version-Release number of selected component (if applicable): selinux-policy-targeted-3.11.1-79.fc18.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Can work around issue by, setsebool -P rsync_full_access on, but do not believe this is what we want for a solution to this issue. Did check the label on the log file and it is correct. ---- time->Wed Feb 20 00:59:01 2013 type=SYSCALL msg=audit(1361350741.653:779): arch=c000003e syscall=2 success=no exit=-13 a0=15c2af0 a1=441 a2=1b6 a3=238 items=0 ppid=1 pid=32577 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="rsync" exe="/usr/bin/rsync" subj=system_u:system_r:rsync_t:s0 key=(null) type=AVC msg=audit(1361350741.653:779): avc: denied { open } for pid=32577 comm="rsync" path="/var/log/rsyncd.log" dev="dm-1" ino=204005366 scontext=system_u:system_r:rsync_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file ---- time->Wed Feb 20 01:00:01 2013 type=SYSCALL msg=audit(1361350801.331:782): arch=c000003e syscall=2 success=no exit=-13 a0=873af0 a1=441 a2=1b6 a3=238 items=0 ppid=1 pid=32601 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="rsync" exe="/usr/bin/rsync" subj=system_u:system_r:rsync_t:s0 key=(null) type=AVC msg=audit(1361350801.331:782): avc: denied { open } for pid=32601 comm="rsync" path="/var/log/rsyncd.log" dev="dm-1" ino=204005366 scontext=system_u:system_r:rsync_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file
/var/log/rsync\.log.* -- gen_context(system_u:object_r:rsync_log_t,s0) We currently have labeling for rsync.log not rsyncd.log
44782682654014f0e2f0a116eb357aee63cbfdbf fixes this in Rawhide.
Backported.
selinux-policy-3.11.1-82.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-82.fc18
Package selinux-policy-3.11.1-82.fc18: * should fix your issue, * was pushed to the Fedora 18 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.11.1-82.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3309/selinux-policy-3.11.1-82.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-82.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.