linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: default udev rules
Date: Mon, 11 Aug 2008 14:54:34 +0000	[thread overview]
Message-ID: <1218466474.4448.61.camel@lgn.site> (raw)
In-Reply-To: <1218277281.31266.32.camel@lgn.site>

On Mon, 2008-08-11 at 14:03 +0100, Scott James Remnant wrote:
> On Sun, 2008-08-10 at 21:47 +0200, Kay Sievers wrote:
> > On Sun, 2008-08-10 at 19:07 +0100, Scott James Remnant wrote:
> > > On Sat, 2008-08-09 at 12:21 +0200, Kay Sievers wrote:
> > > 
> > > > We like to remind everybody, that all distros should work towards a
> > > > default udev rules set, instead of maintaining their own home-grown
> > > > version of default rules. We should all unify as far as possible.
> > > > Red Hat, SUSE and Gentoo are already using the same rules files, with a
> > > > minimal rules set on top, in a distro specific file. We ask the rest of
> > > > the universe to join us, and do the same. :)
> > > 
> > > The conflation of names and permissions in the default rules is a
> > > problem for us, and why Ubuntu has not adopted them.
> > 
> > Which names, which perms? Please just list them all, we will try to find
> > a common solution.
> > 
> Setting any group names, and thus any group-writable permissions; our
> rules have these split out into a separate file which is added later.

That makes no difference, assigning perms works any time.

It would be still nice if you could provide facts, al list, what the
differences are, which makes you compose your own, almost identical
default rules, for no obvious reason today. We should try to come up
with a common setup, it can save us all a lot of time debugging.

> > > I'm also entirely unconvinced about putting rules in /lib instead
> > > of /etc
> > 
> > Most udev rules are not config files, not supposed to be edited, and
> > therefore do not belong into /etc. It's a pretty common, and HAL's model
> > for fdi files. As we are moving things from HAL to udev, we may have
> > more things, which are unconvincing until they are used and start to
> > make sense. :)
> > 
> I've yet to have it explained to me why udev rules suddenly aren't
> configuration files.

Default rules are supposed to be entirely replaced on version updates
for that reason. They have dependencies across files, and can only be
seen as a whole, not as randomly editable/collectable.

> They've been configuration files for years,

No, they never have been config files in that sense. They are static
instructions, not supposed to be changed. Editing them may result in a
broken udev setup on updates.

> and we
> encourage people to edit them.

That just wrong to do, and I can not see how you could solve the update
problem that way.

Thanks,
Kay


  parent reply	other threads:[~2008-08-11 14:54 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-09 10:21 default udev rules Kay Sievers
2008-08-09 15:23 ` Marco d'Itri
2008-08-09 18:55 ` Greg KH
2008-08-09 19:30 ` Marco d'Itri
2008-08-09 19:44 ` Greg KH
2008-08-09 20:03 ` Kay Sievers
2008-08-10 18:07 ` Scott James Remnant
2008-08-10 19:18 ` Marco d'Itri
2008-08-10 19:25 ` Greg KH
2008-08-10 19:47 ` Kay Sievers
2008-08-10 20:35 ` Kay Sievers
2008-08-11  8:45 ` Kay Sievers
2008-08-11  8:58 ` Marco d'Itri
2008-08-11  9:01 ` Marco d'Itri
2008-08-11 13:03 ` Scott James Remnant
2008-08-11 14:54 ` Kay Sievers [this message]
2008-08-11 15:18 ` David Zeuthen
2008-08-11 15:20 ` Scott James Remnant
2008-08-11 15:21 ` Scott James Remnant
2008-08-11 15:27 ` Kay Sievers
2008-08-11 15:28 ` Kay Sievers
2008-08-11 15:35 ` Scott James Remnant
2008-08-11 15:36 ` Scott James Remnant
2008-08-11 15:42 ` Scott James Remnant
2008-08-11 15:50 ` Kay Sievers
2008-08-11 16:00 ` Scott James Remnant
2008-08-11 16:06 ` piterpk
2008-08-11 16:14 ` Marco d'Itri
2008-08-11 16:19 ` Kay Sievers
2008-08-11 16:26 ` Marco d'Itri
2008-08-11 16:34 ` Kay Sievers
2008-08-11 16:37 ` Greg KH
2008-08-11 16:41 ` Kay Sievers
2008-08-11 16:45 ` Marco d'Itri
2008-08-11 16:48 ` Marco d'Itri
2008-08-11 16:48 ` Kay Sievers
2008-08-11 16:53 ` Scott James Remnant
2008-08-11 16:54 ` Marco d'Itri
2008-08-11 16:58 ` Greg KH
2008-08-11 17:00 ` Kay Sievers
2008-08-11 17:01 ` Kay Sievers
2008-08-11 17:06 ` Scott James Remnant
2008-08-11 17:08 ` Scott James Remnant
2008-08-11 17:10 ` Scott James Remnant
2008-08-11 17:24 ` Kay Sievers
2008-08-11 17:37 ` David Zeuthen
2008-08-11 17:40 ` Scott James Remnant
2008-08-11 18:00 ` Scott James Remnant
2008-08-11 18:01 ` Kay Sievers
2008-08-11 18:06 ` Scott James Remnant
2008-08-11 22:26 ` Greg KH
2008-08-11 22:28 ` Greg KH
2008-08-11 22:29 ` Greg KH
2008-08-11 23:40 ` Scott James Remnant
2008-08-11 23:41 ` Scott James Remnant
2008-08-12  0:00 ` Greg KH
2008-08-12 20:32 ` Kay Sievers
2008-08-13  1:53 ` H. Peter Anvin
2008-08-13  1:55 ` H. Peter Anvin
2008-11-18 17:39 ` Harald Hoyer
2008-11-18 17:52 ` Kay Sievers
2008-11-19  2:09 ` Piter PUNK

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=1218466474.4448.61.camel@lgn.site \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).