Re: Bug#363598: udev should conflict with ifrename
On Thu, 20 Apr 2006, Gabor Gombas wrote:
On Thu, Apr 20, 2006 at 11:12:58AM +0200, Marco d'Itri wrote:
Result: programs run after ifrename (like ifupdown...) will get the old
So what? The user deliberately asked for it. Also it seems easy to write
an udev rule to replace persistent-net-generator.rules using ifrename so
udev will be notified about the new name. That's at most a whislist bug
It's nice that udev can do it all alone but allowing users to continue
to use the tool they are already familiar with is even nicer.
Idea: if /etc/iftab is present on upgrade, you can consume it, producing
relevant rules in that place (and displaying a message to the admin).
Having a /sbin/ifrename script which internally uses udev but accepts old
ways of calling it for compatibility could be good, too; however, since
the /etc/iftab one-shot renaming on boot-up is usually everything that is
needed, porting the script is probably not worth the effort.
/-----------------------\ Shh, be vewy, vewy quiet,
| email@example.com | I'm hunting wuntime ewwows!
Segmentation fault (core dumped)