Bug 1157892 - libffado udev rules file contains invalid syntax
Summary: libffado udev rules file contains invalid syntax
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: libffado
Version: epel7
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 01:19 UTC by Trevor Hemsley
Modified: 2014-12-11 06:33 UTC (History)
3 users (show)

Fixed In Version: libffado-2.1.0-4.el7
Clone Of:
Environment:
Last Closed: 2014-12-11 06:33:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 999580 0 unspecified CLOSED end of line comments in 60-ffado.rules are invalid 2021-02-22 00:41:40 UTC

Internal Links: 999580

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.


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