Re: Consistent device naming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/13/2014 05:39 PM, Russell Miller wrote:

>> I want to run the same software on all of these machines and
>> having inconsistent names /between/ the machines makes that next to
>> impossible. Using the new names means that my software has to learn
>> all those different names and can't easily determine which name
>> applies to the motherboard port. Using the old names means it can't
>> predict which name will be given to which port.
>>
>> There's got to be a better answer.

> ... don't use Fedora?
>
> Just kidding.  Sort of.

Well, that option will certainly be considered. But it appears that
nearly all of the common distributions are going to systemd/udev. Not
only would I probably still have the same problem, I'd also have to
learn a whole bunch of different things.

> Assuming since you're posting here that that's not an option :)  You
> could learn to love the default udev nomenclature, or you could add
> rules to /etc/udev.d/rules (or whatever the equivalent is) that tie
> MAC addresses to specific interface names.  It would require a little
> bit of script-fu, but assuming a competently managed key or password
> infrastructure, shouldn't take more than an hour or two.

I've done that. The problem seems to be that what I want to do is to 
/exchange/ the names assigned. One of the renames works but the other 
fails, claiming the new name is already in use. In other circumstances, 
I'd use an intermediate name, orig->temp->target, but I don't know how 
to do that with udev, or even if it is possible.

> Prepare for a whole lot more issues, though.  Upgrading from 13 is a
> significant upgrade, and there's lots that will go wrong.
> Particularly on mongrel hardware like yours.

I know. It will be a "challenge".
-- 
Dave Close, Thales Avionics, Irvine California USA.
cell +1 949 394 2124, dave.close@xxxxxxxxxxxxxxxxxx

"If a cluttered desk is a sign of a cluttered mind,
of what then is an empty desk?" --Albert Einstein
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux