Description of problem: Updating : selinux-policy-targeted ##################### [ 38/114] tripos homedir /opt/tripos or its parent directory conflicts with a defined context in /etc/selinux/targeted/contexts/files/file_contexts, /usr/sbin/genhomedircon will not create a new context. Version-Release number of selected component (if applicable): selinux-policy-targeted-2.2.8-1 How reproducible: Always Steps to Reproduce: 1. create a user account with $HOME under /opt 2. install/update selinux-policy-targeted
This is expected behaviour. genhomedircon is trying to setup file context for the parent directories of the users homedirs. If it finds a conflict it will report the warning, and not override the context. Have you tried to create /opt/home/USER? I believe that would work correctly. Dan
Creating the directory doesn't help. Anyway, it's not a problem for me because we don't use SELinux, but it might bite somebody else. If it's not a bug, then please close it. ;)