ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] udev-242-alt1.x86_64
@ 2019-04-22  7:49 Gleb Kulikov
  2019-04-22 10:02 ` Stas
  2019-04-22 16:19 ` Sergey
  0 siblings, 2 replies; 4+ messages in thread
From: Gleb Kulikov @ 2019-04-22  7:49 UTC (permalink / raw)
  To: sisyphus

Джентльмены,

это баг, или фича?

udev не может переименовать сетевые интерфейсы, когда в 70-persistent-
net.rules используются стандартные имена (eth0...)

Если в 70-persistent-net.rules задать произвольные имена интерфейсов, всё 
чудесно работает.

Горе в том, что 70-persistent-net.rules ранее руками не создавался и 
существует в неизменном виде, бог знает, сколько лет.

апр 21 09:50:26 h77.homedom systemd-udevd[942]: Using default interface naming 
scheme 'v240'.
апр 21 09:50:26 h77.homedom systemd-udevd[942]: eth0: Failed to rename network 
interface 2 from 'eth0' to 'eth1': F
ile exists

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="6c:f0:49:1c:e5:f1", ATTR{dev_id}=="0x0", ATTR{type}=="1
", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:c0:df:06:f2:26", ATTR{dev_id}=="0x0", ATTR{type}=="1
", KERNEL=="eth*", NAME="eth1"

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="7c:8b:ca:01:a0:c5", ATTR{dev_id}=="0x0", ATTR{type}=="1
", KERNEL=="eth*", NAME="eth2"
-- 

С уважением, /GL

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-22 16:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-22  7:49 [sisyphus] udev-242-alt1.x86_64 Gleb Kulikov
2019-04-22 10:02 ` Stas
2019-04-22 10:22   ` Gleb Kulikov
2019-04-22 16:19 ` Sergey

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git