Red Hat Bugzilla – Bug 243512
SELinux is preventing /usr/sbin/useradd (useradd_t) "read write" to faillog (var_log_t).
Last modified: 2007-11-30 17:12:07 EST
Description of problem:
When installing BackupPC with yum, SELinux blocks something:
SELinux is preventing /usr/sbin/useradd (useradd_t) "read write" to faillog
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install BackupPC
Created attachment 156640 [details]
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:
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.