Ubuntu package does not install udev rule for HID controllers

Bug #1517738 reported by Be
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Medium
RJ Skerry-Ryan

Bug Description

PR 637 (https://github.com/mixxxdj/mixxx/pull/637 ) introduced a udev rule to give users permission to access HID devices. SCons installs this to /etc/udev/rules.d/ if that directory is writable. The udev rule is not installed by the Ubuntu package.

Changed in mixxx:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 2.0.0
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Strange, the build/debian/control file says to do a scons install as part of the build so it should be getting written. I've got zero experience with Debian packaging though.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

The scons install does not copy the file to /etc/udev/rules.d/

I believe it's caused by this line:
https://github.com/mixxxdj/mixxx/blob/master/src/SConscript#L337

I think based on this:
https://lintian.debian.org/tags/udev-rule-in-etc.html

that we're supposed to install our files to /lib/udev/rules.d anyway since /etc/udev/rules.d is for user-installed files.

Revision history for this message
Be (be.ing) wrote :

We should fix that. Will that make the file be installed by the Ubuntu package?

RJ Skerry-Ryan (rryan)
Changed in mixxx:
assignee: nobody → RJ Ryan (rryan)
status: Confirmed → In Progress
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Can somebody try this:
http://downloads.mixxx.org/builds/2.0/release/mixxx-2.0.0-rc1-1.12-git5713-release-trusty-i386.deb

It looks good from dpkg -c:

drwxr-xr-x root/root 0 2015-12-16 14:35 ./lib/
drwxr-xr-x root/root 0 2015-12-16 14:35 ./lib/udev/
drwxr-xr-x root/root 0 2015-12-16 14:35 ./lib/udev/rules.d/
-rw-r--r-- root/root 825 2015-12-16 14:35 ./lib/udev/rules.d/40-mixxx-usb.rules

Changed in mixxx:
status: In Progress → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8306

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.