Bug 684423 - ifdown cannot find sit devices.
Summary: ifdown cannot find sit devices.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 14
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-12 13:02 UTC by tim
Modified: 2014-03-17 03:26 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-20 10:26:15 UTC
Type: ---


Attachments (Terms of Use)

Description tim 2011-03-12 13:02:44 UTC
Description of problem:

ifdown reports it cannot find device sit1 after successfully bringing it up with ifup. When directly using /etc/sysconfig/network-scripts/ifdown-sit, there is no problem and ifconfig no longer shows the sit1 interface.

# ifup sit1 && echo success
success
# ifdown sit1 && echo success
Error: Device 'sit1' not found.
# /etc/sysconfig/network-scripts/ifdown-sit sit1 && echo success
success


Version-Release number of selected component (if applicable):
Not sure if is actually is net-tools, but I have net-tools-1.60-105.fc14.1(i686)

/sbin/ifdown script itself does not seem to have a version or revision number of any kind.
/etc/sysconfig/network-scripts/ifdown-sit shows a verion number of 2002-11-01.

How reproducible:
Always

Steps to Reproduce:
1. Configure an ipv6 tunnel device 'sit1'
2. Bring it up using ifup sit1
3. Check it is up using ifconfig
4. Try to bring it down using ifdown sit1
5. Check that is possible to bring it down using /etc/sysconfig/network-scripts/ifdown-sit sit1
6. Check it is indeed down, using ifconfig

Comment 1 tim 2011-03-12 14:11:45 UTC
It seems that the problem only occurs if NetworkManager is active. Because when I do:
# service NetworkManager stop
# ifdown sit1

Now ifdown does not return an error message and checking with ifconfig shows that the interface is indeed down.

Also service network restart signals no more problems if NetworkManager is not running. It seems that NetworkManager is conflicting with the 'normal' network scripts.

Maybe I'm doing something wrong and this isn't really a bug, but as I doubt that the sit1 interface is NetworkManager controlled, I don't think it should interfere with the correct functionality of ifup & ifdown and even if it did, it escapes me why ifup sit1 works as expected while ifdown sit1 does not. (ifdown lo seems to have the same problem by the way)

I consider this a problem, because I'm trying to see if I can replace the older Fedora 10 on my server with F14 and get ipv6/ipv4 dual stack working on my network while I'm at it, but for that I need to be sure that the network interfaces are correctly initiated during boot and while I have NetworkManager enabled, this seems to be a problem, because sit1 is not automatically getting up during a service network start while NetworkManager is active.

So, if not a bug, could this be transformed into a change request?


Note You need to log in before you can comment on or make changes to this bug.