linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A rule gets applied only after running `udevadm test`
@ 2012-03-04 21:00 Rogutės Sparnuotos
  2012-03-04 23:48 ` Kay Sievers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rogutės Sparnuotos @ 2012-03-04 21:00 UTC (permalink / raw)
  To: linux-hotplug

I have 2 custom rules to rename network interfaces:

SUBSYSTEM="net", ACTION="add", ATTR{address}="00:1f:d0:5a:7d:48",
NAME="eth_int"
SUBSYSTEM="net", ACTION="add", ATTR{address}="00:50:22:e9:7d:09",
NAME="eth1"

But they aren't triggered on boot (although another rule from the same
file is applied). Now if I run

$ udevadm test --action­d \
/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/net/eth1

$ udevadm test --action­d \
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:01.0/net/eth0

the interfaces get renamed. What could I do to make these rules work on 
boot? Could this be an udev bug caused by a module-less kernel?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-05 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 21:00 A rule gets applied only after running `udevadm test` Rogutės Sparnuotos
2012-03-04 23:48 ` Kay Sievers
2012-03-05 11:08 ` Rogutės Sparnuotos
2012-03-05 16:38 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).