Description of problem: When installing BackupPC with yum, SELinux blocks something: SELinux is preventing /usr/sbin/useradd (useradd_t) "read write" to faillog (var_log_t). Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install BackupPC 2. 3. Actual results: SELinux warning Expected results: Nothing Additional info:
Created attachment 156640 [details] selinux alert
I can't reproduce it, but my context on /var/log/faillog is -rw------- root root system_u:object_r:faillog_t /var/log/faillog Martin, could you run: #restorecon /var/log/faillog and see if context changed.
Just uninstalled it and installed it again, no error message. Don't ask me what was wrong. I am going to reopen this bug if it reappears.
There is a knoqn problem on initial installs and upgrades of the faillog file getting the wrong context. This should be fixed on upgrades going forward. restorecon -R -v /var/log should fix the problem.