:: Re: [DNG] eudev missing dependency
Góra strony
Delete this message
Reply to this message
Autor: KatolaZ
Data:  
Dla: dng
Temat: Re: [DNG] eudev missing dependency
On Wed, Dec 27, 2017 at 04:28:47PM +0100, Svante Signell wrote:
> On Tue, 2017-12-26 at 18:51 +0100, J. Fahrner wrote:
> > Hi,
> >
> > udevd calls mtp-probe:
> >
> > udevd[436]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe 
> > /sys/devices/pci0000:00/0000:00:14.0/usb3/3-4 3 2': No such file or 
> > directory
> >
> > mtp-probe is contained in libmtp-runtime, so eudev should have a 
> > dependency to libmtp-runtime.
>
> I'm not so sure we should add that dependency, it is not present in
> udev (232-25+deb9u1). And issuing: dpkg -S /lib/udev/* shows e.g.
> hdparm: /lib/udev/hdparm
> ifupdown: /lib/udev/ifupdown-hotplug
> libinput-bin: /lib/udev/libinput-device-group
> libinput-bin: /lib/udev/libinput-model-quirks
> util-linux: /lib/udev/hwclock-set
> libmtp-runtime: /lib/udev/mtp-probe
> consolekit: /lib/udev/udev-acl
>
> Of these only util-linux is a dependency of udev.


We *MUST* *NOT* include that dependency, since that file comes from a
library that has nothing to do with the functionalities offered by
udev/eudev. Any package can install scripts under /lib/udev/, and the
package that install them is responsible for their removal/update as
well.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]