View Issue Details

IDProjectCategoryView StatusLast Update
0015278CentOS-7selinux-policypublic2018-09-14 14:01
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.
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:
Additional Informationreporter: libreport-
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.


There are no notes attached to this issue.

Issue History

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