Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141748

Summary: udev 096 has rules files contaminated with carriage returns
Product: Gentoo Linux Reporter: Steve Arnold <nerdboy>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steve Arnold archtester gentoo-dev 2006-07-25 19:40:39 UTC
Somehow two of the default rules files got DOS-textified, ie, they have line-endings terminated with CR/LFs:

10-lirc.rules
70-nut-usbups.rules

This pretty much dorks up linux text processing in general...

I'm also getting the following repeated errors on the lirc rule, even after fixing the CR problem:

Jul 25 19:28:27 lorentz udevd[1019]: add_to_rules: invalid KERNEL operation
Jul 25 19:28:27 lorentz udevd[1019]: add_to_rules: invalid rule '/etc/udev/rules.d/10-lirc.rules:1'

This file only has one rule in it, which appears to need updating, as adding the double-equals to the KERNEL parameter fixes it.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-26 02:31:34 UTC
/etc/udev/rules.d/10-lirc.rules belongs to app-misc/lirc and was already fixed, no idea what installs 70-nut-usbups.rules but it's not udev.