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

Re: Proposal: enable stateless persistant network interface names



On Fri, 8 May 2015 00:33:58 -0700
Josh Triplett <josh@joshtriplett.org> wrote:

> > I propose to retire [mac], i. e. drop
> > /lib/udev/rules.d/75-persistent-net-generator.rules and enable
> > [ifnames] by default.
[...]
> Having spent a non-trivial amount of time fighting
> persistent-net.rules on various systems, I'd very much welcome this
> change.
> 
> To help migrate existing systems, I'd suggest including a NEWS.Debian
> file that explains the change, and recommends deleting
> /etc/udev/rules.d/70-persistent-net.rules on systems that don't depend
> on the exact names (for instance, systems that run NetworkManager
> rather than hard-coding network configuration in ifupdown's
> /etc/network/interfaces).

Is it possible to provide a tool (a shell script?) that would print out
the new would-be name of the interface provided by the user so that it
would be possible to migrate remote systems only accessible via SSH?
I mean, a sysadmin would then be able to determine the new name of the
network interface, reflect this change in the firewall setup and other
relevant places, delete 70-persistent-net.rules and reboot the box
(or may be perform some more involved encantation with calling ifdown /
ip link name ... / ifup while in a screen/tmux session).


Reply to: