All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev /dev/net/tun bug
Date: Tue, 06 Jul 2004 09:26:44 +0000	[thread overview]
Message-ID: <40EA7054.9020205@ums.usu.ru> (raw)
In-Reply-To: <40EA08F5.1070303@ums.usu.ru>

Greg KH wrote:
> On Tue, Jul 06, 2004 at 08:05:41AM +0600, Alexander E. Patrakov wrote:
> 
>>To reproduce:
>>
>>cd /etc/hotplug
>>modprobe tun
>>udevstart
>>
>>Result:
>>
>>The following synthetic "net" hotplug event is received:
> 
> No, it's a real event.

Why do I re-receive that when I re-run udevstart? AFAIK just re-running 
udevstart doesn't produce any real hotplug events.

>>DEVPATH=/class/misc/tun
>>UDEV_NO_SLEEP=1
>>ACTION­d
>>PWD=/etc/hotplug
>>DEVNAME=/dev/net/tun
>>SHLVL=2
>>INTERFACE=/dev/net/tun
>>_=/usr/bin/env
>>=======
>>
>>This event is bogus, because there is really no interface, but a 
>>character device /dev/net/tun is involved.
> 
> Exactly, that's why this event is important.  Without it, udev would not
> be able to create the character device.
> 
> What is the issue you are having with this?

Yes, this is exactly the event due to which udev creates the 
/dev/net/tun character device :) However, it also gets dispatched to 
/etc/hotplug/net.agent for some reason.

-- 
Alexander E. Patrakov


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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

  parent reply	other threads:[~2004-07-06  9:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06  2:05 udev /dev/net/tun bug Alexander E. Patrakov
2004-07-06  2:28 ` Greg KH
2004-07-06  5:48 ` Kevin P. Fleming
2004-07-06  9:26 ` Alexander E. Patrakov [this message]
2004-07-09 17:47 ` Greg KH

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=40EA7054.9020205@ums.usu.ru \
    --to=patrakov@ums.usu.ru \
    --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.