Bug 2134390

Summary: passwd and chpasswd (passwd_exec_t) should always run confined as "passwd_t"
Product: Red Hat Enterprise Linux 8 Reporter: Renaud Métrich <rmetrich>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: NEW --- QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.6CC: jhuo, jjhuo, lvrabec, mmalik, nknazeko
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Zdenek Pytela 2022-10-17 15:12:12 UTC
Adding a short note after the first team discussion:

There seems to be a conflict between
1. An unconfined service is not confined
2. The passwd command is always confined

It is questionable which rule should prevail.

I will update this bz as soon as some additional information is found.