View Issue Details

IDProjectCategoryView StatusLast Update
0015278CentOS-7selinux-policypublic2018-09-14 14:01
Reporterfess 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015278: SELinux is preventing /usr/libexec/ipsec/addconn from 'search' accesses on the directory /var/lib/unbound.
DescriptionDescription of problem:
trying to establish l2tp VPN with PSK
receiving VPN error "connection failed" and attached selinux report
SELinux is preventing /usr/libexec/ipsec/addconn from 'search' accesses on the directory /var/lib/unbound.

***** Plugin catchall (100. confidence) suggests **************************

If you believe that addconn should be allowed search access on the unbound directory 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:
# ausearch -c 'addconn' --raw | audit2allow -M my-addconn
# semodule -i my-addconn.pp

Additional Information:
Source Context system_u:system_r:ipsec_t:s0
Target Context system_u:object_r:named_cache_t:s0
Target Objects /var/lib/unbound [ dir ]
Source addconn
Source Path /usr/libexec/ipsec/addconn
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages unbound-libs-1.6.6-1.el7.x86_64
Policy RPM selinux-policy-3.13.1-192.el7_5.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.11.6.el7.x86_64 #1 SMP
                              Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64
Alert Count 4
First Seen 2018-09-14 10:28:24 MSK
Last Seen 2018-09-14 10:51:42 MSK
Local ID 070b263d-2a37-48ac-b2e8-f4025dc2afda

Raw Audit Messages
type=AVC msg=audit(1536911502.752:2402): avc: denied { search } for pid=5632 comm="addconn" name="unbound" dev="sda7" ino=2625579 scontext=system_u:system_r:ipsec_t:s0 tcontext=system_u:object_r:named_cache_t:s0 tclass=dir


Hash: addconn,ipsec_t,named_cache_t,dir,search

Version-Release number of selected component:
selinux-policy-3.13.1-192.el7_5.6.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-862.11.6.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hasha2b75fa6c1e359f98501ec3ee448a7a8fa691eb7b6a72cf59f14fa3899f8cf8d
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-09-14 14:01 fess New Issue