Bug 6020
Summary: | RFE: /bin proceeds /usr/bin in root's PATH | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | river |
Component: | util-linux | Assignee: | Crutcher Dunnavant <crutcher> |
Status: | CLOSED DEFERRED | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-07-31 19:56:36 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
river
1999-10-17 06:53:03 UTC
Works for me here. Do you only have vim-minimal installed? I have the following vim related packages installed: vim-minimal vim-enhanced vim-common vim-X11 I have reverted back to version 5.3-7 of the packages. When using version 5.4-2, I receive the following message: Error detected while processing /root/.vimrc: line 11: Sorry, this command is not implemented: :syntax on My .vimrc follows: :if has("terminfo") : set t_Co=8 : set t_Sf=p1%dm : set t_Sb=p1%dm :else : set t_Co=8 : set t_Sf=dm : set t_Sb=dm :endif :syntax on Hmm... most likely /bin is in root's path before /usr/bin, and you're running /bin/vi, which is the 'minimal' version of vim. The comment about the path is correct. The minimal version of vi in /bin is being called before /usr/bin/vi. As the default path sets /bin before /usr/bin for both normal and root users, /bin/vi will always be called. The default path in v6.0 seems to place /usr/bin before bin (although, this is not in agreement with the documentation on 'login'). Maybe this was a fix for the 'login' program in v6.1? Anyhow, what the default behaviour should be I'll leave up to the experts there at Red Hat. I'm happy enough with it either way, as long as it's working. I've changed the component to util-linux (it includes login), but it's not just util-linux, that's just the first place to fix this. util-linux, gdm, xdm, and kdm are a minimal list of places that this needs to be fixed. Note that gdm at least as a RootPath configuration option that can be used to set this; the rest have compiled-in paths. No matter what we change it to, someone will complain, but /usr/sbin:/usr/bin:/sbin:/bin should work the best for the most people. DEFERRED until after Winston. |