* [ANNOUNCE] udev 136 release
@ 2009-01-07 14:27 Kay Sievers
2009-01-07 14:34 ` Marco d'Itri
2009-01-07 18:51 ` Kay Sievers
0 siblings, 2 replies; 3+ messages in thread
From: Kay Sievers @ 2009-01-07 14:27 UTC (permalink / raw)
To: linux-hotplug
Here comes a new udev version. Thanks to all who have contributed to
this release.
The tarball can be found here:
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
The development repository can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=summary
The ChangeLog can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=ChangeLog
udev 136
====
Bugfixes.
We are currently merging the Ubuntu rules in the udev default rules,
and get one step closer to provide a common Linux /dev setup, regarding
device names, symlinks, and default device permissions. On udev startup,
we now expect the following groups to be resolvable to their ids with
glibc's getgrnam():
disk, cdrom, floppy, tape, audio, video, lp, tty, dialout, kmem.
LDAP setups need to make sure, that these groups are always resolvable at
bootup, with only the rootfs mounted, and without network access available.
Some systems may need to add some new, currently not used groups, or need
to add some users to new groups, but the cost of this change is minimal,
compared to the pain the current, rather random, differences between the
various distributions cause for upstream projects and third-party vendors.
In general, "normal" users who log into a machine should never be a member
of any such group, but the device-access should be managed by dynamic ACLs,
which get added and removed for the specific users on login/logout and
session activity/inactivity. These groups are only provided for custom setups,
and mainly system services, to allow proper privilege separation.
A video-streaming daemon uid would be a member of "audio" and "video", to get
access to the sound and video devices, but no "normal" user should ever belong
to the "audio" group, because he could listen to the built-in microphone with
any ssh-session established from the other side of the world.
/dev/serial/by-{id,path}/ now contains links for ttyUSB devices,
which do not depend on the kernel device name. As usual, unique
devices - only a single one per product connected, or a real
USB serial number in the device - are always found with the same
name in the by-id/ directory.
Completely identical devices may overwrite their names in by-id/
and can only be found reliably in the by-path/ directory. Devices
specified by by-path/ must not change their connection, like the
USB port number they are plugged in, to keep their name.
To support some advanced features, Linux 2.6.22 is the oldest supported
version now. The kernel config with enabled SYSFS_DEPRECATED is no longer
supported. Older kernels should still work, and devices nodes should be
reliably created, but some rules and libudev will not work correctly because
the old kernels do not provide the expected information or interfaces.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [ANNOUNCE] udev 136 release
2009-01-07 14:27 [ANNOUNCE] udev 136 release Kay Sievers
@ 2009-01-07 14:34 ` Marco d'Itri
2009-01-07 18:51 ` Kay Sievers
1 sibling, 0 replies; 3+ messages in thread
From: Marco d'Itri @ 2009-01-07 14:34 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
On Jan 07, Kay Sievers <kay.sievers@vrfy.org> wrote:
> To support some advanced features, Linux 2.6.22 is the oldest supported
> version now. The kernel config with enabled SYSFS_DEPRECATED is no longer
> supported. Older kernels should still work, and devices nodes should be
> reliably created, but some rules and libudev will not work correctly because
> the old kernels do not provide the expected information or interfaces.
Knowing that something unspecified may or may not work is not really
helpful.
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANNOUNCE] udev 136 release
2009-01-07 14:27 [ANNOUNCE] udev 136 release Kay Sievers
2009-01-07 14:34 ` Marco d'Itri
@ 2009-01-07 18:51 ` Kay Sievers
1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2009-01-07 18:51 UTC (permalink / raw)
To: linux-hotplug
On Wed, Jan 7, 2009 at 15:34, Marco d'Itri <md@linux.it> wrote:
> On Jan 07, Kay Sievers <kay.sievers@vrfy.org> wrote:
>
>> To support some advanced features, Linux 2.6.22 is the oldest supported
>> version now. The kernel config with enabled SYSFS_DEPRECATED is no longer
>> supported. Older kernels should still work, and devices nodes should be
>> reliably created, but some rules and libudev will not work correctly because
>> the old kernels do not provide the expected information or interfaces.
> Knowing that something unspecified may or may not work is not really
> helpful.
We don't know exactly what may fail, nobody tests almost two years old
kernels with a new udev. That's why we mention that such old kernels
should not be used. The basic operations should still be fine that old
stuff.
Stuff that is known not to work are the device-mapper and md rules,
cdrom_id properties, media change events, matches on DEVTYPE,
libudev's functions to retrieve properties, things that need the
"uevent" file.
The current rules use all that, it will not work correctly, and we
mark it as unsupported. That's all.
Kay
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-07 18:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 14:27 [ANNOUNCE] udev 136 release Kay Sievers
2009-01-07 14:34 ` Marco d'Itri
2009-01-07 18:51 ` Kay Sievers
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).