Re: [ovs-dev] [PATCHv2] ovs-lib: Fix SELinux contexts for created dirs.

2016-09-23 Thread Joe Stringer
On 23 September 2016 at 06:25, Ansis Atteka wrote: > > > On 23 September 2016 at 03:25, Joe Stringer wrote: >> >> ovs-lib creates several directories directly from the script, but >> doesn't make any attempt to ensure that the correct SELinux context is >> applied to these directories. As a resul

Re: [ovs-dev] [PATCHv2] ovs-lib: Fix SELinux contexts for created dirs.

2016-09-23 Thread Ansis Atteka
On 23 September 2016 at 03:25, Joe Stringer wrote: > ovs-lib creates several directories directly from the script, but > doesn't make any attempt to ensure that the correct SELinux context is > applied to these directories. As a result, the created directories end > up with type var_run_t rather

[ovs-dev] [PATCHv2] ovs-lib: Fix SELinux contexts for created dirs.

2016-09-22 Thread Joe Stringer
ovs-lib creates several directories directly from the script, but doesn't make any attempt to ensure that the correct SELinux context is applied to these directories. As a result, the created directories end up with type var_run_t rather than openvswitch_var_run_t. During reboot using a tmpfs for