Bug 239562
Summary: | boot sequence hangs at selinux relabel operation | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Richard Phipps <rphipps+bugzredhat> |
Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED DUPLICATE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.5 | CC: | redhat.com |
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: | 2007-06-22 15:55:56 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
Richard Phipps
2007-05-09 14:54:15 UTC
By adding the fallback to use /sbin/restorecon if /usr/sbin/setfiles is not available, the "exit $?" statement has been removed from the end of the restore() function within /sbin/fixfiles. This causes fixfiles to continue execution after it actually finished relabeling. We have not seen this in house although the exit $? is definitely removed. Does this only happen with a separate /usr partiition? If you add back in the exit $? does it work? (In reply to comment #2) > We have not seen this in house although the exit $? is definitely removed. > > Does this only happen with a separate /usr partiition? No, this happens always, regardless whether /usr is on a local partition or mounted remotely later during the boot process. In any case fixfiles continues execution prompts the user after the file security contexts have been restored using either setfiles or restorecon. (In reply to comment #3) > If you add back in the exit $? does it work? Yes. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. |