Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #184314

Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface Names

From debian-lists@patschie.de
Newsgroups linux.debian.user
Subject Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface Names
Date 2017-07-27 18:10 +0200
Message-ID <u7Twm-8ht-17@gated-at.bofh.it> (permalink)
References <u7STE-7Md-19@gated-at.bofh.it> <u7TmF-7Yc-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Michael,

I forgot to mention that I also recreated the initramfs: 
after several tries just to update it, I deleted the initramfs and recreated it completely.
But still the same effect.

Is there a way to manually check the contents of the initramfs, just to make sure that the 70-persistent-net.rules isn’t there?

Patrick

> Am 27.07.2017 um 17:57 schrieb Michael Biebl <biebl@debian.org>:
> 
> Hi Patrick
> 
> Am 27.07.2017 um 17:15 schrieb debian-lists@patschie.de:
>> Hi,
>> 
>> I’m running into some troubles to enable the predictable network interface names for a system upgraded from Jessie.
>> 
>> What I figured out so far:
>> Setting net.ifnames=1 on the kernel command line doesn’t help and seems no longer to be supported parameter (at least "sysctl - a" doesn’t show it).
> 
> Setting that parameter should work, but it doesn't take precedence over
> an existing /etc/udev/rules.d/70-persistent-net.rules
> 
> Since net.ifnames=1 is the default since stretch, you don't need to set
> it explicitly though.
> 
>> Removing any /etc/udev/rules.d/ file handling the network interface doesn’t bring the desired effect of having predictable network interface names.
>> 
>> I started now to compare /lib/udev/rules.d from a clean stretch installation with the files on a upgraded system, the clean installation has much more files.
>> So next try reinstalling udev to get all missing/new rule files from stretch, but that didn’t work either.
>> 
>> Any ideas what I could try next or missed to check?
>> 
> 
> Most likely the file /etc/udev/rules.d/70-persistent-net.rules got
> embedded in the initramfs. So once you removed that file, you also need
> to rebuild the initramfs via update-initramfs -u
> 
> Michael
> 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Jessie to Stretch Upgrade: Enable Predictable Network Interface Names debian-lists@patschie.de - 2017-07-27 17:30 +0200
  Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Michael Biebl <biebl@debian.org> - 2017-07-27 18:00 +0200
    Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names debian-lists@patschie.de - 2017-07-27 18:10 +0200
      Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-27 18:20 +0200
        Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Patrick Flaig <patrick@patschie.de> - 2017-07-27 18:50 +0200
      Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Michael Biebl <biebl@debian.org> - 2017-07-27 18:30 +0200
        Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Patrick Flaig <patrick@patschie.de> - 2017-07-27 18:50 +0200
        Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names debian-lists@patschie.de - 2017-07-27 19:00 +0200
          Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Michael Biebl <biebl@debian.org> - 2017-07-27 19:30 +0200
            Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Michael Biebl <biebl@debian.org> - 2017-07-27 20:00 +0200
              Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Patrick Flaig <debian-lists@patschie.de> - 2017-07-27 20:30 +0200
                Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Michael Biebl <biebl@debian.org> - 2017-07-27 21:30 +0200
                Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Patrick Flaig <debian-lists@patschie.de> - 2017-07-27 22:20 +0200
            Re: Jessie to Stretch Upgrade: Enable Predictable Network Interface  Names Patrick Flaig <debian-lists@patschie.de> - 2017-07-27 20:00 +0200

csiph-web