Bug 200244

Summary: udev reports 'parse_file: line too long '.../60-libsane.rules : 772'
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: alan, gc1111, gerry, horsley1953, kay.sievers, maxx, michal, nphilipp, olen.e.boydstun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-10 12:14:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150224    

Description Tom London 2006-07-26 14:30:05 UTC
Description of problem:
On boot, udev reports line 772 of 60-libsane.rules is too long.
Appears to be a comment......

Version-Release number of selected component (if applicable):
sane-backends-1.0.18-1.fc6


How reproducible:
Every time


Steps to Reproduce:
1. boot
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Nils Philippsen 2006-07-28 09:26:10 UTC
Harald,

could udev maybe just ignore too long _comment_ lines like the one it complains
about in this case -- it's a large number of scanner models covered by one
vendor/product code? While I could just take the rules and cut off lines that
are too long (how long may they be anyway), I think in this case allowing such
long comments (udev won't be doing anything with them, will it?) would be
beneficial.

Comment 2 Kay Sievers 2006-08-02 14:37:42 UTC
Udev rule lines can be 512 chars long. Sounds like a _very_ long comment. :)

Comment 3 Nils Philippsen 2006-08-03 12:22:41 UTC
It is ;-). Still, it should be easy to read the line into that buffer, check the
buffer if it's a comment and only complain if it isn't.

Comment 4 drago01 2006-08-04 14:52:30 UTC
can the comment be splitted in multiple lines?

Comment 5 Harald Hoyer 2006-08-07 12:48:00 UTC
*** Bug 200324 has been marked as a duplicate of this bug. ***

Comment 6 Jeff Needle 2006-08-09 13:04:11 UTC
*** Bug 201845 has been marked as a duplicate of this bug. ***

Comment 7 Radek Bíba 2006-08-10 08:23:19 UTC
*** Bug 201985 has been marked as a duplicate of this bug. ***

Comment 8 Alan Cox 2006-08-10 11:45:38 UTC
Still present in FC6 t2


Comment 9 Nils Philippsen 2006-08-11 07:56:18 UTC
*** Bug 202148 has been marked as a duplicate of this bug. ***

Comment 10 Harald Hoyer 2006-08-11 12:52:04 UTC
*** Bug 202175 has been marked as a duplicate of this bug. ***

Comment 11 Harald Hoyer 2006-08-17 12:15:18 UTC
*** Bug 202937 has been marked as a duplicate of this bug. ***