diff --git a/files/lxc-attach.te b/files/lxc-attach.te index 647d96b0..8193e07b 100644 --- a/files/lxc-attach.te +++ b/files/lxc-attach.te @@ -1,3 +1,16 @@ +# Copyright 2017, Rackspace US, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. module lxc-attach 1.0; require { diff --git a/tasks/lxc_install_yum.yml b/tasks/lxc_install_yum.yml index 8cdabf52..217390e8 100644 --- a/tasks/lxc_install_yum.yml +++ b/tasks/lxc_install_yum.yml @@ -245,7 +245,7 @@ - name: Compile and load SELinux module command: '{{ item }}' args: - creates: '/etc/selinux/targeted/modules/active/modules/lxc-attach.pp' + creates: '/etc/selinux/targeted/active/modules/400/lxc-attach/cil' chdir: "/tmp/lxc-attach-selinux/" with_items: - make -f /usr/share/selinux/devel/Makefile