Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668830 - app-misc/ddcutil : udev rule tries to execute non-existing /usr/local/bin/ddcuti
Summary: app-misc/ddcutil : udev rule tries to execute non-existing /usr/local/bin/ddcuti
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jonathan Scruggs (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-16 20:14 UTC by Uladzimir Bely
Modified: 2019-07-16 06:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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