Bug 1871183 - SELinux prevents passwd from getattr-ing the /proc filesystem
Summary: SELinux prevents passwd from getattr-ing the /proc filesystem
Keywords:
Status: CLOSED DUPLICATE of bug 1853730
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-21 14:05 UTC by Filip Dvorak
Modified: 2020-08-24 07:07 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-24 07:07:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filip Dvorak 2020-08-21 14:05:24 UTC
Description of problem:
There are AVC messages during the setting of user's password. 

Version-Release number of selected component (if applicable):
# rpm -qa | grep selinu
selinux-policy-3.14.6-23.fc33.noarch
selinux-policy-targeted-3.14.6-23.fc33.noarch

How reproducible:
Always

Steps to Reproduce:
1.useradd bob
2.passwd bob
3.

Actual results:
time->Fri Aug 21 10:49:06 2020
type=AVC msg=audit(1598006946.298:5827): avc:  denied  { getattr } for  pid=268475 comm="passwd" name="/" dev="proc" ino=1 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=filesystem permissive=0


Expected results:
No AVC message.

Additional info:

Comment 1 Milos Malik 2020-08-21 14:15:10 UTC
I believe this bug is a duplicate of BZ#1853730.

Comment 2 Zdenek Pytela 2020-08-24 07:07:22 UTC

*** This bug has been marked as a duplicate of bug 1853730 ***


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