Description of problem: The scsi_id program (used by udev frequently) spits out error messages when it parses tab characters in the /etc/scsi_id.config file, that appear to be in legal locations. The correct output still appears on stdout, so programs like udev are able to still use it. It just means that spurious error messages appear at boot time, which confuses some folks. Version-Release number of selected component (if applicable): # rpm -q udev udev-039-10.15.EL4 How reproducible: Will attach a sample /etc/scsi_id.config file. # scsi_id -s /block/sda -g : invalid option -- Unknown or bad option '?' (0x3f) 3600508b400104bdf00012000001f0000 # perl -pi -e 's/\t/ /g' /etc/scsi_id.config # scsi_id -s /block/sda 3600508b400104bdf00012000001f0000 Actual results: Expected results: Additional info:
Created attachment 148460 [details] config file that causes scsi_id to exhibit the problem
This seems to fix it: scsi_id.c::get_file_options(): - (*newargv)[c] = strsep(&buffer, " "); + (*newargv)[c] = strsep(&buffer, " \t"); I've applied this to the upstream version. Thanks!
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Please test: http://people.redhat.com/harald/downloads/udev/udev-039-10.18.el4
Ping. QE Here. 229432: Not Yet PartnerVerified. I've manually Verified that strsep patch included in new pkgs. Any updates? Please let me know ASAP.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0784.html