From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: generation of persistent network devices rules at install time
Date: Tue, 29 Jul 2008 02:34:59 +0000 [thread overview]
Message-ID: <20080729023459.GA5224@bongo.bofh.it> (raw)
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
next reply other threads:[~2008-07-29 2:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 2:34 Marco d'Itri [this message]
2008-07-29 3:18 ` generation of persistent network devices rules at install time 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
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=20080729023459.GA5224@bongo.bofh.it \
--to=md@linux.it \
--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.