[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#348610: udev and legacy hotplug scripts



On Thursday 19 January 2006 21:46, Joaquim Ortega wrote:
> On 18 January 2006, Christofer  Martin wrote:
> > udev shouldn't be running scripts in /etc/hotplug at all. These are
> > legacy hotplug scripts, for non-udev users. If udev is still running
> > those scripts, then file a bug against udev. I doubt very much that it
> > is, however. I suggest looking again, or giving me more detail concerning
> > how you arrived at your findings.
>
> It seems to me that the hotplug script is invoked by udev instructed from
> the rules in /etc/udev/logitechmouse.rules that states for instance
> SYSFS{idProduct}=="c00e", SYSFS{idVendor}=="046d",
> RUN+="/etc/hotplug/usb/logitechmouse"

Indeed, doing in /etc/udev :

#> find -type f | xargs -n 1 grep -H hotplug

you get many hits in libgphoto2.rules too. But when searching for the 
associated package I get :

#> dpkg -S logitechmouse.rules
kcontrol: /etc/udev/logitechmouse.rules
#> dpkg -S libgphoto2.rules
dpkg: *libgphoto2.rules* not found.

My kcontrol is the latest in sid (3.5). Is this a bug of kcontrol ?

#> dpkg -s kcontrol			(subset)
Package: kcontrol
Status: install ok installed
Section: kde
Architecture: amd64
Source: kdebase
Version: 4:3.5.0-4

--- 8< --- 8< --- 8< ---

Concerning libgphoto2.rules, package libgphoto2-2 does not provide that 
(anymore ?), however does include :

/etc/hotplug/usb/libgphoto2

Is that a bug too ?

Ernest.



Reply to: