udev 055
The new udev doesn't set the groups from the rules file.
Under udev054 I would get
crw-rw---- 1 root audio 116, 33 2005-03-17 12:46 timer
Under udev055 I get
crw-rw---- 1 root root 116, 33 2005-03-17 12:46 timer
Signature · 15 lines
---- Jim Gifford [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Jim Gifford
The new udev doesn't set the groups from the rules file.
Under udev054 I would get
crw-rw---- 1 root audio 116, 33 2005-03-17 12:46 timerUnder udev055 I get
crw-rw---- 1 root root 116, 33 2005-03-17 12:46 timer
Please run:
udevtest /sys/class/sound/timer sound
or whatever is the devpath for that device and look if the right rule gets applied.
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 10 lines · Kay Sievers
Please run:
udevtest/sys/class/sound/timersoundor whatever is the devpath for that device and look if the right rule gets applied.
Kay
version 054
looking at '/class/sound/timer'
opened class_dev->name='timer'
configured rule in '/etc/udev/rules.d/25-lfs.rules[16]' applied, 'timer' becomes 'snd/%k'
creating device node '/dev/snd/timer', major = '116', minor = '33', mode = '0660', uid = '0', gid = '17'
version 055
looking at '/class/sound/timer'
opened class_dev->name='timer'
configured rule in '/etc/udev/rules.d/25-lfs.rules[16]' applied, 'timer' becomes 'snd/%k'
creating device node '/dev/snd/timer', major = '116', minor = '33', mode = '0660', uid = '0', gid = '0'
Signature · 15 lines
---- Jim Gifford [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 16 lines · Jim Gifford
Quoted 5 lines · Kay Sievers
Please run:
udevtest/sys/class/sound/timersoundor whatever is the devpath for that device and look if the right rule gets applied.
version 054
looking at '/class/sound/timer'
opened class_dev->name='timer'
configured rule in '/etc/udev/rules.d/25-lfs.rules[16]' applied, 'timer' becomes 'snd/%k'
creating device node '/dev/snd/timer', major = '116', minor = '33', mode = '0660', uid = '0', gid = '17'
Quoted 7 lines
version 055
looking at '/class/sound/timer'
opened class_dev->name='timer'
configured rule in '/etc/udev/rules.d/25-lfs.rules[16]' applied, 'timer' becomes 'snd/%k'
creating device node '/dev/snd/timer', major = '116', minor = '33', mode = '0660', uid = '0', gid = '0'
I can confirm this. It's a bad typo caused by changing the way klibc is integrated. We look in /etc/passwd for the group. :(
Patch attached, thanks for catching this.
Thanks,
Kay
===== udev_add.c 1.103 vs edited =====
udev_add.c +1 -1
@@ -150,7 +150,7 @@ static int create_node(struct udevice *uif (endptr[0 ] =='\0' ) gid = (gid_t ) id;else - gid =lookup_user (udev->group); + gid =lookup_group (udev->group); }if (!udev->test_run) {
===== udev_libc_wrapper.c 1.20 vs edited =====
udev_libc_wrapper.c +1 -1
@@ -140,7 +140,7 @@ static unsigned long get_id_by_name(consdbg ("can't open '%s' as db file" , dbfile);return 0 ; } -dbg ("reading '%s' as db file" , dbfile); +dbg ("search '%s' in '%s'" , uname, dbfile);/* loop through the whole file */ cur =0 ;
The least I can do for your assistance over the past few days.
Signature · 15 lines
---- Jim Gifford [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel