Bug 443852
| Summary: | After upgrade from F7->F9, users have user_u instead of unconfined_u (su "missing") | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Will Woods <wwoods> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | jkubin, mschmidt, redhat-bugzilla, splewako |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-04-29 22:30:12 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 235706 | ||
|
Description
Will Woods
2008-04-23 17:55:04 UTC
F7 users (as in RHEL5) have a default context of user_u:system_r:unconfined_t. F8 has unconfined_u:system_r:unconfined_t:s0-s0:c0.c1023. So I guess the problem is that we've redefined the meaning of user_u. A workaround for affected systems: semanage login -m -s unconfined_u -r SystemLow-SystemHigh __default__ should give users the default SELinux context used for new F9 installs. Yes we need to convert user_u to unconfined_u. This is a blocker bug. Needs to be fixed. Will could you verify that selinux-policy-3.3.1-39.fc9 fixes the problem. Does it need to be installed as part of the upgrade from F7? (That is, do I need to wait for it to land in rawhide to test the fix?) You can test it by executing rm -rf /etc/selinux rpm -Uhv --oldpackage selinux-policy*f7 /* Whatever F7 policy was*/ Then update to F9 policy and check to see if you login in as unconfined_u semanage login -l | grep __default__ I think the fix is confirmed. I upgraded from F7 to F9 (where my user had user_u). Next I installed the old f7 policy packages and rebooted into rescue mode (to simulate the installer). I then upgraded the system to selinux-policy-3.3.1-40.fc9. It took a *long* time for %post to run, but now everything works fine. Yep, confirmed the fix with an upgrade to today's rawhide. |