Bug 468270

Summary: Tor daemon throws SELINUX avc
Product: [Fedora] Fedora Reporter: P Rauser <vemcontact>
Component: torAssignee: Enrico Scholz <rh-bugzilla>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-24 12:20:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description P Rauser 2008-10-23 20:17:54 UTC
Description of problem:

Tor throws SELINUX avc -- don't know whether this behavior should be allowed or not.


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

tor-0.2.0.30-1.fc10.x86_64


How reproducible:

Start Tor daemon from initscript

Raw Audit Messages :

node=system0.mynetwork.lan type=AVC msg=audit(1224789622.962:7): avc: denied { sys_tty_config } for pid=2756 comm="tor" capability=26 scontext=system_u:system_r:tor_t:s0 tcontext=system_u:system_r:tor_t:s0 tclass=capability node=system0.mynetwork.lan type=SYSCALL msg=audit(1224789622.962:7): arch=c000003e syscall=16 success=yes exit=0 a0=1 a1=5401 a2=7fff28282670 a3=7f40202687a0 items=0 ppid=2755 pid=2756 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="tor" exe="/usr/bin/tor" subj=system_u:system_r:tor_t:s0 key=(null)

Comment 1 Daniel Walsh 2008-10-24 12:20:11 UTC
You can allow this for now.

# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp

Fixed in selinux-policy-3.5.13-7.fc10