View Issue Details

IDProjectCategoryView StatusLast Update
0017102CentOS-7selinux-policypublic2020-03-02 12:47
Reportert3kK4m 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0017102: SELinux is preventing nm-l2tp-service from 'search' accesses on the directory /etc/strongswan.
DescriptionDescription of problem:
It seams that VPN NetworkManager plugins doesn't have some policy definitions
SELinux is preventing nm-l2tp-service from 'search' accesses on the directory /etc/strongswan.

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

If you believe that nm-l2tp-service should be allowed search access on the strongswan 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 'nm-l2tp-service' --raw | audit2allow -M my-nml2tpservice
# semodule -i my-nml2tpservice.pp

Additional Information:
Source Context system_u:system_r:l2tpd_t:s0
Target Context system_u:object_r:ipsec_conf_file_t:s0
Target Objects /etc/strongswan [ dir ]
Source nm-l2tp-service
Source Path nm-l2tp-service
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages strongswan-5.7.2-1.el7.x86_64
Policy RPM selinux-policy-3.13.1-252.el7_7.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.el7.x86_64 #1 SMP Fri
                              Apr 20 16:44:24 UTC 2018 x86_64 x86_64
Alert Count 3
First Seen 2020-03-02 13:39:43 CET
Last Seen 2020-03-02 13:44:42 CET
Local ID b91dba24-d2dd-45f6-9ff6-4e9124440ec6

Raw Audit Messages
type=AVC msg=audit(1583153082.722:43925): avc: denied { search } for pid=989 comm="nm-l2tp-service" name="strongswan" dev="dm-0" ino=29360617 scontext=system_u:system_r:l2tpd_t:s0 tcontext=system_u:object_r:ipsec_conf_file_t:s0 tclass=dir


Hash: nm-l2tp-service,l2tpd_t,ipsec_conf_file_t,dir,search

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

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-03-02 12:47 t3kK4m New Issue