Народ, подскажите, не удаляются аттрибуты selinux при выключенном selinux# ls -Z /var/www/
drwxr-xr-x. root root system_u:object_r:httpd_sys_script_exec_t:s0 cgi-bin
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 error
drwxr-xr-x. userhtml userhtml unconfined_u:object_r:httpd_sys_content_t:s0 html
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 icons
# sestatus
SELinux status: disabled
#fixfiles relabel
Ругается
libsemanage.get_home_dirs: userhtml homedir /var/www/html or its parent directory conflicts with a file context already specified in the policy.
This usually indicates an incorrectly defined system account. If it is a system account please make sure its uid is less than 500 or its login shell is /sbin/nologin.
usage: /sbin/setfiles [-dnpqvW] [-o filename] [-r alt_root_path ] spec_file pathname...
usage: /sbin/setfiles -c policyfile spec_file
usage: /sbin/setfiles -s [-dnpqvW] [-o filename ] spec_file
find: invalid predicate -context: SELinux is not enabled.
find: invalid predicate -context: SELinux is not enabled.
Есть пользователь
userhtml:x:500:500::/var/www/html:/sbin/nologin
- пробовал менять uid и shell - не помогает
#Пробовал
touch /.autorelabel
#reboot
- не помогло
Если копирнуть всё в другую директорию, то атрибуты пропадают.