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

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
against ifrename.

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.

1KB
--
/-----------------------\ Shh, be vewy, vewy quiet,
| [EMAIL PROTECTED] | I'm hunting wuntime ewwows!
\-----------------------/
Segmentation fault (core dumped)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to