From: Grahame Jordan <gbj@theforce.com.au>
To: linux-hotplug@vger.kernel.org
Subject: Re: ifdown not happening
Date: Thu, 07 Jun 2007 01:37:56 +0000 [thread overview]
Message-ID: <46676174.3040605@theforce.com.au> (raw)
In-Reply-To: <46675843.1060804@theforce.com.au>
Hi,
strace on "ifdown usb0" shows that there is still an entry in
/var/run/network/ifstate. If I manually remove the usb0=usb0 entry it
seems to work.
Cheers
Grahame
Grahame Jordan wrote:
> Hi,
>
> I am trying to understand how the udev system works and track down this
> issue on Debian/ubuntu flavors.
> In this case he interfaces are setup as static to remove any blame from
> dhclient.
> This bug:
> https://bugs.beta.launchpad.net/ubuntu/+source/dhcp3/+bug/38140 is
> probably a symptom of this issue.
>
> With a hotplug network interface such as usb0, it seems that upon
> removal "ifdown usb0" does not happen.
> The interface seems to go down OK but when it is plugged back in the
> interface does not come up correctly.
> "ifconfig" shows lo and eth0 but not usb0
> "ifconfig usb0" shows usb0 with no IP Address
> If i do an ifdown usb0; ifup usb0; then everything works.
>
> If I pull out the USB cable and then do an "ifdown usb0" I get an error
> but when I plug bak in the USB cable it comes up OK. So it seeems
> something is still holding on to usb0 after removal.
>
> I need help to debug this issue. Any help appreciated.
>
> Thanks
>
>
> Grahame Jordan
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2007-06-07 1:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-07 0:58 ifdown not happening Grahame Jordan
2007-06-07 1:37 ` Grahame Jordan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46676174.3040605@theforce.com.au \
--to=gbj@theforce.com.au \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.