Bug 1157892

Summary: libffado udev rules file contains invalid syntax
Product: [Fedora] Fedora EPEL Reporter: Trevor Hemsley <trevor>
Component: libffadoAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: epel7CC: brendan.jones.it, contribs, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libffado-2.1.0-4.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 06:33:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Trevor Hemsley 2014-10-28 01:19:03 UTC
Description of problem:
Using libffado-2.1.0-2.el7.x86_64 it installs a /usr/lib/udev/rules.d/60-ffado.rules that contains syntax errors that cause errors to be logged. 

Oct 27 23:12:34 xps13 systemd-udevd: invalid key/value pair in file /usr/lib/udev/rules.d/60-ffado.rules on line 3,starting at character 60 (' ')

Line 3 is
ATTR{vendor}=="0x000166", GROUP="audio", ENV{ID_FFADO}="1" # TC GROUP A/S


Version-Release number of selected component (if applicable):
libffado-2.1.0-2.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install libffado-2.1.0-2.el7.x86_64
2. Wait for something to parse the udev rules
3. Look in /var/log/messages

Actual results:
Errors are logged

Expected results:
No errors

Additional info:
Having read the udev rules syntax it would appear to me that it only supports comments if they are on separate lines and the line starts with a #. There is no mention of being able to add comments on the ends of lines by using a comment character after the rule itself.

All lines in the udev rules file are affected by this, not just line 3. The only lines that didn't produce a syntax error were those on lines 23-25 which were valid comment lines starting in column 1.

Comment 1 Nils Philippsen 2014-10-28 09:41:26 UTC
This is fixed upstream and in libffado-2.1.0-4 in Fedora, see bug #999580.

Comment 2 Fedora Update System 2014-10-28 10:14:50 UTC
libffado-2.1.0-4.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/libffado-2.1.0-4.el7

Comment 3 Fedora Update System 2014-10-31 01:22:56 UTC
Package libffado-2.1.0-4.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing libffado-2.1.0-4.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3683/libffado-2.1.0-4.el7
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-12-11 06:33:11 UTC
libffado-2.1.0-4.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.