Bug 467116 - SELinux is preventing nm-vpnc-service (NetworkManager_t) "signull" to <Unknown> (vpnc_t)
SELinux is preventing nm-vpnc-service (NetworkManager_t) "signull" to <Unknow...
Product: Fedora
Classification: Fedora
Component: NetworkManager-vpnc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dan Williams
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-10-15 16:01 EDT by Stefan Becker
Modified: 2008-10-30 05:43 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-30 05:43:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stefan Becker 2008-10-15 16:01:52 EDT
When there is an unclean shutdown of the VPN SELinux prevents killing of vpnc process.


sealert output:

Oct 15 00:13:06 l3f1199 setroubleshoot: SELinux is preventing nm-vpnc-service
(NetworkManager_t) "signull" to <Unknown> (vpnc_t). For complete SELinux
messages. run sealert -l 97e371ff-dd92-4022-bb54-0265cc9b8a3a

SELinux is preventing nm-vpnc-service (NetworkManager_t) "signull" to <Unknown>

Detailed Description:

SELinux denied access requested by nm-vpnc-service. It is not expected that
access is required by nm-vpnc-service and this access may signal an intrusion   
attempt. It is also possible that the specific version or configuration of the  
application is causing it to require additional access.                         

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)   
against this package.                                                          

Additional Information:

Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:system_r:vpnc_t:s0          
Target Objects                None [ process ]                     
Source                        nm-vpnc-service                      
Source Path                   /usr/libexec/nm-vpnc-service         
Port                          <Unknown>                            
Host                          l3f1199                              
Source RPM Packages           NetworkManager-vpnc-0.7.0-0.11.svn4175.fc9
Target RPM Packages                                                     
Policy RPM                    selinux-policy-3.3.1-95.fc9               
Selinux Enabled               True                                      
Policy Type                   targeted                                  
MLS Enabled                   True                                      
Enforcing Mode                Enforcing                                 
Plugin Name                   catchall                                  
Host Name                     l3f1199
Platform                      Linux l3f1199 #1 SMP Sat Sep
                              20 03:45:00 EDT 2008 i686 i686
Alert Count                   2
First Seen                    Tue Oct 14 22:59:08 2008
Last Seen                     Wed Oct 15 00:13:06 2008
Local ID                      97e371ff-dd92-4022-bb54-0265cc9b8a3a
Line Numbers

Raw Audit Messages

host=l3f1199 type=AVC msg=audit(1224018786.173:55): avc:  denied  { signull }
for  pid=13789 comm="nm-vpnc-service"
tcontext=system_u:system_r:vpnc_t:s0 tclass=process

host=l3f1199 type=SYSCALL msg=audit(1224018786.173:55): arch=40000003
syscall=37 success=no exit=-13 a0=35f1 a1=0 a2=35f1 a3=bf9dfedc items=0
ppid=7505 pid=13789 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0
sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="nm-vpnc-service"
exe="/usr/libexec/nm-vpnc-service" subj=system_u:system_r:NetworkManager_t:s0
Comment 1 Dan Williams 2008-10-15 19:01:40 EDT
Dan: relevant for 5.3, f8, f9, and rawhide...  the same code is in the pptp and openvpn plugins, let me know if you need more details
Comment 2 Daniel Walsh 2008-10-16 14:56:31 EDT
Fixed in selinux-policy-3.3.1-103.fc9.noarch

Fixed in selinux-policy-3.0.8-121.fc8

Fixed in selinux-policy-2.4.6-166.el5 

Fixed in selinux-policy-3.5.12-2.fc10.noarch

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