roothome selinux fix
This commit is contained in:
parent
9eb0a8517e
commit
bbbcf5e33d
|
@ -473,8 +473,6 @@ sed -i -e 's#^SELINUX=.*#SELINUX=permissive#g' "$sysroot"/etc/selinux/config
|
||||||
chroot "$sysroot" semanage fcontext -a -e /etc /cfg
|
chroot "$sysroot" semanage fcontext -a -e /etc /cfg
|
||||||
chroot "$sysroot" semanage fcontext -a -e /etc /usr/share/factory/cfg
|
chroot "$sysroot" semanage fcontext -a -e /etc /usr/share/factory/cfg
|
||||||
chroot "$sysroot" semanage fcontext -a -e /var /usr/share/factory/var
|
chroot "$sysroot" semanage fcontext -a -e /var /usr/share/factory/var
|
||||||
#chroot "$sysroot" semanage fcontext -a -e /root /var/roothome
|
|
||||||
chroot "$sysroot" semanage fcontext -a -e /root /usr/share/factory/var/roothome
|
|
||||||
chroot "$sysroot" semanage fcontext -a -s system_u -f f -t passwd_file_t /usr/lib/passwd
|
chroot "$sysroot" semanage fcontext -a -s system_u -f f -t passwd_file_t /usr/lib/passwd
|
||||||
chroot "$sysroot" semanage fcontext -a -s system_u -f f -t passwd_file_t /usr/lib/group
|
chroot "$sysroot" semanage fcontext -a -s system_u -f f -t passwd_file_t /usr/lib/group
|
||||||
chroot "$sysroot" semanage fcontext -a -s system_u -f f -t shadow_t /usr/lib/shadow
|
chroot "$sysroot" semanage fcontext -a -s system_u -f f -t shadow_t /usr/lib/shadow
|
||||||
|
|
Loading…
Reference in a new issue