linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* generation of persistent network devices rules at install time
@ 2008-07-29  2:34 Marco d'Itri
  2008-07-29  3:18 ` Bryan Kadzban
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Marco d'Itri @ 2008-07-29  2:34 UTC (permalink / raw)
  To: linux-hotplug

I have still not found a good solution to this problem, and it's not
practical anymore to emulate the 75-persistent-net-generator.rules logic
in a shell script.

Actually there are two slightly different scenarios in which I need to
generate these rules:
- when the package is installed on an already working system
- when the package is installed in a chroot

The first case is easier since there is a running udevd, and it could be
solved with some creativity by setting an environment variable in a
temporary rule file and checking it at the end of 75-p-n-g.r to stop
further processing of the rules (I do not want this process to wake up
anything else which may be triggered by uevents). But this is a corner
case since udev is installed by default on all Debian systems, and I
could as well ignore it.

I have no good idea about how to solve the second one since the system
already has a running udev process which I cannot mess with.

What do other distributions do?

-- 
ciao,
Marco

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

end of thread, other threads:[~2008-07-29 11:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29  2:34 generation of persistent network devices rules at install time Marco d'Itri
2008-07-29  3:18 ` Bryan Kadzban
2008-07-29  4:32 ` Karl O. Pinc
2008-07-29  9:44 ` Marco d'Itri
2008-07-29 10:23 ` Marco d'Itri
2008-07-29 10:34 ` Kay Sievers
2008-07-29 11:13 ` Bryan Kadzban

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).