Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 8200] Sorcery needs /usr/sbin in PATH

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 8200] Sorcery needs /usr/sbin in PATH
  • Date: Mon, 7 Feb 2005 10:27:07 -0800 (PST)

http://bugs.sourcemage.org/show_bug.cgi?id=8200


acedit AT armory.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|1.11.x |1.13.x




------- Additional Comments From acedit AT armory.com 2005-02-07 10:27 -------
Ah I was waiting for someone to report this :-) Ive always thought it should
be
the admin's responsibility to have reasonable paths (imo redhat's default
paths
for a regular user are stupid). Im pretty sure if you su - to root you'll get
/usr/sbin and /sbin in your paths, so if you run sorcery commands while you're
root (on redhat) things work right, and its only as a regular user that you
have
problems.

The general policy is to preserve the regular users environment when becoming
root so their pager, editor, etc are preserved, that way we dont have to make
useless menus for that stuff.

So your workaround is to get a reasonable PATH in this foreign operating
system
:-) The downside of not fixing it is people probably wont agree with my
pragmatic view that sorcery is not a configuration tool and its "stupid" that
sorcery can't find its own tools.

As for "fixing" sorcery I think it might be best to just make a stupid menu so
the user could set a SORCERY_PATH variable, then in initialization we stuff
that
into PATH, by default it'll be the normal paths which include /usr/sbin. Im
not
really into individually pathing the commands, its too much work and too fine
grained. I dont think we need to fix this in 1.11, or 1.12 really, so im
bumping
it back to 1.13 so it'll have plenty of soak time in devel.

Hi Eric, glad you like install_root :-)

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page