Bug 840502 - Bad udev rule for xcm
Summary: Bad udev rule for xcm
Alias: None
Product: Fedora
Classification: Fedora
Component: xcm
Version: 17
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-07-16 13:55 UTC by ZiN
Modified: 2012-11-11 11:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-11-11 11:07:17 UTC

Attachments (Terms of Use)
A patch for installed rules file (619 bytes, patch)
2012-07-16 13:55 UTC, ZiN
no flags Details | Diff

Description ZiN 2012-07-16 13:55:17 UTC
Created attachment 598454 [details]
A patch for installed rules file

Description of problem:

Udev rule for XCM utilities fails with such messages:
Jul 16 15:37:24 lightnote udevd[492]: failed to execute '/usr/lib/udev/xcmddc' 'xcmddc --i2c /dev/i2c-4 --identify': No such file or directory

Version-Release number of selected component (if applicable):

How reproducible:
Just install xcm.

Steps to Reproduce:
1. Install xcm.
2. Reboot or reload udev rules.
3. Look at syslog for udev error messages.
Actual results:
Udev error messages are logged every time the system boots or udev triggers to reload.

Expected results:
No error messages. The i2c dev entries are created with proper group and permissions.

Additional info:
1. It seems that specifying an absolute path to xcmddc in the last rule resolves the problem.
2. Should those /dev/i2c-* files, that a setting up with in this udev rules file, be world writeable? For, as I understand, the user, logged in X11 session, becomes a member of a 'video' group, so that 0660 or 0664 modes could be quite enough for normal functioning.

Comment 1 Nicolas Chauvet (kwizart) 2012-10-16 21:56:37 UTC
Sorry for the long reply, can you forward the patch upstream ?
I will fix the path side of the issue for now.
Thx for your report.

Comment 2 Fedora Update System 2012-10-16 22:52:46 UTC
xcm-0.5.1-1.fc18 has been submitted as an update for Fedora 18.

Comment 3 Fedora Update System 2012-10-16 23:00:26 UTC
xcm-0.5.1-1.fc17 has been submitted as an update for Fedora 17.

Comment 4 Fedora Update System 2012-10-17 03:17:46 UTC
Package xcm-0.5.1-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xcm-0.5.1-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 ZiN 2012-10-23 08:57:54 UTC
Sent patch to Oyranos SF tracker.
Don't know if I've done right or it would be better to add a bug.

Note You need to log in before you can comment on or make changes to this bug.