alternate install sets up biosdevname by default

Bug #1293633 reported by FR. Loïc
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
biosdevname (Ubuntu)
Won't Fix
Undecided
Unassigned
ubuntu-meta (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

Please create a symbolic link between ethernet interfaces from "p1p1" to "eth0".

dmesg | grep eth0
[ 0.614926] systemd-udevd[102]: renamed network interface eth0 to p1p1

Because it breaks too much software. Add "biosdevname = 0" in grub is not a good solution.

Regards,

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: udev 204-5ubuntu13
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDmesg:
 [ 10.180489] IPv6: ADDRCONF(NETDEV_CHANGE): p1p1: link becomes ready
 [ 12.553851] init: slim main process (856) terminated with status 1
 [ 19.482607] audit_printk_skb: 9 callbacks suppressed
 [ 19.482610] type=1006 audit(1395069279.474:15): pid=1065 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1 res=1
 [ 206.343029] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Date: Mon Mar 17 16:20:50 2014
InstallationDate: Installed on 2014-03-17 (0 days ago)
InstallationMedia: Lubuntu 14.04 "Trusty Tahr" - Alpha amd64 (20140316)
MachineType: MSI MS-7798
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-17-generic root=UUID=0cc5c37b-0c94-4ba4-a328-2428848bcfac ro quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/30/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.9
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: B75MA-P45 (MS-7798)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.9:bd09/30/2013:svnMSI:pnMS-7798:pvr1.0:rvnMSI:rnB75MA-P45(MS-7798):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.name: MS-7798
dmi.product.version: 1.0
dmi.sys.vendor: MSI

Revision history for this message
FR. Loïc (hackurx) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

We don't enable BIOS-named interface names in udev by default, so I don't know where that comes from. Can you please give me the output of

  grep -r p1p1 /etc/udev/rules.d /lib/udev/rules.d

?

BTW, there is no such thing as a "symlink" for ethernet interfaces. They are not file-like, their name is what it is.

Changed in systemd (Ubuntu):
status: New → Incomplete
summary: - Create a symbolic link between ethernet interfaces from "p1p1" to "eth0"
+ ethernet interface is called p1p1
Revision history for this message
FR. Loïc (hackurx) wrote : Re: ethernet interface is called p1p1

No results at this location, but here's what I got in other locations :
(View attachment)

I installed Ubuntu via a alternate cd of Lubuntu (to have a minimal installation). I just looked and when I get a DHCP my card is already called p1p1.

In alternate CD of Lubuntu :
grep -r p1p1 /etc/
/etc/network/devname:p1p1:Realtek ...
/etc/network/devhotplug:p1p1

In netcfg & dhclient my card is called p1p1.

Thanks.

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, so /etc/network/devname certainly sounds like it would do that. I honestly have no idea what package/component creates that file; it's certainly not udev.

Can you please do

  dpkg -l > /tmp/packages.txt

and attach /tmp/packages.txt here? Perhaps there is one which sounds like it could be responsible for that.

Revision history for this message
FR. Loïc (hackurx) wrote :

I reinstalled a minimal Ubuntu i386 to make it more visible and clean (And because I'm nice ^^).

No problem with a live-cd. The problem is present only with the alternate CD amd64 and i386 :
http://cdimage.ubuntu.com/lubuntu/daily/current/

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, so you do have biosdevname installed. So apparently Lubuntu alternate pulls that in? Reassigning to lubuntu meta package.

affects: systemd (Ubuntu) → lubuntu-meta (Ubuntu)
Changed in lubuntu-meta (Ubuntu):
status: Incomplete → New
summary: - ethernet interface is called p1p1
+ installs biosdevname by default
summary: - installs biosdevname by default
+ alternate install sets up biosdevname by default
Revision history for this message
Julien Lavergne (gilir) wrote :

Lubuntu doesn't seed it explicitly, it's part of d-i-requierement seed in platform, see http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/platform.trusty/revision/1609
But, as Lubuntu is probably the last flavor to use an alternate ISO, maybe we are the only ones affected by this.

Revision history for this message
FR. Loïc (hackurx) wrote :

Identical with alternate CD of Ubuntu Server :
cdimage.ubuntu.com/ubuntu-server/daily/current/

affects: lubuntu-meta (Ubuntu) → biosdevname (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :
Changed in biosdevname (Ubuntu):
status: New → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-meta (Ubuntu):
status: New → Confirmed
Revision history for this message
Robie Basak (racb) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.