Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Kay Sievers at 11/04/13 12:51 did gyre and gimble: > On Thu, Apr 11, 2013 at 1:46 PM, Colin Guthrie wrote: > >> Should we then consider trying to push a new default name scheme into >> the kernel side such that they come up as "eth-ng0" etc. by default >> allowing any userspace

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 1:46 PM, Colin Guthrie wrote: > Should we then consider trying to push a new default name scheme into > the kernel side such that they come up as "eth-ng0" etc. by default > allowing any userspace stuff to rename them to "eth1" or whatever > without so much likelihood of s

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 12:41 PM, Colin Guthrie wrote: > 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: >> On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald >> wrote: >>> /usr/share/doc/systemd/README.Fedora-18 >>> >>> - A hacky workaround that allows udev to rename netw

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 13:46, schrieb Colin Guthrie: > 'Twas brillig, and Harald Hoyer at 11/04/13 12:27 did gyre and gimble: >> Only >> $ rpm -qf /lib/udev/rename_device >> initscripts-9.45-2.fc19.x86_64 >> >> kicks in and renames interfaces according to the ifcfg-* files, if HWADDR is >> set, and if the

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Harald Hoyer at 11/04/13 12:27 did gyre and gimble: > Am 11.04.2013 12:55, schrieb Reindl Harald: >> >> >> Am 11.04.2013 12:41, schrieb Colin Guthrie: >>> 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: On Thu, Apr 11, 2013 at 2:50 AM, Reindl Haral

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 13:27, schrieb Harald Hoyer: > Just add "net.ifnames=0 biosdevname=0" to the kernel command line and you > don't > need any 70-persistent-net.rules. Udev will not try to rename your interfaces. > > $ rpm -qf /lib/udev/rename_device > initscripts-9.45-2.fc19.x86_64 > > kicks in an

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Harald Hoyer
Am 11.04.2013 13:13, schrieb Colin Guthrie: > But regardless, unless the patch to allow renaming is carried locally in > the distro for a long time > (http://pkgs.fedoraproject.org/cgit/systemd.git/tree/0005-F18-Revert-udev-network-device-renaming-immediately-.patch?h=f18) > then eventually the sup

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 13:13, schrieb Colin Guthrie: > Any scripts that assume names are also broken by design and should > really be written better to deal with things more gracefully, although I > totally agree that breaking existing setups is bad aha and WHAT should scripts calling tons of cli-command

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Harald Hoyer
Am 11.04.2013 12:55, schrieb Reindl Harald: > > > Am 11.04.2013 12:41, schrieb Colin Guthrie: >> 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: >>> On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald >>> wrote: /usr/share/doc/systemd/README.Fedora-18 - A ha

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Reindl Harald at 11/04/13 12:10 did gyre and gimble: > > > Am 11.04.2013 13:02, schrieb Tom Gundersen: >> On Thu, Apr 11, 2013 at 12:55 PM, Reindl Harald >> wrote: >>> there are THOUSANDS of virtual machines with only two NICs and no >>> race-problems >> >> In the case where

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Reindl Harald at 11/04/13 11:55 did gyre and gimble: > > > Am 11.04.2013 12:41, schrieb Colin Guthrie: >> 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: >>> On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald >>> wrote: /usr/share/doc/systemd/READM

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 13:02, schrieb Tom Gundersen: > On Thu, Apr 11, 2013 at 12:55 PM, Reindl Harald > wrote: >> there are THOUSANDS of virtual machines with only two NICs and no >> race-problems > > In the case where no renaming is done at all, and it JustWorks, then > you can still disable persist

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Tom Gundersen
On Thu, Apr 11, 2013 at 12:55 PM, Reindl Harald wrote: > in real life there are THOUSANDS of setups with only one ethernet interface > there are THOUSANDS of virtual machines with only one network interface In these cases you can disable persistent interface naming and they will stay at eth0. >

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 12:41, schrieb Colin Guthrie: > 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: >> On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald >> wrote: >>> /usr/share/doc/systemd/README.Fedora-18 >>> >>> - A hacky workaround that allows udev to rename network interf

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: > On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald wrote: >> /usr/share/doc/systemd/README.Fedora-18 >> >> - A hacky workaround that allows udev to rename network interfaces into >> kernel's ethX namespace has been re-added

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 11:25, schrieb Andrey Borzenkov: > On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald wrote: >> /usr/share/doc/systemd/README.Fedora-18 >> >> - A hacky workaround that allows udev to rename network interfaces into >> kernel's ethX namespace has been re-added. This is to support users

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Andrey Borzenkov
On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald wrote: > /usr/share/doc/systemd/README.Fedora-18 > > - A hacky workaround that allows udev to rename network interfaces into > kernel's ethX namespace has been re-added. This is to support users who > still > rely on udev rules such as 70-persist