Bug 433757
Summary: | useradd assignes incorrect SELinux type to /var/spool/mail/newuser | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stepan Kasal <kasal> | ||||
Component: | shadow-utils | Assignee: | Peter Vrabec <pvrabec> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | tmraz | ||||
Target Milestone: | --- | Keywords: | SELinux | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-03 15:07:45 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Stepan Kasal
2008-02-21 10:22:40 UTC
Created attachment 295515 [details]
Patch to fix /var/spool/mail labeling and useradd -Z user_u dwalsh problem
Tomas,
We never reset the setfscreatecon to the default after creating the homedir.
Also if you modify the default SELinux User, useradd execs semanage, but this
was happening before the uid was created so it was failing. Needs to happen
after the UID is created.
Sorry should have commented to Peter. fixed in shadow-utils-4.1.0-4.fc9, thnx. Daniel |