From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Riv22-0001mv-DC for garchives@archives.gentoo.org; Thu, 05 Jan 2012 21:39:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1032E21C10F; Thu, 5 Jan 2012 21:39:14 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D7AF21C021 for ; Thu, 5 Jan 2012 21:38:21 +0000 (UTC) Received: by eaai1 with SMTP id i1so770757eaa.40 for ; Thu, 05 Jan 2012 13:38:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KEX6ttHenkqQZfG+1e2FGKRPT/Vf6zmx58kiKwA6r5Y=; b=tQdNezQRiNXIWWgHpBD+Obn1RIQxIsp0UAOHRn5bABT+JICllaV3QpDUyFKTlkfUze iwiG7MkQvmqH9CuemDb4gT/FYayF0aOBNUCfO+RSDaT2kMOK3nbmUdJiXVD63nD9SfZn 7dg/W7v41oH1ZiGLnzdmy+JrYvRLMXUp61/i4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.133.207 with SMTP id g15mr1595626bkt.17.1325799500727; Thu, 05 Jan 2012 13:38:20 -0800 (PST) Received: by 10.204.177.18 with HTTP; Thu, 5 Jan 2012 13:38:20 -0800 (PST) In-Reply-To: <20120105220807.GC1263@vidovic> References: <20120103131346.GC2410@nicolas-desktop> <20120103143120.GF2410@nicolas-desktop> <20120103221555.22c778a3@digimed.co.uk> <4F038C23.5030708@gmail.com> <20120105100149.GA2443@nicolas-desktop> <20120105220807.GC1263@vidovic> Date: Thu, 5 Jan 2012 16:38:20 -0500 Message-ID: Subject: Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3 From: Michael Mol To: Nicolas Sebrecht Cc: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 40447890-93e5-48fe-8a3d-531f80807f8e X-Archives-Hash: 334ccf7e9b8a172b9a88c28c732eeba1 On Thu, Jan 5, 2012 at 5:08 PM, Nicolas Sebrecht wrote: > On Thu, Jan 05, 2012 at 02:20:21PM -0500, Michael Mol wrote: > >> FWIW, I had a /dev/cdrom symlink long before *devfs* even existed, let >> alone udev. > > We are not looking for device paths that existed berfore udev. Actually, > most of them exist since much more time than udev. It's not relevant at > all. You missed my point. My point was that udev wasn't needed to resolve the use case you described, that stable solutions to such cases preceded udev, and so udev wasn't a necessary tool to solve them. > >> Also, ethN numberings are generally stable until and unless you do >> some strange BIOS tweaking or hardware changes, and should be able to >> be stabilized in the event the instability comes from some racy module >> loading mechanism. > > This is not true. I've had computers in hands where network cards could > change of names without any BIOS tunning. Did this happen after a kernel update or a change to your kernel configuration? A software update? A change in the set of enabled modules, or which were built-in vs built as modules? In any production server environment, I would assume you're already watching the thing like a hawk and verifying that the thing comes up properly after a reboot. Reboots should be very, very rare things. I try to do things more or less correctly on a high-profile machine, and I'm still giddy when the once-in-a-blue-moon reboot doesn't break anything. > BIOS is a executed program and > the way each is implemented can guarantee *or not* to have the > conditions for persistent NIC names on Linux. What you're saying is that NIC stability is dependent on how the OEM built the BIOS and software. I'll posit there may be strange NICs out there which can't be initialized within a deterministic time frame without some external factor such as a link handshake. If this were a common behavior for a piece of hardware though, I'd consider it indicative of shoddy quality, and would want to replace it. Regardless, it's resolvable in software without using a tool that imposes significant restrictions on system structure. > >> udev's attempts at stabilizing network interfaces have made things >> worse more often than I've heard of it making them better. Hit any >> search engine for "eth0 missing 70-persistent-net.rules". > > It's fully expected and required. Persistent naming can work if you have > a configuration for that somewhere. I see nothing worse here. One week, I helped no fewer than five people who ran afoul of the 70-persistent-net.rules file, and didn't know why their eth0 disappeared. These weren't newbie Linux users, either. Some knew their way around GNOME better than I still do, and they mostly knew their way around the shell. Some were networking professionals pulling more than I do. I'd wager the vast majority of systems out there have devices named as 'ethN' for wired connections, and 'wlanN', 'athN' or whatever for wireless connections. And that the vast majority of those systems have one or fewer wired connection ports. And that the further vast majority of those don't have customized 70-persistent-net.rules files as you and I have. If that's true, then the persistent-net rules behavior currently harms more users than it benefits. > But I see > an improvement to let me tune the NIC names if I need to. I have routers > with *lot of* NIC cards where this feature is very usefull (expressive > names are much better than ethX). I, too, noted this as a potential advantage of udev. On my router, I have five interfaces. 'wan', 'he-tunnel', lan, wifi, lo and 'tun0'. tun0 is only so-named because it's an OpenVPN thing I haven't bothered to change. I've tried to advocate use this feature of udev. But I administer my router the way I like to. Most people I've pointed toward this capability just go "Meh. I have a list of interfaces and what they're for." even when they already have udev. -- :wq