Red Hat Bugzilla – Bug 444034
/sbin/ifcfg assumes ip, arping and rdisc are in $PATH
Last modified: 2008-12-02 12:54:34 EST
/sbin/ifcfg assumes that ip, arping, and rdisc are in $PATH which is not the
case eg. after "sudo -s" from a non-root user. Patch attached.
Created attachment 303665 [details]
Call ip, arping, and rdisc with full paths
I sent your patch to upstream, let's wait for acceptance.
Your patch assumes 'ip' was installed in /sbin. It isn't always true, so it's
I am not surprised at all that it's not acceptable upstream, otherwise I would
have sent it there myself.
The Fedora package *does* install the binaries explicitly to /sbin in the
specfile and thus remains broken as described, and the posted patch fixes it,
Another fix obviously would be to symlink the mentioned binaries eg. to /bin.
I'd like to wait until decision about path (/sbin) will be made. I prefer to fix
it in all branches same way.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
I suppose adding /sbin into paths in F-10 solved your problem.
Not at all, I'm still on F-9. Besides, adding /sbin dirs to the default paths creates so severe usability problems with shell completion for normal users that chances are that I won't be "upgrading" to F-10 at all. Chances are also that /sbin paths will be removed from defaults again in F-11, there's a "RealSbinSanity" feature cooking... so it might be that this issue needs to be revisited again soon.