libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.5-2.fc16.i686 reason: SELinux is preventing vpnc from 'open' accesses on the file US_HQ_Employee_Primary.conf. time: Thu 31 May 2012 01:33:48 AM CDT description: :SELinux is preventing vpnc from 'open' accesses on the file US_HQ_Employee_Primary.conf. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that vpnc should be allowed open access on the US_HQ_Employee_Primary.conf file 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 vpnc /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:vpnc_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:user_home_t:s0 :Target Objects US_HQ_Employee_Primary.conf [ file ] :Source vpnc :Source Path vpnc :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-86.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.3.5-2.fc16.i686 #1 SMP Tue May 8 : 12:04:02 UTC 2012 i686 i686 :Alert Count 4 :First Seen Thu 31 May 2012 01:15:46 AM CDT :Last Seen Thu 31 May 2012 01:26:14 AM CDT :Local ID f7f9037c-a458-4ec1-9d08-2ef3f4cb7b6d : :Raw Audit Messages :type=AVC msg=audit(1338445574.523:107): avc: denied { open } for pid=2863 comm="vpnc" name="US_HQ_Employee_Primary.conf" dev="dm-1" ino=269060 scontext=unconfined_u:unconfined_r:vpnc_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file : : :Hash: vpnc,vpnc_t,user_home_t,file,open : :audit2allow : :#============= vpnc_t ============== :#!!!! This avc is allowed in the current policy : :allow vpnc_t user_home_t:file open; : :audit2allow -R : :#============= vpnc_t ============== :#!!!! This avc is allowed in the current policy : :allow vpnc_t user_home_t:file open; :
Where is the US_HQ_Employee_Primary.conf file located? I think you will need to run the restorecon on this file # restorecon -R -v PATHO/US_HQ_Employee_Primary.con
The file is located in my /home/ folder. But it is linked using ln -s to default.conf in /etc/vpnc/ Will try using resotrecon and give you the results (In reply to comment #1) > Where is the US_HQ_Employee_Primary.conf file located? > > I think you will need to run the restorecon on this file > > > # restorecon -R -v PATHO/US_HQ_Employee_Primary.con
Then you can add local policy for this or modify its label to etc_t.