Bug 227248 - avc denial for useradd
avc denial for useradd
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-02-03 18:16 EST by Michel Alexandre Salim
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-16 00:24:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michel Alexandre Salim 2007-02-03 18:16:40 EST
Description of problem:
Clean install of Fedora 7 test 1, upgraded to latest Rawhide. Every now and then
I get a new log entry stating that "SELinux is preventing /usr/sbin/useradd
(useradd_t) "read write" to faillog (var_log_t).

I have used system-config-users to create a new user and that seemed to work,
but after that I have been getting periodic repeats of this error, which is odd.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Use system-config-users to add new user

Actual results:
This apparently triggers repeated failure logs

Expected results:
No error

Additional info:
Comment 1 Daniel Walsh 2007-02-14 10:24:06 EST
restorecon /var/log/faillog should fix.

This is fixed in the latest installer to label /var/log/faillog correctly.
Comment 2 Michel Alexandre Salim 2007-02-16 00:24:19 EST
Thanks, just did that (it changes from var_log_t to faillog_t). The bizarre
thing is, using Rawhide on another machine, with SELinux set to permissive, I've
not had any useradd failures in the log even though the file context was wrong.

Note You need to log in before you can comment on or make changes to this bug.