Bug 444034

Summary: /sbin/ifcfg assumes ip, arping and rdisc are in $PATH
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: iprouteAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: mmaslano, rvokal
Target Milestone: ---Keywords: Patch, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-02 13:47:30 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:
Attachments:
Description Flags
Call ip, arping, and rdisc with full paths none

Description Ville Skyttä 2008-04-24 17:31:52 UTC
/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.

Comment 1 Ville Skyttä 2008-04-24 17:31:52 UTC
Created attachment 303665 [details]
Call ip, arping, and rdisc with full paths

Comment 2 Marcela Mašláňová 2008-04-25 10:08:42 UTC
I sent your patch to upstream, let's wait for acceptance.

Comment 3 Marcela Mašláňová 2008-04-25 10:30:38 UTC
Your patch assumes 'ip' was installed in /sbin. It isn't always true, so it's
wontfix.

Comment 4 Ville Skyttä 2008-04-25 18:45:25 UTC
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,
reopening.

Comment 5 Ville Skyttä 2008-04-25 18:50:06 UTC
Another fix obviously would be to symlink the mentioned binaries eg. to /bin.

Comment 6 Marcela Mašláňová 2008-05-09 09:00:39 UTC
I'd like to wait until decision about path (/sbin) will be made. I prefer to fix
it in all branches same way.

Comment 7 Bug Zapper 2008-05-14 10:06:00 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Marcela Mašláňová 2008-12-02 13:47:30 UTC
I suppose adding /sbin into paths in F-10 solved your problem.

Comment 9 Ville Skyttä 2008-12-02 17:54:34 UTC
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.