Bug 430369

Summary: /sbin/ip change default route problem
Product: [Fedora] Fedora Reporter: denis ivanov <youonly>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.25-0.95.rc4.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-08 23:21:40 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:

Description denis ivanov 2008-01-26 23:45:15 UTC
Description of problem:

/sbin/ip can't change default route to another device

# ip ro|grep default
default via 192.168.0.1 dev eth1

# ip ro change default via 192.168.0.99 dev eth1
# IT'S OK

# ip ro change default via 192.168.1.1 dev wlan0
RTNETLINK answers: File exists


Version-Release number of selected component (if applicable):

iproute-2.6.23-1.fc9.i386
kernel-2.6.24-2.fc9.i686

  
Additional info:

Kernels up to 2.6.24-rc8 never have this problem and allowed me to change
default route to any dev!

Comment 1 Chuck Ebbert 2008-01-29 01:15:17 UTC
Possibly fixed in tonight's 2.6.24-7 kernel. There were some problems with
selinux -- you can test by adding "enforcing=0" to the kernel boot options and
see if that makes it work.

Comment 2 denis ivanov 2008-01-30 22:42:08 UTC
Just updated to kernel-2.6.24-9.fc9.i686

Problem is not fixed!

selinux is disabled in /etc/selinux/config

$ selinuxenabled || echo selinux disabled
selinux disabled

Should I try append enforcing=0 to kernel options?


Comment 3 denis ivanov 2008-03-08 23:21:40 UTC
seems fixed with fresh 2.6.25-0.95.rc4.fc9