Thanks Ed, in centos installing vpp automatically installs
vpp-selinux-policy with it. So enforcing selinux on the host machine
make vpp work. 

However, when I try installing VPP in centos container there vpp doesn't
start. Can't enforce selinux in container and vpp-selinux-policy is
installed with vpp due to dependency. When I run vpp in the container 

$docker exec <container ID> /usr/bin/vpp -c /etc/vpp/startup.conf 

I get following errors 

tls_openssl_init:650: failed to initialize TLS CA chain

dpdk_config: mount failed 1 

Seems like an selinux issue or what? Could I get any help there? :) 

Best Regards, 

Omer 

On 2018-08-13 22:43, Edward Warnicke wrote:

> We do have an se linux package that should in principle let you keep working 
> with se linux enforce 
> try 
> 
> yum install vpp-selinux-policy 
> and see if that helps :) 
> 
> Ed 
> On August 13, 2018 at 12:41:37 PM, [email protected] 
> ([email protected]) wrote: 
> 
> Thank Ed. 
> 
> Changed SELINUX=enforcing in /etc/selinux/config 
> 
> Restarted the machine, and it worked. 
> 
> Best Regards, 
> 
> Omer
> 
> On 2018-08-13 22:21, Edward Warnicke wrote: 
> This feels like SE Linux may be involved...  
> 
> Ed 
> 
> On August 13, 2018 at 12:17:09 PM, [email protected] 
> ([email protected]) wrote: 
> 
> Hi, 
> 
> I've built VPP on centos 7.5.1804, took the RPM packages to another machine 
> to deploy VPP there. 
> 
> After installing RPM packages there when I run $vppctl it gives me following 
> error. 
> 
> CLIB_SOCKET_INIT: CONNECT (FD 3, '/RUN/VPP/CLI.SOCK'): NO SUCH FILE OR 
> DIRECTORY 
> 
> I thought there might be something wrong with the build or something so took 
> packages from following repository 
> 
> http://a.centos.org/centos/7.5.1804/nfv/x86_64/fdio/vpp/vpp-1804/ 
> 
> I get the same error when running vppctl after installation. Could someone 
> help with the error? 
> 
> Best Regards, 
> 
> Omer -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10126): https://lists.fd.io/g/vpp-dev/message/10126
> Mute This Topic: https://lists.fd.io/mt/24505099/464962
> Group Owner: [email protected]
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=- 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10127): https://lists.fd.io/g/vpp-dev/message/10127
> Mute This Topic: https://lists.fd.io/mt/24505099/984664
> Group Owner: [email protected]
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10129): https://lists.fd.io/g/vpp-dev/message/10129
Mute This Topic: https://lists.fd.io/mt/24505099/984664
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10159): https://lists.fd.io/g/vpp-dev/message/10159
Mute This Topic: https://lists.fd.io/mt/24532686/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to