Package: ifrename
Version: 30~pre9-8
Severity: normal

Package ifrename provides an initscript to rename existing
interfaces, so this should work without udev.  But it has
no dependencies on module-init-tools (or kmod) listed, so
insserv sorts it before module-init-tools in rcS.d, and
it is the module-init-tools who loads modules, and who may
load NIC-related drivers too.  The result is that it runs
before m-i-t and hence does not see any network interface,
so actual renaming is not happening.

(Note again: this is the case when no udev is being used).

I tried to add "Should-Start: module-init-tools" to it, but
that results in ifrename sorted the same as ifupdown, but
obviously ifrename should run strictly before ifupdown.
So I also added "Should-Start: ifrename" to ifupdown, but
that turned into a cyclic dependency somehow.

So I ended up calling ifrename explicitly from ifupdown,
which is ugly but at least lets the system boot and be
accessible over the network.

This all is not relevant when udev is used, because ifrename
provides necessary udev hooks, and udev is run definitely
before ifupdown.   But with udev, the ifrename initscript
is not needed at all.  So we should either fix the initscript,
or drop it.  I'd vote for the first approach...

Thanks!

/mjt



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to