Mailinglist Archive: opensuse-bugs (10043 mails)
| < Previous | Next > |
[Bug 230213] Everytime I insert my PCMCIA card, the device number is increased by one
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Fri, 26 Jan 2007 04:54:53 -0700 (MST)
- Message-id: <20070126115453.DED2D25C889@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=230213
------- Comment #13 from zoz@xxxxxxxxxx 2007-01-26 04:54 MST -------
Got it. udev/rename_netiface is to fast. Or the kernel to fast.
Udev receives an event for an interface as soon as it was registered. Then udev
processes its rules immediately and calls rename_netiface. But then in
rename_netiface the renaming fails, because the interface is still not
completely ready.
So the solution is that the first rename_netiface (triggered from an existing
rule in 30-*) must not fail due to such problems. If if fails for other (maybe
still unknown) problems then it should (in a second run triggered from fallback
rule in 31-*) of course look for another name. A possible enhancement would be
to check 30-* for multiple rules for the same device.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Comment #13 from zoz@xxxxxxxxxx 2007-01-26 04:54 MST -------
Got it. udev/rename_netiface is to fast. Or the kernel to fast.
Udev receives an event for an interface as soon as it was registered. Then udev
processes its rules immediately and calls rename_netiface. But then in
rename_netiface the renaming fails, because the interface is still not
completely ready.
So the solution is that the first rename_netiface (triggered from an existing
rule in 30-*) must not fail due to such problems. If if fails for other (maybe
still unknown) problems then it should (in a second run triggered from fallback
rule in 31-*) of course look for another name. A possible enhancement would be
to check 30-* for multiple rules for the same device.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |