Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141748 - udev 096 has rules files contaminated with carriage returns
Summary: udev 096 has rules files contaminated with carriage returns
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 19:40 UTC by Steve Arnold
Modified: 2006-07-26 02:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.