:: Re: [devuan-dev] eudev net.ifnames …
Pàgina inicial
Delete this message
Reply to this message
Autor: Ivan J.
Data:  
A: devuan developers internal list
Assumpte: Re: [devuan-dev] eudev net.ifnames logic reversing proposal
On Sun, 20 Aug 2017, fsmithred wrote:

> On 08/20/2017 10:15 AM, Ivan J. wrote:
> > On Sun, 20 Aug 2017, fsmithred wrote:
> >
> >> On 08/20/2017 09:01 AM, Ivan J. wrote:
> >>
> >>> This would lead network interface names default to the old "eth0" or
> >>> "wlan0" scheme, rather than the new(?) "enp0s3"-like scheme. It implies
> >>> having "net.ifnames=1" in the kernel cmdline to get the "enp0s3"-like
> >>> scheme and not touching anything to get the "eth0" scheme.
> >>>
> >>> If there are no objections until wednesday, I'd push this trivial, but
> >>> important to discuss patch to the package and build it for the
> >>> repositories. Please see the patch below:
> >>>
> >>
> >> Yes!
> >>
> >> It would be good to have some kind of warning to the user upon
> >> installation, in case they are using the new interface names.
> >
> > I haven't played around with package warning popups yet. If you know of
> > a way, I'll gladly implement it :)


> Proper way:
> I'm reading up on debconf. Based on the documentation I've seen so far,
> I won't have this answer for you by Wednesday.
>
>
> Quick and dirty method (tested with another package):
>
> [cut]


Very well, I'll implement the latter if it's necessary then.

I also have a file called debian/eudev.postinst . I suppose it won't
interfere with this postinst file?


--
~ parazyd
GnuPG: 03337671FDE75BB6A85EC91FB876CB44FA1B0274
GnuPG: https://parazyd.cf/FA1B0274.asc