Bug 188899
Summary: | Could not relabel /dev/pts/x | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Peter Bieringer <pb> |
Component: | pam | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED NOTABUG | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | dwalsh, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-09-01 14:04:19 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: |
Description
Peter Bieringer
2006-04-13 11:13:40 UTC
This bug occurs because setfsuid() is called to set the file-system UID to the UID of the target user before the selinux PAM module is called to do the SE Linux stuff. Probably if there was code such as: setfsuid(0); status=setfilecon(ptr,newdev_context); setfsuid(user_uid); Then it would work. This appears to have been fixed in rawhide by other changes to either coreutils or pam. As this is a cosmetic error (doesn't prevent the system from operating correctly) I don't think it's worth an errata for pam. But I'll let the pam maintainers make the decision on that. Could you use runuser instead of su? runuser didn't cause such message and would working for me also. Closed as "NOTABUG" would not be really match the real reason I think... A retest after upgrade to RHEL4 U4 shows me, that the problem is gone now, so the reason is more some updates since the reporting date. |