tags 351185 + wontfix
thanks

On Thu, Feb 02, 2006 at 07:13:33PM -0800, dean gaudet wrote:

> i think /etc/init.d/ifrename should use the -t option... which allows 
> devices to take over already assigned device names... i just had an 
> unstable box which was working ok with an /etc/iftab that explicitly 
> specified eth0/eth1 mac addresses.
> 
> then i upgraded from hotplug -> udev and from 2.6.13 to 2.6.15 kernels... 
> and the eth0/1 order swapped and ifrename refused to reassign eth0/1 and 
> the system failed to boot properly.
> 
> but ifrename -t fixes the problem...

The manual page says this about the -t option:

-t     Enable name takeover support. [...] This works only with kernel
2.6.X and if the other interface is down. Consequently, this is not
compatible with Hotplug. [...] In any case, name swapping and the use of
this feature is discouraged, and you are invited to choose unique and
unambiguous names for your interfaces...

I think it is best to follow the advice in the last sentence.

-- 
Met vriendelijke groet / with kind regards,
    Guus Sliepen <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to