Billy and I are looking into it right now.

On 08/15/2018 07:51 AM, Ed Warnicke wrote:
Tom,

Do you perhaps have more insight here?

Ed

On August 15, 2018 at 5:00:32 AM, omer.maj...@sofioni.com <mailto:omer.maj...@sofioni.com> (omer.maj...@sofioni.com <mailto:omer.maj...@sofioni.com>) wrote:

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, omer.maj...@sofioni.com <mailto:omer.maj...@sofioni.com> (omer.maj...@sofioni.com <mailto:omer.maj...@sofioni.com>) 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, omer.maj...@sofioni.com
        <mailto:omer.maj...@sofioni.com> (omer.maj...@sofioni.com
        <mailto:omer.maj...@sofioni.com>) 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: vpp-dev+ow...@lists.fd.io
            <mailto:vpp-dev+ow...@lists.fd.io>
            Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
            [hagb...@gmail.com <mailto:hagb...@gmail.com>]
            -=-=-=-=-=-=-=-=-=-=-=-


        -=-=-=-=-=-=-=-=-=-=-=-
        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: vpp-dev+ow...@lists.fd.io
        <mailto:vpp-dev+ow...@lists.fd.io>
        Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
         [omer.maj...@sofioni.com <mailto:omer.maj...@sofioni.com>]
        -=-=-=-=-=-=-=-=-=-=-=-


-=-=-=-=-=-=-=-=-=-=-=-
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: vpp-dev+ow...@lists.fd.io <mailto:vpp-dev+ow...@lists.fd.io> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [omer.maj...@sofioni.com <mailto:omer.maj...@sofioni.com>]
-=-=-=-=-=-=-=-=-=-=-=-

--
*Thomas F Herbert*
NFV and Fast Data Planes
Networking Group Office of the CTO
*Red Hat*
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10170): https://lists.fd.io/g/vpp-dev/message/10170
Mute This Topic: https://lists.fd.io/mt/24532686/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to