Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668830

Summary: app-misc/ddcutil : udev rule tries to execute non-existing /usr/local/bin/ddcuti
Product: Gentoo Linux Reporter: Uladzimir Bely <wiselord1983>
Component: Current packagesAssignee: Jonathan Scruggs (RETIRED) <dracwyrm>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Uladzimir Bely 2018-10-16 20:14:23 UTC
There is "45-ddcutil-usb.rules" udev rule coming with the package. Inside it there is a line:

SUBSYSTEM=="usbmisc",  KERNEL=="hiddev*", PROGRAM="/usr/local/bin/ddcutil chkusbmon $env{DEVNAME} -v", MODE="0660", GROUP="video"

In gentoo (as well as in the most of linux distros) this path to program should be /usr/bin instead.

Wrong path causes some error in dmesg:

[    1.909675] udevd[919]: failed to execute '/usr/local/bin/ddcutil' '/usr/local/bin/ddcutil chkusbmon /dev/usb/hiddev0 -v': No such file or directory

Probably, this is an upstream bug, but it also can be solved on Gentoo side (correct rule file in FILESDIR or edited by sed inside of the ebuild).

All current versions in portage tree (0.8.4 .. 0.8.1) seem to be affected.
Comment 1 Manuel RĂ¼ger (RETIRED) gentoo-dev 2019-07-16 06:00:54 UTC
Fixed in 0.9.5