public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Martin Vaeth <martin@mvath.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... Audio: No
Date: Sat, 24 Dec 2016 06:57:39 +0000 (UTC)	[thread overview]
Message-ID: <slrno5s738.iau.martin@lounge.imp.fu-berlin.de> (raw)
In-Reply-To: 877f6qoz9t.fsf@heimdali.yagibdah.de

lee <lee@yagibdah.de> wrote:
>
> So the names will not change when rebooting and are to be expected to
> possibly change at any time.

/at any time/when you open the computer and mess around with the hardware/

Your whining in many postings becomes meanwhile unbearable.
Just face the facts:
Unless somebody comes up with an ingenious new idea there are
essentially only 3 possibilities:

1. One gives names in order of detection.

2. One binds the name to the card.

3. One binds the name to general attributes
(e.g. card type, slot type, ...)

4. One binds the name to the slot.

No matter what is chosen, all has big disadvantages:

For 1: The name will reproducible survive a booting _only_ if
(a) There is no other card
(b) There is no other driver which can act as a card
(e.g. IP over firewire)
There are many changes in hard- or software which can cause this
to happen (booting from a rescue CD which has all drivers enabled;
desktop user trying a new kernel; a user in a PC pool plugging
in an USB stick with extra functionality; ...)

My opinion: This is the most unreliable of all solutions and
has much potential of making a distant machine inaccessible
or to confuse unexperienced users.
As far as I understand, one of the main reasons why udev was
written was to avoid these problems.

For 2: It survives rebooting, but it requires manual interaction
(and more important: knowing and thinking about it)
if e.g. the network card breaks and gets exchanged.
This was implemented in previous versions of udev as default,
but the implementation was buggy in a way which could not be
fixed easily because of races. (It could have been fixed by using
another namespace than eth*)

My opinion: Many people have complained about this solution either,
because of the above mentioned problem. Moreover, the above
problem even happens if there is only one card.
It is a pity that udev has removed this possibility completely and
not left it (the variant without the bug) as an option which is
simple to achieve.

For 3: It has the same problems as 1, though they can be mitigated,
since e.g. USB ports or certain known-to-cause-problems drivers can
be treated separately.

My opinion: This is what I use on my machines; however, using it as
a default does not make sense, since it requires pre-knowledge on how
the machine is meant to be used and which hardware is intended to
be used. However, it would be nice, if udev would make it easy to
use such rules (e.g. to have a numbering of all PCI cards in a
certain namespace [e.g. eth_pci*] in the order of their detection);
the problem is that this is not easy to implement without any race
(which was the implementation problem of 2).

For 4: This is the "new" (meanwhile many years old) possiblity of udev
and has been chosen as the default when it was introduced.
It survives booting and even an exchange of a network card and does not
have the problems of 1 and 3, but it changes when you move the card
to a different slot, and the rules are complicated if you do not
know the hardware very well.

My opinion: Only 2 and 4 reliably survive a boot on _any_ hardware
without previous manual configuration. Since 4 is less likely to
cause problems for hardware exchange than 2, this is a sane default.
I would recommend everybody to change to 3 if he can, but for a
generic rescue system or a yet unconfigured system 4 is the correct
choice.



  reply	other threads:[~2016-12-24  7:00 UTC|newest]

