Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:lafenghu
s390-tools
s390-tools-sles11sp2-zfcpdbf-fix-disply-message...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File s390-tools-sles11sp2-zfcpdbf-fix-disply-messages-problem.patch of Package s390-tools
Description: zfcpdbf: Include and exclude messages display problem. Symptom: zfcpdbf doesn't work for -i & -x options for KERNEL and MULTIPATH. Problem: zfcpdbf displaying for --exclude command line option with area KERNEL & MULTIPATH messages, and does not displaying --include command line option with area KERNEL & MULTIPATH messages. Solution: zfcpdbf /var/log/messages reading function call has modified with regex to work as per documentation. Problem-ID: 75930 --- scripts/zfcpdbf | 2 ++ 1 file changed, 2 insertions(+) --- a/scripts/zfcpdbf +++ b/scripts/zfcpdbf @@ -249,6 +249,8 @@ sub get_log_messages next if ($line !~ /kernel|multipath/); my ($ts, @rec) = sep_msg_ts($line); next if (!$ts || $rec[0] !~ /kernel|multipath/); + chop($rec[0]) if ($rec[0] eq 'multipathd:'); + chop($rec[0]); splice(@rec, 0, 1, uc $rec[0]); splice(@rec, 1, $#rec, join(' ', @rec[1 .. $#rec]));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor