It should be fixed since 19.08 by this commit: 
https://gerrit.fd.io/r/c/vpp/+/19646

Gaoxf, can you check if it is fixed in 19.08? I understood you tested only 
18.04 and 19.01.

ben

> -----Original Message-----
> From: Dave Barach (dbarach) <dbar...@cisco.com>
> Sent: mercredi 20 novembre 2019 14:08
> To: Benoit Ganne (bganne) <bga...@cisco.com>; xfg <tj_ga...@163.com>; vpp-
> d...@lists.fd.io
> Subject: RE: [vpp-dev] centos + vpp : while creating host-interface ,
> error : permission denied / bad file descriptor
> 
> If you figure out the missing / incorrect SELinux rule, please let us know
> and/or push a patch...
> 
> Thanks... Dave
> 
> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Benoit Ganne
> (bganne) via Lists.Fd.Io
> Sent: Wednesday, November 20, 2019 3:48 AM
> To: xfg <tj_ga...@163.com>; vpp-dev@lists.fd.io
> Cc: vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] centos + vpp : while creating host-interface ,
> error : permission denied / bad file descriptor
> 
> Did you try to disable SELinux?
> ~# setenforce 0
> 
> I think VPP is missing some SELinux rules on CentOS.
> 
> ben
> 
> > -----Original Message-----
> > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of xfg
> > Sent: mercredi 20 novembre 2019 06:46
> > To: vpp-dev@lists.fd.io
> > Subject: [vpp-dev] centos + vpp : while creating host-interface , error
> :
> > permission denied / bad file descriptor
> >
> > Hi,
> >      I'm using Centos 7  kernel 4.4.190
> >      I've made veth interfaces on host machine as given below
> >      ip link add vpp1 type veth peer name vpp2
> >      ip  link set vpp1 up
> >      ip link set vpp2 up
> >      vppctl create host-interface name vpp1
> >      i run commands as root , it gives error  :  create host-interface:
> > Permission denied (errno 13)  when vpp version 18.04
> >                                                  it gives error :
> create
> > host-interface: Bad file descriptor  when vpp version 19.01.1
> >      Does anyone know how to solve this problem ? Any help would be
> > greatly appreciated.
> >
> >      Thanks very much
> >      Regards,
> >     Gaoxf
> >
> >

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

View/Reply Online (#14637): https://lists.fd.io/g/vpp-dev/message/14637
Mute This Topic: https://lists.fd.io/mt/60756275/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