Red Hat Bugzilla – Bug 589860
lsscsi can return (null) instead of module name
Last modified: 2010-11-15 09:30:43 EST
Created attachment 412245 [details]
understand both "NULLs"
commit 0f4f81dce93774a447da3ceb98cce193ef84a3fa (reported as bug #589613 for RHEL6, already present in Fedora kernels) in kernel changes the string representation of NULL from <NULL> to (null) to be consistent with glibc. This change breaks the handling of the "proc_name" attribute in one_host_handling() and lsscsi is then unable to return module name for a driver. The attached patch changes lsscsi that it understands both "NULLs". Patch is accepted by upstream and will appear in upcoming release.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.