Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 2015 20:34:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 199850] [patch] /usr/sbin/service -e fails if /sbin isn't in PATH
Message-ID:  <bug-199850-8-0yDwfHCvAY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199850-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199850-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199850

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org

--- Comment #4 from Jilles Tjoelker <jilles@FreeBSD.org> ---
Although this patch is not directly wrong, I'm not sure about the use of the
bin vs sbin distinction. In most cases, both bin and sbin are in PATH, and
there seems little benefit in removing sbin.

Where does the PATH without /sbin come from, in your case? Perhaps we should
add /sbin and /usr/sbin there instead of trying to make the world work without
/sbin and /usr/sbin in PATH. One such definition is _PATH_DEFPATH in
include/paths.h.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199850-8-0yDwfHCvAY>