Bug 587183
Summary: | /usr/local/bin missing from root path, */sbin present in user paths | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Petter Urkedal <urkedal> |
Component: | setup | Assignee: | Ondrej Vasik <ovasik> |
Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-04-29 11:32:35 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
Petter Urkedal
2010-04-29 09:39:02 UTC
Thanks for report. Actually, sbin directories should be available to normal non-root users in RHEL-6 - see https://fedoraproject.org/wiki/Features/SbinSanity and related bzilla https://bugzilla.redhat.com/show_bug.cgi?id=458176 for details. So that part of the bugzilla report is notabug and expected behaviour. Second one - /usr/local/bin is missing is based on the "init path" - on the way you are starting the shell. See http://www.faqs.org/docs/Linux-mini/Path.html for some details. Closing NOTABUG (as this is not a bug in setup package), if you think /usr/local/bin should be set in "init path" for root in some specific situation where is not set at the moment, feel free to report it against particular component responsible for the "init path" - bash? in your case (see `strings /bin/bash | grep /usr/local/bin`) ... Thanks for the quick reply. I wasn't aware of the new policy, and the second issue is indeed dependent on the init path (sudo -i). |