Quantcast
Viewing all articles
Browse latest Browse all 19115

0006973: Selinux denying access to crontab -u root on LXC with Selinux enabled on host

I have setup a lxc as per <a href="http://wiki.centos.org/HowTos/LXC-on-CentOS6">http://wiki.centos.org/HowTos/LXC-on-CentOS6</a> [<a href="http://wiki.centos.org/HowTos/LXC-on-CentOS6" target="_blank">^</a>]<br /> i get access denied by selinux error when I do crontab -u root -l on the lxc container<br /> i am logged in as root on the lxc<br /> unfortunately auditd doesn't run on an lxc<br /> and so am not getting much clue to this error<br /> this is with selinux-policy-3.7.19-231.el6.noarch<br /> <br /> [<a href="mailto:root@localhost">root@localhost</a> ~]# sestatus<br /> SELinux status: enabled<br /> SELinuxfs mount: /selinux<br /> Current mode: enforcing<br /> Mode from config file: enforcing<br /> Policy version: 24<br /> Policy from config file: targeted<br /> <br /> [<a href="mailto:root@localhost">root@localhost</a> ~]# cat /etc/selinux/config<br /> <br /> # This file controls the state of SELinux on the system.<br /> # SELINUX= can take one of these three values:<br /> # enforcing - SELinux security policy is enforced.<br /> # permissive - SELinux prints warnings instead of enforcing.<br /> # disabled - No SELinux policy is loaded.<br /> SELINUX=enforcing<br /> # SELINUXTYPE= can take one of these two values:<br /> # targeted - Targeted processes are protected,<br /> # mls - Multi Level Security protection.<br /> SELINUXTYPE=targeted<br /> <br /> Can you let me know what additional configuration needs to be done in addition to the steps mentioned in the wiki. Thanks!

Viewing all articles
Browse latest Browse all 19115

Trending Articles