On Tue, 14 Feb 2006, Guus Sliepen wrote:

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

i think that makes ifrename useless...

i'm using -t and i don't have any problems.  i'm swapping the names of two 
interfaces.

you could move ifrename to S38 or S37 ... then it definitely runs before 
ifupdown and there's no issue with one of the interfaces being up.

-dean


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

Reply via email to