Bug#359799: libgphoto2-2: udev rules: please use faster native support

2006-03-29 Thread Frederic Peters
Henrique de Moraes Holschuh wrote:

 Package: libgphoto2-2
 Version: 2.1.6-6
 Severity: minor
 
 Instead of piggybacking on hotplug shell scripts, please use the native udev
 capabilities to change owner and mode of a device node.
 
 change all instances of this in the generated udev script:
 RUN+=/etc/hotplug/usb/libgphoto2
 
 to
 
 MODE=0660, GROUP=camera
 
 That's all the hotplug scripts are doing anyway, and if you do it the native
 udev way, it is much easier for the user to override it.

This is already done that way in the experimental package; I'll
backport it to unstable.  Is this ok for all udev versions ?


Regards,
Frederic


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#359799: libgphoto2-2: udev rules: please use faster native support

2006-03-29 Thread Henrique de Moraes Holschuh
On Wed, 29 Mar 2006, Frederic Peters wrote:
 Henrique de Moraes Holschuh wrote:
  Package: libgphoto2-2
  Version: 2.1.6-6
  Severity: minor
  
  Instead of piggybacking on hotplug shell scripts, please use the native udev
  capabilities to change owner and mode of a device node.
  
  change all instances of this in the generated udev script:
  RUN+=/etc/hotplug/usb/libgphoto2
  
  to
  
  MODE=0660, GROUP=camera
  
  That's all the hotplug scripts are doing anyway, and if you do it the native
  udev way, it is much easier for the user to override it.
 
 This is already done that way in the experimental package; I'll
 backport it to unstable.  Is this ok for all udev versions ?

AFAIK yes.  Added the udev debian maintainer to the Cc, let's see what he
says.

Marco?

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#359799: libgphoto2-2: udev rules: please use faster native support

2006-03-29 Thread Marco d'Itri
On Mar 29, Henrique de Moraes Holschuh [EMAIL PROTECTED] wrote:

  This is already done that way in the experimental package; I'll
  backport it to unstable.  Is this ok for all udev versions ?
 AFAIK yes.  Added the udev debian maintainer to the Cc, let's see what he
 says.
No, support for /dev/bus/usb/ requires:

udev = 0.066-1
libusb-0.1-4 = 2:0.1.10a-22
a kernel = 2.6.14

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#359799: libgphoto2-2: udev rules: please use faster native support

2006-03-28 Thread Henrique de Moraes Holschuh
Package: libgphoto2-2
Version: 2.1.6-6
Severity: minor

Instead of piggybacking on hotplug shell scripts, please use the native udev
capabilities to change owner and mode of a device node.

change all instances of this in the generated udev script:
RUN+=/etc/hotplug/usb/libgphoto2

to

MODE=0660, GROUP=camera

That's all the hotplug scripts are doing anyway, and if you do it the native
udev way, it is much easier for the user to override it.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.6-debian8+bluesmoke+lm85
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages libgphoto2-2 depends on:
ii  adduser   3.85   Add and remove users and groups
ii  libc6 2.3.6-4GNU C Library: Shared libraries an
ii  libexif12 0.6.13-4   library to parse EXIF files
ii  libgphoto2-port0  2.1.6-6gphoto2 digital camera port librar
ii  libjpeg62 6b-12  The Independent JPEG Group's JPEG 

Versions of packages libgphoto2-2 recommends:
ii  udev [hotplug]0.088-2/dev/ and hotplug management daemo

-- no debconf information

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]