Thread overview: 271+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-15 18:27 [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No Meino.Cramer
2016-10-16  4:55 ` Miroslav Rovis
2016-10-16  6:48   ` Meino.Cramer
2016-10-16  6:59     ` Jigme Datse Yli-RAsku
2016-10-16  7:33       ` Meino.Cramer
2016-10-16  7:44       ` Meino.Cramer
2016-11-19  6:11     ` Miroslav Rovis
2016-11-19  8:33       ` Daniel Campbell
2016-11-19  9:22         ` Miroslav Rovis
2016-11-19  9:59           ` Miroslav Rovis
2016-11-20  8:10             ` Daniel Campbell
2016-11-20 19:46               ` Miroslav Rovis
2016-11-28 16:30               ` Miroslav Rovis
2016-11-28 21:54                 ` [gentoo-user] " Ian Zimmerman
2016-11-28 22:31                   ` Miroslav Rovis
2016-11-29  7:51                 ` [gentoo-user] " Daniel Campbell
2016-11-30 22:34                   ` Miroslav Rovis
2016-10-16 23:43   ` [gentoo-user] " Ian Zimmerman
2016-10-16 13:17 ` [gentoo-user] " David M. Fellows
2016-12-16 10:19 ` [gentoo-user] from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... " Miroslav Rovis
2016-12-16 10:54   ` John Covici
2016-12-16 11:02     ` Arve Barsnes
2016-12-16 12:16   ` Rich Freeman
2016-12-16 13:13     ` Miroslav Rovis
2016-12-16 13:35       ` Rich Freeman
2016-12-16 16:51         ` Miroslav Rovis
2016-12-16 19:16           ` Rich Freeman
2016-12-16 20:12             ` [gentoo-user] " Ian Zimmerman
2016-12-16 20:39               ` Rich Freeman
2016-12-16 22:55                 ` Ian Zimmerman
2016-12-16 23:58                   ` [gentoo-user] X w/o suid root [Was: from Firefox52: NO pure ALSA?] Ian Zimmerman
2016-12-17  1:12                     ` Simon Thelen
2016-12-18  5:35                       ` [gentoo-user] Re: X w/o suid root Ian Zimmerman
2016-12-19  6:43                         ` Ian Zimmerman
2016-12-19 23:35                           ` Ian Zimmerman
2016-12-20 16:19                             ` Michael Mol
2016-12-17  2:04                   ` [gentoo-user] Re: from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... Audio: No Taiidan
2016-12-17  3:11                     ` Rich Freeman
2016-12-17  3:49                       ` R0b0t1
2016-12-17  9:03                     ` Daniel Campbell
2016-12-18  7:39                     ` Tom H
2016-12-17  8:29               ` Tom H
2016-12-16 21:10             ` [gentoo-user] " R0b0t1
2016-12-16 22:27             ` Miroslav Rovis
2016-12-17  5:59               ` Walter Dnes
2016-12-17  8:08                 ` Taiidan
2016-12-17 19:56                   ` Walter Dnes
2016-12-17 22:44                 ` Miroslav Rovis
2016-12-17 23:25                   ` Miroslav Rovis
2016-12-18  1:56                     ` Walter Dnes
2016-12-18  2:02                       ` Taiidan
2016-12-18  5:50                       ` [gentoo-user] Reading the (SSL) traffic with Pale Moon, WAS: from Firefox52: NO pure ALSA? " Miroslav Rovis
2016-12-18  7:04                         ` Walter Dnes
2016-12-18 18:16                           ` Miroslav Rovis
2016-12-18 18:43                             ` Miroslav Rovis
2016-12-18 20:29                               ` Walter Dnes
2016-12-19 11:16                                 ` Miroslav Rovis
2016-12-19 17:17                                   ` [gentoo-user] Reading the (SSL) traffic with Pale Moon Miroslav Rovis
2016-12-19 17:43                                     ` Miroslav Rovis
2016-12-19 23:33                                       ` Walter Dnes
2016-12-20 15:10                                         ` Miroslav Rovis
2016-12-19 12:25                                 ` [gentoo-user] Reading the (SSL) traffic with Pale Moon, WAS: from Firefox52: NO pure ALSA? Youtube... Audio: No Miroslav Rovis
2016-12-20  8:00                                   ` Walter Dnes
2016-12-20 15:07                                     ` [gentoo-user] Reading the (SSL) traffic with Pale Moon Miroslav Rovis
2016-12-21  0:17                                     ` Miroslav Rovis
2016-12-21  2:30                                       ` Walter Dnes
2016-12-24 17:38                                         ` [gentoo-user] " Ian Zimmerman
2016-12-24 19:31                                           ` Miroslav Rovis
2016-12-23  4:38                                       ` [gentoo-user] Pale Moon Air-Gapped portage EAPI 6 Install WAS: [Logging] SSL with PM Miroslav Rovis
2016-12-23 16:58                                         ` Miroslav Rovis
2016-12-24  7:29                                           ` Daniel Campbell
2016-12-24 17:23                                             ` Miroslav Rovis
2017-01-11  5:50                                           ` Miroslav Rovis
2017-02-19 11:02                                             ` Miroslav Rovis
2016-12-18  9:43                   ` [gentoo-user] Re: from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... Audio: No Martin Vaeth
2016-12-17  5:55             ` [gentoo-user] " Walter Dnes
2016-12-17  8:53               ` Neil Bothwick
2016-12-17  9:36                 ` Daniel Campbell
2016-12-17 13:09                   ` Neil Bothwick
2016-12-18  7:45                   ` Tom H
2016-12-18  8:23                     ` Daniel Campbell
2016-12-18 15:16                       ` Rich Freeman
2016-12-18 16:47                         ` lee
2016-12-18 16:56                           ` Dutch Ingraham
2016-12-18 21:09                             ` lee
2016-12-18 18:26                           ` Alan McKinnon
2016-12-18 21:34                             ` lee
2016-12-18 22:48                               ` Alan McKinnon
2016-12-19 16:55                                 ` lee
2016-12-18 16:52                         ` Daniel Campbell
2016-12-17 12:35                 ` Heiko Baums
2016-12-17 13:17                   ` Neil Bothwick
2016-12-17 14:35                     ` Heiko Baums
2016-12-17 14:58                       ` Rich Freeman
2016-12-17 18:20                         ` Heiko Baums
2016-12-17 19:34                           ` Rich Freeman
2016-12-17 21:57                           ` Marc Joliet
2016-12-17 23:17                             ` Heiko Baums
2016-12-17 23:23                               ` Andrej Rode
2016-12-17 23:36                                 ` Heiko Baums
2016-12-19  9:37                                   ` Neil Bothwick
2016-12-19 22:34                                     ` Heiko Baums
2016-12-19 23:56                                       ` Neil Bothwick
2016-12-19 14:52                                   ` Marc Joliet
2016-12-19 15:19                                     ` Alan McKinnon
2016-12-19 15:48                                       ` Rich Freeman
2016-12-20 16:33                                     ` Heiko Baums
2016-12-20 16:47                                       ` Rich Freeman
2016-12-20 17:44                                         ` Heiko Baums
2016-12-20 17:57                                           ` Rich Freeman
2016-12-20 18:07                                             ` Kai Peter
2016-12-20 18:20                                             ` Heiko Baums
2016-12-20 22:51                                             ` Alan Mackenzie
2016-12-21  2:33                                               ` Rich Freeman
2016-12-21  3:49                                                 ` Daniel Campbell
2016-12-21 12:53                                                   ` Rich Freeman
2016-12-22  1:19                                                     ` Daniel Campbell
2016-12-22  9:43                                                       ` Walter Dnes
2016-12-21 12:36                                                 ` Tanstaafl
2016-12-21 13:03                                                   ` Rich Freeman
2016-12-21 18:56                                                     ` Heiko Baums
2016-12-21 19:31                                                       ` Rich Freeman
2016-12-21 21:18                                                         ` Heiko Baums
2016-12-22  1:40                                                       ` Daniel Campbell
2016-12-21 12:09                                             ` karl
2016-12-21 13:27                                               ` Rich Freeman
2016-12-21 13:36                                               ` Corbin Bird
2016-12-21 14:28                                                 ` Rich Freeman
2016-12-21 15:04                                                   ` Corbin Bird
2016-12-21 19:00                                                   ` Heiko Baums
2016-12-22  6:50                                         ` Tom H
2016-12-22  6:05                                     ` Tom H
2016-12-18  0:01                               ` Heiko Baums
2016-12-18  1:58                             ` Taiidan
2016-12-18  4:58                               ` Andrej Rode
2016-12-18  7:07                                 ` Daniel Campbell
2016-12-18 10:32                                   ` Andrej Rode
2016-12-18  7:48                           ` Tom H
2016-12-17 15:44                       ` Alan McKinnon
2016-12-17 17:19                         ` Corbin Bird
2016-12-17 19:10                           ` Walter Dnes
2016-12-17 20:51                             ` Marc Joliet
2016-12-18  1:21                               ` Walter Dnes
2016-12-18  9:25                                 ` Marc Joliet
2016-12-18  1:23                             ` Daniel Campbell (zlg)
2016-12-18 20:58                               ` Walter Dnes
2016-12-17 18:22                         ` Heiko Baums
2016-12-17 22:53                           ` Alan McKinnon
2016-12-17 23:28                             ` Heiko Baums
2016-12-17 23:58                             ` [gentoo-user] " Grant Edwards
2016-12-18  1:25                               ` Walter Dnes
2016-12-18  7:35                               ` Alan McKinnon
2016-12-18  7:50                               ` Tom H
2016-12-17 22:57                           ` [gentoo-user] " Andrej Rode
2016-12-17 23:31                             ` Heiko Baums
2016-12-18  4:44                               ` Andrej Rode
2016-12-18 12:25                                 ` Heiko Baums
2016-12-19  9:59                       ` Neil Bothwick
2016-12-19 22:42                         ` Heiko Baums
2016-12-17 23:35               ` Miroslav Rovis
2016-12-18  7:39               ` Tom H
2016-12-18 21:02                 ` Walter Dnes
2016-12-19 18:15               ` lee
2016-12-19 20:07                 ` Daniel Frey
2016-12-19 20:35                   ` lee
2016-12-19 21:09                     ` Andrej Rode
2016-12-20  3:37                       ` lee
2016-12-20  4:23                         ` Andrej Rode
2016-12-20 10:11                           ` Kai Peter
2016-12-20 16:21                           ` Heiko Baums
2016-12-20 17:38                             ` Kai Peter
2016-12-20 17:50                               ` Heiko Baums
2016-12-20 18:08                                 ` Alan McKinnon
2016-12-20 18:22                                   ` Heiko Baums
2016-12-20 18:28                                     ` Alan McKinnon
2016-12-20 19:05                                       ` Heiko Baums
2016-12-20 21:55                                     ` Neil Bothwick
2016-12-20 22:11                                       ` lee
2016-12-21  0:27                                         ` Neil Bothwick
2016-12-21 11:33                                           ` karl
2016-12-21 21:48                                           ` lee
2016-12-21 23:46                                             ` Neil Bothwick
2016-12-22  3:15                                               ` lee
2016-12-22  8:56                                                 ` Neil Bothwick
2016-12-22  9:52                                                   ` Tom H
2016-12-22 10:14                                                     ` Neil Bothwick
2016-12-22 10:27                                                       ` Tom H
2016-12-22 12:38                                                         ` Neil Bothwick
2016-12-23  7:26                                                           ` Tom H
2016-12-23  8:39                                                             ` Neil Bothwick
2016-12-23  8:48                                                               ` Jorge Almeida
2016-12-29  9:36                                                                 ` Tom H
2016-12-24 15:50                                                               ` Tom H
2016-12-24 21:20                                                                 ` Neil Bothwick
2016-12-24  1:57                                                     ` lee
2016-12-24 15:46                                                       ` Tom H
2016-12-26 20:01                                                         ` lee
2016-12-27 11:33                                                           ` Neil Bothwick
2016-12-27 18:53                                                             ` lee
2016-12-27 20:40                                                               ` Neil Bothwick
2016-12-29 10:13                                                               ` Tom H
2016-12-30  1:15                                                                 ` Miroslav Rovis
2016-12-30  2:23                                                                   ` Rich Freeman
2016-12-30 10:19                                                                   ` Tom H
2016-12-29  9:42                                                           ` Tom H
2016-12-24  1:52                                                   ` lee
2016-12-24  8:08                                                     ` Alan McKinnon
2016-12-24 15:30                                                       ` lee
2016-12-24  9:53                                                     ` Neil Bothwick
2016-12-24 15:50                                                       ` lee
2016-12-24 15:59                                                     ` Rich Freeman
2016-12-26 18:24                                                       ` lee
2016-12-26 21:21                                                         ` Alan McKinnon
2016-12-26 22:47                                                           ` lee
2016-12-27  0:18                                                             ` Rich Freeman
2016-12-27  7:21                                                               ` lee
2016-12-27 10:09                                                                 ` Mick
2016-12-27 19:21                                                                   ` lee
2016-12-27 19:56                                                                     ` Mick
2016-12-27 20:31                                                                     ` Neil Bothwick
2016-12-28 10:58                                                                       ` Kai Peter
2016-12-28 16:20                                                                       ` mailer "module" for 'eselect news' (Re: [gentoo-user] from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... Audio: No) lee
2016-12-28 20:51                                                                         ` Neil Bothwick
2016-12-29  0:38                                                                           ` mailer "module" for 'eselect news' (Re: [gentoo-user] from Firefox52: NO pure ALSA?, lee
2016-12-20 21:53                                 ` [gentoo-user] from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... Audio: No Neil Bothwick
2016-12-20 22:12                                   ` Rich Freeman
2016-12-22  6:47                             ` Tom H
2016-12-20 22:04                           ` lee
2016-12-22  6:56                             ` Tom H
2016-12-20 20:35                       ` Daniel Frey
2016-12-20 20:52                         ` Andrej Rode
2016-12-22  6:53                         ` Tom H
2016-12-22 15:40                           ` Daniel Frey
2016-12-23  7:38                             ` Tom H
2016-12-19 22:50                     ` Dale
2016-12-20  1:29                       ` Taiidan
2016-12-20  3:46                         ` lee
2016-12-20  3:45                       ` lee
2016-12-20  4:59                         ` Dale
2016-12-20 22:28                           ` lee
2016-12-20 23:51                             ` Dale
2016-12-21 22:02                               ` lee
2016-12-21 22:31                                 ` Dale
2016-12-24  2:04                                   ` lee
2016-12-24  6:28                                     ` Dale
2016-12-24 16:05                                       ` lee
2016-12-24 17:58                                         ` Dale
2016-12-26 19:42                                           ` lee
2016-12-26 20:40                                             ` Dale
2016-12-26 21:37                                               ` lee
2016-12-26 22:31                                                 ` Dale
2016-12-26 21:29                                             ` Alan McKinnon
2016-12-26 23:02                                               ` lee
2016-12-27  9:06                                                 ` Alan McKinnon
2016-12-27 19:03                                                   ` lee
2016-12-20  8:33                         ` Kai Peter
2016-12-22  6:08                   ` Tom H
2016-12-24  2:07                     ` lee
2016-12-24  6:57                       ` Martin Vaeth [this message]
2016-12-24  9:54                         ` [gentoo-user] " Neil Bothwick
2016-12-24 16:12                         ` lee
2016-12-24 15:48                       ` [gentoo-user] " Tom H
2016-12-26 18:35                         ` lee
2016-12-26 21:44                           ` Alan McKinnon
2016-12-27  7:32                             ` lee
2016-12-29  9:40                           ` Tom H
2016-12-20 17:04                 ` Tanstaafl
2016-12-20 17:12                   ` Alan McKinnon
2016-12-20 20:29                     ` Daniel Frey
2016-12-26 15:21                     ` Michael Mol
2016-12-27 12:39 ` [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - " Alarig Le Lay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrno5s738.iau.martin@lounge.imp.fu-berlin.de \
    --to=martin@mvath.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox