Bugs item #612692, was opened at 2002-09-21 21:08
Message generated for change (Settings changed) made by naughtont
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=612692&group_id=9368

Category: Installation
Group: 2.3
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Jeff Squyres (jsquyres)
Assigned to: Thomas Naughton (naughtont)
Summary: Mandrake .basrhc (etc) fix rmss /sbin from $PATH

Initial Comment:
The fix for MDK's broken root dot files removes /sbin
and /usr/sbin from the root $PATH.  This is not
techincally a problem for OSCAR, but we should probably
be a little more clever instead of just blindly
commenting out the PATH-overriding statement.  Perhaps
something like the following:

- get the list of dirs that the PATH-overriding
statement sets (call it set A)
- comment out the PATH-overriding statement
- do a test that initiates a new shell and see what the
resulting PATH is (call it set B)
- figure out what directories are in A that are not in B
- add a PATH-appending statement back to the dotfiles
that appends (A-B) directories to the PATH

Or something along those lines.

This is a bit more trouble, but will (hypothetically)
work for any distro, any version of dot files, any set
of directories that "should" be in the PATH (as
determined by the distro authors' original PATH
statement in root's dot files).

----------------------------------------------------------------------

>Comment By: Thomas Naughton (naughtont)
Date: 2003-07-31 19:05

Message:
Logged In: YES 
user_id=288102

After discussion, decided to just maintain whatever the
distro provides and append to end $PATH/${PATH} if they
don't already.

This does no worse than the distro & possibly has dups but
it appears that Csh's don't care about dups and Sh's will
... well it won't be too bad. 
Attempts to remove dups would likely cause more of a
performance hit than benifit.

Updated and commented RegEx's.

----------------------------------------------------------------------

Comment By: Jason Brechin (brechin)
Date: 2003-03-06 17:09

Message:
Logged In: YES 
user_id=274641

Actually I believe I've had problems with OSCAR on MDK 
because of this...

There are numerous calls to things in /sbin (like ifconfig and 
service and chkconfig) that are called without full paths.

I think this should be fixed by putting the paths back in 
$PATH.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=612692&group_id=9368


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to