libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc8.git0.1.fc16.i686 reason: SELinux is preventing /usr/sbin/pptp from 'name_connect' accesses on the tcp_socket port 1723. time: Fri Oct 7 21:37:34 2011 description: :SELinux is preventing /usr/sbin/pptp from 'name_connect' accesses on the tcp_socket port 1723. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that pptp should be allowed name_connect access on the port 1723 tcp_socket 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 pptpcm /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:pptp_t:s0 :Target Context system_u:object_r:unreserved_port_t:s0 :Target Objects port 1723 [ tcp_socket ] :Source pptpcm :Source Path /usr/sbin/pptp :Port 1723 :Host (removed) :Source RPM Packages pptp-1.7.2-12.fc15 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-36.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.0-0.rc8.git0.1.fc16.i686 #1 SMP : Tue Oct 4 04:11:07 UTC 2011 i686 i686 :Alert Count 1 :First Seen Fri 07 Oct 2011 09:33:05 PM CEST :Last Seen Fri 07 Oct 2011 09:33:05 PM CEST :Local ID 179c7b96-7bbf-4b53-9bbb-55fa1a11d7f3 : :Raw Audit Messages :type=AVC msg=audit(1318015985.238:338): avc: denied { name_connect } for pid=10427 comm="pptpcm" dest=1723 scontext=system_u:system_r:pptp_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket : : :type=SYSCALL msg=audit(1318015985.238:338): arch=i386 syscall=socketcall success=no exit=EACCES a0=3 a1=bfde4300 a2=0 a3=0 items=0 ppid=10424 pid=10427 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pptpcm exe=/usr/sbin/pptp subj=system_u:system_r:pptp_t:s0 key=(null) : :Hash: pptpcm,pptp_t,unreserved_port_t,tcp_socket,name_connect : :audit2allow : :#============= pptp_t ============== :allow pptp_t unreserved_port_t:tcp_socket name_connect; : :audit2allow -R : :#============= pptp_t ============== :allow pptp_t unreserved_port_t:tcp_socket name_connect; :
Happens every time I try to VPN into office. IIRC it used to work in F15.
Fixed in selinux-policy-3.10.0-39.fc16
Miroslav how did you fix this? Why not add a label for pptp_port_t? grep pptp /etc/services pptp 1723/tcp # pptp pptp 1723/udp # pptp
Fixed in -40.fc16 release.
selinux-policy-3.10.0-40.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-40.fc16
Package selinux-policy-3.10.0-40.fc16: * should fix your issue, * was pushed to the Fedora 16 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.10.0-40.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14363 then log in and leave karma (feedback).
selinux-policy-3.10.0-40.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.