Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40245 - Parsing /etc/hotplug/usb.usermap should ignore empty line
Summary: Parsing /etc/hotplug/usb.usermap should ignore empty line
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-02 20:51 UTC by Tommy Yu
Modified: 2004-03-20 11:21 UTC (History)
1 user (show)

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 Tommy Yu 2004-02-02 20:51:57 UTC
Took me a while to figure out why the contents of various scripts spilled out during bootup. I traced it to hotplug puking when trying to parse an empty line in usb.usermap (by pressing scroll lock to pause the output). IMHO, it should be cleaner than that.

Reproducible: Always
Steps to Reproduce:
1. put an empty line in /etc/hotplug/usb.usermap
2. # /etc/init.d/hotplug [re]start (or restart machine)
3. 

Actual Results:  
Ouput contents of various scripts onto stdout.

Expected Results:  
Hotplug should ignore empty lines in usb.usermap cleanly.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-20 11:21:29 UTC
Don't put empty lines in there :)

Anyway this should be fixed in the latest release.