Bug 788182 - SELinux is preventing /usr/bin/rdate from 'name_connect' accesses on the None .
Summary: SELinux is preventing /usr/bin/rdate from 'name_connect' accesses on the None .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ab87d19206266a968f1fc0650a0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-07 16:29 UTC by framad
Modified: 2012-04-22 03:36 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.10.0-84.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-22 03:36:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description framad 2012-02-07 16:29:55 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.i686.PAE
reason:         SELinux is preventing /usr/bin/rdate from 'name_connect' accesses on the None .
time:           mar 07 feb 2012 17:24:31 CET

description:
:SELinux is preventing /usr/bin/rdate from 'name_connect' accesses on the None .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that rdate should be allowed name_connect access on the  <Desconocido> by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep rdate /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:inetd_child_port_t:s0
:Target Objects                 [ None ]
:Source                        rdate
:Source Path                   /usr/bin/rdate
:Port                          37
:Host                          (removed)
:Source RPM Packages           rdate-1.4-17.fc15.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.i686.PAE #1 SMP
:                              Fri Feb 3 19:57:53 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    mar 07 feb 2012 17:10:45 CET
:Last Seen                     mar 07 feb 2012 17:10:45 CET
:Local ID                      0b4e8f8c-66c4-4c24-bf57-b59729eae454
:
:Raw Audit Messages
:type=AVC msg=audit(1328631045.342:43): avc:  denied  { name_connect } for  pid=2032 comm="rdate" dest=37 scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:inetd_child_port_t:s0 tclass=tcp_socketnode=(removed) type=SYSCALL msg=audit(1328631045.342:43): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bfba4a00 a2=84ed130 a3=bfba4ebc items=0 ppid=2019 pid=2032 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="rdate" exe="/usr/bin/rdate" subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: rdate,gnomeclock_t,inetd_child_port_t,None,name_connect
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-02-07 19:55:27 UTC
Do you have a time service running at port 37?

Comment 2 David Filiatrault 2012-04-03 14:37:36 UTC
Reproduced on Fedora-17-Alpha-x86_64-Live-KDE

Comment 3 Daniel Walsh 2012-04-05 20:50:20 UTC
Fixed in selinux-policy-3.10.0-111.fc17.noarch

Comment 4 Fedora Update System 2012-04-18 12:53:54 UTC
selinux-policy-3.10.0-84.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-84.fc16

Comment 5 Fedora Update System 2012-04-22 03:36:03 UTC
selinux-policy-3.10.0-84.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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