Bug#323030: postinst should create groups udev relies on

2005-08-14 Thread david
Package: udev Version: 0.056-3 Severity: important udev should create groups that udev relies on for permissions during the postinst. For example permissions.rules tries to change the group of /dev/nvram to nvram, but this group does't necessarily exist on a system. As a result, udevstart exits be

Bug#323030: postinst should create groups udev relies on

2005-08-14 Thread Marco d'Itri
On Aug 14, [EMAIL PROTECTED] wrote: > system. As a result, udevstart exits before it has completely populated > /dev/ during startup. What makes you believe this? Look at lookup_group() in udev_libc_wrapper.c, the function never fails: gid_t lookup_group(const char *group) { struct group

Bug#323030: postinst should create groups udev relies on

2005-08-14 Thread David Pashley
On Aug 14, 2005 at 11:04, Marco d'Itri praised the llamas by saying: > On Aug 14, [EMAIL PROTECTED] wrote: > > > system. As a result, udevstart exits before it has completely populated > > /dev/ during startup. > What makes you believe this? Look at lookup_group() in > udev_libc_wrapper.c, the fun

Bug#323030: postinst should create groups udev relies on

2005-08-14 Thread Marco d'Itri
On Aug 14, David Pashley <[EMAIL PROTECTED]> wrote: > Extensive debugging. udevstart crashed trying to look up the group. > Creating the nvram system group fixed it. It's entirely possible that > the crash is due to libnss-ldap, but that doesn't change the fact that > you are relying in a group wh

Bug#323030: postinst should create groups udev relies on

2005-08-14 Thread Marco d'Itri
On Aug 14, David Pashley <[EMAIL PROTECTED]> wrote: > > If udevstart is actually crashing (something which I doubt), please get > > a stack trace. > Is it not wise and pratical to add the groups that you, yourself list in > the packaged version of permission.rules? Yes. > strace attached. This i

Bug#323030: postinst should create groups udev relies on

2005-08-21 Thread Marco d'Itri
On Aug 14, Marco d'Itri <[EMAIL PROTECTED]> wrote: > Stack traces are generated with the bt command of gdb, and they need to > be from an unstripped binary to be useful. Do you still believe that udevstart is crashing? -- ciao, Marco signature.asc Description: Digital signature

Bug#323030: postinst should create groups udev relies on

2005-08-21 Thread David Pashley
On Aug 21, 2005 at 11:17, Marco d'Itri praised the llamas by saying: > On Aug 14, Marco d'Itri <[EMAIL PROTECTED]> wrote: > > > Stack traces are generated with the bt command of gdb, and they need to > > be from an unstripped binary to be useful. > Do you still believe that udevstart is crashing?