Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sca-patterns-sle12 for 
openSUSE:Factory checked in at 2021-05-20 19:24:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sca-patterns-sle12 (Old)
 and      /work/SRC/openSUSE:Factory/.sca-patterns-sle12.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sca-patterns-sle12"

Thu May 20 19:24:58 2021 rev:16 rq:894409 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/sca-patterns-sle12/sca-patterns-sle12.changes    
2021-05-05 20:41:06.834624284 +0200
+++ 
/work/SRC/openSUSE:Factory/.sca-patterns-sle12.new.2988/sca-patterns-sle12.changes
  2021-05-20 19:25:20.845871848 +0200
@@ -1,0 +2,27 @@
+Wed May 19 15:51:17 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Updated regular patterns (1)
+  + sle12all/lvm-00003.pl: Physical volumes can be removed or damaged and 
appear missing. This pattern looks for missing physical volumes.
+- Deleted regular patterns (2)
+  + sle12all/pdc-00001.pl: Pattern removed OES Dependent
+  + sle12all/pdc-00002.pl: Pattern removed OES Dependent
+
+-------------------------------------------------------------------
+Tue May 18 21:40:11 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Changes in version 1.0.3
+  - New regular patterns (5)
+    + sle12sp4/nfsperf-124-000019615.py: Performance loss when writing large 
files over NFS (bsc#1163403)
+    + sle12sp4/tailf-000019885.py: Aborting tailf causes bash session to be 
corrupted (bsc#1177369)
+    + sle12sp5/nfsipv6_125-000019618.py: Timeout when attempting NFS mount 
over IPv6 (bsc#1144162)
+    + sle12sp5/nfsperf-125-000019615.py: Performance loss when writing large 
files over NFS (bsc#1163403)
+    + sle12sp5/tailf-000019885.py: Aborting tailf causes bash session to be 
corrupted (bsc#1177369)
+  - Updated regular patterns (3)
+    + sle12all/lvm-00003.pl: Physical volumes can be removed or damaged and 
appear missing. This pattern looks for missing physical volumes.
+    + sle12all/lvm-00004.pl: LMV Check sum errors may indicate corrupted LVM 
metadata
+    + sle12all/lvm-00005.pl: Duplicate volume groups are usually a 
configuration issue
+  - Deleted regular patterns (2)
+    + sle12all/lvm-00001.pl: Pattern removed
+    + sle12all/lvm-00002.pl: Pattern removed
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sca-patterns-sle12.spec ++++++
--- /var/tmp/diff_new_pack.tM80Zp/_old  2021-05-20 19:25:21.885867582 +0200
+++ /var/tmp/diff_new_pack.tM80Zp/_new  2021-05-20 19:25:21.889867567 +0200
@@ -33,7 +33,7 @@
 URL:            https://github.com/g23guy/sca-patterns-sle12
 Source:         %{name}-%{version}.tar.gz
 BuildRequires:  fdupes
-Requires:       sca-patterns-base
+Requires:       sca-patterns-base >= 1.3.2
 BuildArch:      noarch
 
 %description

++++++ sca-patterns-sle12-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00001.pl 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00001.pl
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00001.pl     
2021-03-01 22:55:34.425828674 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00001.pl     
1970-01-01 01:00:00.000000000 +0100
@@ -1,171 +0,0 @@
-#!/usr/bin/perl
-
-# Title:       LVM Basic Service Pattern
-# Description: Checks to see if the service is installed, valid and running
-# Modified:    2013 Jun 27
-
-##############################################################################
-#  Copyright (C) 2013,2012 SUSE LLC
-##############################################################################
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; version 2 of the License.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, see <http://www.gnu.org/licenses/>.
-#
-#  Authors/Contributors:
-#     Jason Record (jrec...@suse.com)
-#
-##############################################################################
-
-##############################################################################
-# Module Definition
-##############################################################################
-
-use strict;
-use warnings;
-use SDP::Core;
-use SDP::SUSE;
-
-##############################################################################
-# Overriden (eventually or in part) from SDP::Core Module
-##############################################################################
-
-@PATTERN_RESULTS = (
-       PROPERTY_NAME_CLASS."=Basic Health",
-       PROPERTY_NAME_CATEGORY."=SLE",
-       PROPERTY_NAME_COMPONENT."=LVM",
-       PROPERTY_NAME_PATTERN_ID."=$PATTERN_ID",
-       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_TID",
-       PROPERTY_NAME_OVERALL."=$GSTATUS",
-       PROPERTY_NAME_OVERALL_INFO."=None",
-       "META_LINK_TID=http://www.suse.com/support/kb/doc.php?id=7002759";
-);
-
-my $CHECK_PACKAGE = "lvm2";
-my @SRVBOOT_ON = qw(boot.device-mapper boot.lvm);
-my @SRVBOOT_OFF = qw(boot.evms);
-my $FILE_SERVICE = "lvm.txt";
-
-##############################################################################
-# Local Function Definitions
-##############################################################################
-
-sub devicesWithLVM {
-       SDP::Core::printDebug('> devicesWithLVM', 'BEGIN');
-       my $RCODE = 1; # Assume devices with LVM metadata are present
-       my $FILE_OPEN = 'lvm.txt';
-       my $SECTION = 'pvscan';
-       my @CONTENT = ();
-       my $LINE = 0;
-
-       if ( SDP::Core::getSection($FILE_OPEN, $SECTION, \@CONTENT) ) {
-               foreach $_ (@CONTENT) {
-                       $LINE++;
-                       next if ( /^\s*$/ ); # Skip blank lines
-                       if ( /No matching physical volumes found/i ) {
-                               SDP::Core::printDebug("LINE $LINE", $_);
-                               $RCODE = 0;
-                               last;
-                       }
-               }
-       } else {
-               SDP::Core::updateStatus(STATUS_ERROR, "Cannot find \"$SECTION\" 
section in $FILE_OPEN");
-       }
-       SDP::Core::printDebug("< devicesWithLVM", "Returns: $RCODE");
-       return $RCODE;
-}
-
-sub evmsActive {
-       SDP::Core::printDebug('> evmsActive', 'BEGIN');
-       my $RCODE = 0;
-       my $FILE_OPEN = 'evms.txt';
-       my @FILE_SECTIONS = ();
-       my $CHECK = '';
-
-       SDP::Core::listSections($FILE_OPEN, \@FILE_SECTIONS);
-       foreach $_ (@FILE_SECTIONS) {
-               if ( /\/bin\/ls.*\/dev\/evms/ ) {
-                       $RCODE++;;
-                       last;
-               }
-       }
-
-       SDP::Core::printDebug("< evmsActive", "Returns: $RCODE");
-       return $RCODE;
-}
-##############################################################################
-# Program execution functions
-##############################################################################
-
-SDP::Core::processOptions();
-       my $i;
-       my $BOOTS_ON = -1;
-       my $BOOTS_OFF = -1;
-       my $VALIDATION_ALLOWED = 1;
-       
-       SDP::SUSE::updateStatus(STATUS_ERROR, "ERROR: EVMS active, ignoring LVM 
test") if evmsActive();
-
-       if ( SDP::SUSE::packageInstalled($CHECK_PACKAGE) ) {
-               my $LVM_DEVICES = devicesWithLVM();
-               my $BOOT_LVM = serviceBootstate('boot.lvm');
-               foreach $i (@SRVBOOT_ON) {
-                       if ( SDP::SUSE::serviceBootstate($i) ) {
-                               SDP::Core::updateStatus(STATUS_PARTIAL, "ON  - 
$i");
-                               $BOOTS_ON++;
-                       } else {
-                               SDP::Core::updateStatus(STATUS_PARTIAL, "OFF - 
$i");
-                       }
-               }
-               foreach $i (@SRVBOOT_OFF) {
-                       if ( SDP::SUSE::serviceBootstate($i) ) {
-                               SDP::Core::updateStatus(STATUS_PARTIAL, "ON  - 
$i");
-                       } else {
-                               SDP::Core::updateStatus(STATUS_PARTIAL, "OFF - 
$i");
-                               $BOOTS_OFF++;
-                       }
-               }
-               if ( $BOOTS_ON < 0 ) {
-                       SDP::Core::updateStatus(STATUS_ERROR, "Basic Service 
Health; Not in use: @SRVBOOT_ON");
-                       $VALIDATION_ALLOWED = 0;
-               } elsif ( ! $BOOT_LVM && ! $LVM_DEVICES ) {
-                       SDP::Core::updateStatus(STATUS_ERROR, "Basic Service 
Health; Not in use: $CHECK_PACKAGE");
-                       $VALIDATION_ALLOWED = 0;
-               } elsif ( $#SRVBOOT_ON == $BOOTS_ON && $#SRVBOOT_OFF == 
$BOOTS_OFF ) {
-                       SDP::Core::updateStatus(STATUS_ERROR, "Basic Service 
Health; All Services Activated at Boot: @SRVBOOT_ON");
-               } elsif ( $#SRVBOOT_ON == $BOOTS_ON && $#SRVBOOT_OFF != 
$BOOTS_OFF ) {
-                       SDP::Core::updateStatus(STATUS_CRITICAL, "Basic Service 
Health; Conflicting Services Activated at Boot: @SRVBOOT_OFF");
-               } elsif ( ! $BOOT_LVM && $LVM_DEVICES ) {
-                       SDP::Core::updateStatus(STATUS_WARNING, "Basic Service 
Health; boot.lvm is off at boot, but LVM devices are present");
-               }
-
-               if ( $VALIDATION_ALLOWED ) {
-                       my $SRV_RPMV = SDP::SUSE::packageVerify($FILE_SERVICE, 
$CHECK_PACKAGE);
-                       if ( $SRV_RPMV == 0 ) { # No differences found
-                               SDP::Core::updateStatus(STATUS_ERROR, "Basic 
Service Health; Passed RPM Validation: $CHECK_PACKAGE");
-                       } elsif ( $SRV_RPMV == 1 ) { # minor changes
-                               SDP::Core::updateStatus(STATUS_ERROR, "Basic 
Service Health; Minor Modifications in RPM Validation: $CHECK_PACKAGE");
-                       } elsif ( $SRV_RPMV == 2 ) { # consider changes
-                               SDP::Core::updateStatus(STATUS_WARNING, "Basic 
Service Health; Review Changes in RPM Validation: $CHECK_PACKAGE");
-                       } elsif ( $SRV_RPMV == 3 ) { # A bin or lib failed
-                               SDP::Core::updateStatus(STATUS_CRITICAL, "Basic 
Service Health; Binary/Library Failed RPM Validation: $CHECK_PACKAGE");
-                       } else {
-                               SDP::Core::updateStatus(STATUS_WARNING, "Basic 
Service Health; Review Changes in RPM Validation: $CHECK_PACKAGE");
-                       }
-               } else {
-                       SDP::Core::printDebug("VALIDATION", "Skipped");
-               }
-       } else {
-               SDP::Core::updateStatus(STATUS_ERROR, "Basic Service Health; 
Package Not Installed: $CHECK_PACKAGE");
-       }
-SDP::Core::printPatternResults();
-
-exit;
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00002.pl 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00002.pl
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00002.pl     
2021-03-01 22:55:34.425828674 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00002.pl     
1970-01-01 01:00:00.000000000 +0100
@@ -1,73 +0,0 @@
-#!/usr/bin/perl
-
-# Title:       Checks for overlapping LVM packages installed
-# Description: Only LVM version 1 or LVM version 2 should be installed. 
-# Modified:    2013 Jun 27
-
-##############################################################################
-#  Copyright (C) 2013,2012 SUSE LLC
-##############################################################################
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; version 2 of the License.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, see <http://www.gnu.org/licenses/>.
-#
-#  Authors/Contributors:
-#     Jason Record (jrec...@suse.com)
-#
-##############################################################################
-
-##############################################################################
-# Module Definition
-##############################################################################
-
-use strict;
-use warnings;
-use SDP::Core;
-use SDP::SUSE;
-
-##############################################################################
-# Overriden (eventually or in part) from SDP::Core Module
-##############################################################################
-
-@PATTERN_RESULTS = (
-       PROPERTY_NAME_CLASS."=SLE",
-       PROPERTY_NAME_CATEGORY."=Disk",
-       PROPERTY_NAME_COMPONENT."=LVM",
-       PROPERTY_NAME_PATTERN_ID."=$PATTERN_ID",
-       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_TID",
-       PROPERTY_NAME_OVERALL."=$GSTATUS",
-       PROPERTY_NAME_OVERALL_INFO."=None",
-       "META_LINK_TID=http://www.suse.com/support/kb/doc.php?id=7002759";
-);
-
-##############################################################################
-# Program execution functions
-##############################################################################
-
-SDP::Core::processOptions();
-
-       my @LVM1  = SDP::SUSE::getRpmInfo('lvm');
-       my @LVM2  = SDP::SUSE::getRpmInfo('lvm2');
-
-       if ( $#LVM1 >= 0 && $#LVM2 >= 0 ) {
-               SDP::Core::updateStatus(STATUS_CRITICAL, "Both LVM1 and LVM2 
are installed");
-       } elsif ( $#LVM1 >= 0 ) {
-               SDP::Core::updateStatus(STATUS_WARNING, "LVM1 is installed, 
update to LVM2");
-       } elsif ( $#LVM2 >= 0 ) {
-               SDP::Core::updateStatus(STATUS_ERROR, "LVM2 is installed");
-       } else {
-               SDP::Core::updateStatus(STATUS_ERROR, "No LVM packages 
installed");
-       }
-SDP::Core::printPatternResults();
-
-exit;
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00003.pl 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00003.pl
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00003.pl     
2021-03-01 22:55:34.425828674 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00003.pl     
2021-05-19 17:46:23.507894325 +0200
@@ -2,10 +2,10 @@
 
 # Title:       Check for missing LVM UUIDs
 # Description: Physical volumes can be removed or damaged and appear missing. 
This pattern looks for missing physical volumes.
-# Modified:    2013 Nov 04
+# Modified:    2021 May 17
 
 ##############################################################################
-#  Copyright (C) 2013,2012 SUSE LLC
+#  Copyright (C) 2013,2012-2021 SUSE LLC
 ##############################################################################
 #
 #  This program is free software; you can redistribute it and/or modify
@@ -21,7 +21,7 @@
 #  along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
 #  Authors/Contributors:
-#     Jason Record (jrec...@suse.com)
+#     Jason Record <jason.rec...@suse.com>
 #
 ##############################################################################
 
@@ -46,8 +46,8 @@
        PROPERTY_NAME_PRIMARY_LINK."=META_LINK_TID",
        PROPERTY_NAME_OVERALL."=$GSTATUS",
        PROPERTY_NAME_OVERALL_INFO."=None",
-       "META_LINK_TID=http://www.suse.com/support/kb/doc.php?id=3803380";,
-       
"META_LINK_CoolSolution=http://www.novell.com/coolsolutions/appnote/19386.html#DiskBelongingtoaVolumeGroupRemoved";
+       "META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000016470";,
+       
"META_LINK_SUSEBlog=https://www.suse.com/c/recovering-lost-lvm-volume-disk/";
 );
 
 ##############################################################################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00004.pl 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00004.pl
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00004.pl     
2021-03-01 22:55:34.425828674 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00004.pl     
2021-05-18 18:22:41.531707729 +0200
@@ -2,10 +2,10 @@
 
 # Title:       Check for LVM Metadata Check Sum Errors
 # Description: LMV Check sum errors may indicate corrupted LVM metadata
-# Modified:    2013 Jun 27
+# Modified:    2021 May 18
 
 ##############################################################################
-#  Copyright (C) 2013 SUSE LLC
+#  Copyright (C) 2013-2021 SUSE LLC
 ##############################################################################
 #
 #  This program is free software; you can redistribute it and/or modify
@@ -22,7 +22,7 @@
 #
 
 #  Authors/Contributors:
-#   Jason Record (jrec...@suse.com)
+#   Jason Record <jason.rec...@suse.com>
 
 ##############################################################################
 
@@ -43,10 +43,10 @@
        PROPERTY_NAME_CATEGORY."=Disk",
        PROPERTY_NAME_COMPONENT."=LVM",
        PROPERTY_NAME_PATTERN_ID."=$PATTERN_ID",
-       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_CoolSolution",
+       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_Blog",
        PROPERTY_NAME_OVERALL."=$GSTATUS",
        PROPERTY_NAME_OVERALL_INFO."=None",
-       
"META_LINK_CoolSolution=http://www.novell.com/communities/node/1502/recovering+lost+lvm+volume+disk#CorruptedLVMMetaData";
+       "META_LINK_Blog=https://www.suse.com/c/recovering-lost-lvm-volume-disk/";
 );
 
 ##############################################################################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00005.pl 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00005.pl
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00005.pl     
2021-03-01 22:55:34.425828674 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/lvm-00005.pl     
2021-05-18 18:24:35.280839933 +0200
@@ -2,10 +2,10 @@
 
 # Title:       Check for Duplicate LVM Volume Groups
 # Description: Duplicate volume groups are usually a configuration issue
-# Modified:    2013 Jun 27
+# Modified:    2021 May 18
 
 ##############################################################################
-#  Copyright (C) 2013,2012 SUSE LLC
+#  Copyright (C) 2012-2021 SUSE LLC
 ##############################################################################
 #
 #  This program is free software; you can redistribute it and/or modify
@@ -22,7 +22,7 @@
 #
 
 #  Authors/Contributors:
-#   Jason Record (jrec...@suse.com)
+#   Jason Record <jason.rec...@suse.com>
 
 ##############################################################################
 
@@ -46,7 +46,7 @@
        PROPERTY_NAME_PRIMARY_LINK."=META_LINK_TID",
        PROPERTY_NAME_OVERALL."=$GSTATUS",
        PROPERTY_NAME_OVERALL_INFO."=None",
-       "META_LINK_TID=http://www.suse.com/support/kb/doc.php?id=7003547";
+       "META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000017046";
 );
 
 ##############################################################################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00001.pl 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00001.pl
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00001.pl     
2021-03-01 22:55:34.429828571 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00001.pl     
1970-01-01 01:00:00.000000000 +0100
@@ -1,122 +0,0 @@
-#!/usr/bin/perl
-
-# Title:       Samba PDC on OES is unsupported
-# Description: Domain Services for Windows is the recommended replacement for 
PDCs on OES.
-# Modified:    2013 Nov 22
-
-##############################################################################
-#  Copyright (C) 2013 SUSE LLC
-##############################################################################
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; version 2 of the License.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, see <http://www.gnu.org/licenses/>.
-
-#  Authors/Contributors:
-#   Jason Record (jrec...@suse.com)
-
-##############################################################################
-
-##############################################################################
-# Module Definition
-##############################################################################
-
-use strict;
-use warnings;
-use SDP::Core;
-use SDP::SUSE;
-use SDP::OESLinux;
-
-##############################################################################
-# Overriden (eventually or in part) from SDP::Core Module
-##############################################################################
-
-@PATTERN_RESULTS = (
-       PROPERTY_NAME_CLASS."=SLE",
-       PROPERTY_NAME_CATEGORY."=Samba",
-       PROPERTY_NAME_COMPONENT."=PDC",
-       PROPERTY_NAME_PATTERN_ID."=$PATTERN_ID",
-       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_MISC",
-       PROPERTY_NAME_OVERALL."=$GSTATUS",
-       PROPERTY_NAME_OVERALL_INFO."=None",
-       
"META_LINK_MISC=http://www.novell.com/documentation/oes2/file_samba_cifs_lx/?page=/documentation/oes2/file_samba_cifs_lx/data/b48nab9.html";
-);
-
-##############################################################################
-# Local Function Definitions
-##############################################################################
-
-sub oesInstalled {
-       SDP::Core::printDebug('> oesInstalled', 'BEGIN');
-       my $RCODE = 0;
-       my %HOST_INFO = SDP::SUSE::getHostInfo();
-       $RCODE++ if ( $HOST_INFO{'oes'} );
-       SDP::Core::printDebug("< oesInstalled", "Returns: $RCODE");
-       return $RCODE;
-}
-
-sub isPDC {
-       SDP::Core::printDebug('> isPDC', 'BEGIN');
-       my $RCODE = 0;
-       my $FILE_OPEN = 'samba.txt';
-       my $SECTION = 'smb.conf';
-       my @CONTENT = ();
-       my $GLOBAL = 0;
-       my $PDC = 0;
-
-       if ( SDP::Core::getSection($FILE_OPEN, $SECTION, \@CONTENT) ) {
-               foreach $_ (@CONTENT) {
-                       next if ( /^\s*$/ ); # Skip blank lines
-                       if ( $GLOBAL ) {
-                               if ( /domain master.*yes|preferred 
master.*yes|local master.*yes/i ) {
-                                       SDP::Core::printDebug("PROCESSING", $_);
-                                       $PDC++;
-                                       $GLOBAL = 0;
-                                       last;
-                               }
-                       } elsif ( /[global]/i ) {
-                               SDP::Core::printDebug("PROCESSING", $_);
-                               $GLOBAL = 1;
-                       }
-               }
-       } else {
-               SDP::Core::updateStatus(STATUS_ERROR, "ERROR: isPDC(): Cannot 
find \"$SECTION\" section in $FILE_OPEN");
-       }
-
-       my $SMB_DOWN = SDP::SUSE::serviceStatus($FILE_OPEN, 'smb');
-
-       $RCODE++ if ( ! $SMB_DOWN && $PDC );
-       SDP::Core::printDebug("< isPDC", "Returns: $RCODE");
-       return $RCODE;
-}
-
-##############################################################################
-# Main Program Execution
-##############################################################################
-
-SDP::Core::processOptions();
-       if ( oesInstalled() ) {
-               if ( isPDC() ) {
-                       if ( SDP::OESLinux::dsfwCapable() ) {
-                               SDP::Core::updateStatus(STATUS_WARNING, "DSfW 
and Samba PDC configured, remove PDC configuration from smb.conf");
-                       } else {
-                               SDP::Core::updateStatus(STATUS_CRITICAL, "Samba 
PDCs are not supported on OES, use DSfW");
-                       }
-               } else {
-                       SDP::Core::updateStatus(STATUS_ERROR, "Samba PDC not 
observed on OES");
-               }
-       } else {
-               SDP::Core::updateStatus(STATUS_ERROR, "Skipping Samba PDC 
Check, OES not installed");
-       }
-SDP::Core::printPatternResults();
-
-exit;
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00002.pl 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00002.pl
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00002.pl     
2021-03-01 22:55:34.429828571 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12all/pdc-00002.pl     
1970-01-01 01:00:00.000000000 +0100
@@ -1,122 +0,0 @@
-#!/usr/bin/perl
-
-# Title:       DSfW recommended in OES environments for Samba PDC
-# Description: Domain Services for Windows is recommended in OES environments.
-# Modified:    2013 Jun 24
-
-##############################################################################
-#  Copyright (C) 2013 SUSE LLC
-##############################################################################
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; version 2 of the License.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, see <http://www.gnu.org/licenses/>.
-
-#  Authors/Contributors:
-#   Jason Record (jrec...@suse.com)
-
-##############################################################################
-
-##############################################################################
-# Module Definition
-##############################################################################
-
-use strict;
-use warnings;
-use SDP::Core;
-use SDP::SUSE;
-use SDP::OESLinux;
-
-##############################################################################
-# Overriden (eventually or in part) from SDP::Core Module
-##############################################################################
-
-@PATTERN_RESULTS = (
-       PROPERTY_NAME_CLASS."=SLE",
-       PROPERTY_NAME_CATEGORY."=Samba",
-       PROPERTY_NAME_COMPONENT."=PDC",
-       PROPERTY_NAME_PATTERN_ID."=$PATTERN_ID",
-       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_TID",
-       PROPERTY_NAME_OVERALL."=$GSTATUS",
-       PROPERTY_NAME_OVERALL_INFO."=None",
-       
"META_LINK_MISC=http://www.novell.com/documentation/oes2/acc_dsfw_lx/?page=/documentation/oes2/acc_dsfw_lx/data/bookinfo.html#bookinfo";
-);
-
-##############################################################################
-# Local Function Definitions
-##############################################################################
-
-sub oesInstalled {
-       SDP::Core::printDebug('> oesInstalled', 'BEGIN');
-       my $RCODE = 0;
-       my %HOST_INFO = SDP::SUSE::getHostInfo();
-       $RCODE++ if ( $HOST_INFO{'oes'} );
-       SDP::Core::printDebug("< oesInstalled", "Returns: $RCODE");
-       return $RCODE;
-}
-
-sub isPDC {
-       SDP::Core::printDebug('> isPDC', 'BEGIN');
-       my $RCODE = 0;
-       my $FILE_OPEN = 'samba.txt';
-       my $SECTION = 'smb.conf';
-       my @CONTENT = ();
-       my $GLOBAL = 0;
-       my $PDC = 0;
-
-       if ( SDP::Core::getSection($FILE_OPEN, $SECTION, \@CONTENT) ) {
-               foreach $_ (@CONTENT) {
-                       next if ( /^\s*$/ ); # Skip blank lines
-                       if ( $GLOBAL ) {
-                               if ( /domain master.*yes|preferred 
master.*yes|local master.*yes/i ) {
-                                       SDP::Core::printDebug("PROCESSING", $_);
-                                       $PDC++;
-                                       $GLOBAL = 0;
-                                       last;
-                               }
-                       } elsif ( /[global]/i ) {
-                               SDP::Core::printDebug("PROCESSING", $_);
-                               $GLOBAL = 1;
-                       }
-               }
-       } else {
-               SDP::Core::updateStatus(STATUS_ERROR, "ERROR: isPDC(): Cannot 
find \"$SECTION\" section in $FILE_OPEN");
-       }
-
-       my $SMB_DOWN = SDP::SUSE::serviceStatus($FILE_OPEN, 'smb');
-
-       $RCODE++ if ( ! $SMB_DOWN && $PDC );
-       SDP::Core::printDebug("< isPDC", "Returns: $RCODE");
-       return $RCODE;
-}
-
-##############################################################################
-# Main Program Execution
-##############################################################################
-
-SDP::Core::processOptions();
-       if ( SDP::OESLinux::dsfwCapable() ) {
-               SDP::Core::updateStatus(STATUS_ERROR, "ERROR: DSfW capable, 
abort PDC test for DSfW recommendation");
-       } else {
-               if ( oesInstalled() ) {
-                       if ( isPDC() ) {
-                               SDP::Core::updateStatus(STATUS_RECOMMEND, 
"Consider Domain Services for Windows on OES instead of a Samba PDC");
-                       } else {
-                               SDP::Core::updateStatus(STATUS_ERROR, "Samba 
PDC not observed on OES for DSfW Recommendation");
-                       }
-               } else {
-                       SDP::Core::updateStatus(STATUS_ERROR, "Skipping Samba 
PDC Check, OES not installed");
-               }
-       }
-SDP::Core::printPatternResults();
-
-exit;
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/nfsperf-124-000019615.py 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/nfsperf-124-000019615.py
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/nfsperf-124-000019615.py 
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/nfsperf-124-000019615.py 
2021-05-10 18:05:41.374255295 +0200
@@ -0,0 +1,69 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000019615
+# Description: Performance loss when writing large files over NFS
+# Source:      Kernel Package Version Pattern Template v0.1.2
+# Options:     
SLE,NFS,Performance,nfsperf-125,000019615,1163403,4.12.14-122.20,0,1
+# Distro:      SLES12 SP4
+# Modified:    2021 May 10
+#
+##############################################################################
+# Copyright (C) 2021, SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import re
+import os
+import Core
+import SUSE
+
+META_CLASS = "SLE"
+META_CATEGORY = "NFS"
+META_COMPONENT = "Performance"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = 
"META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000019615|META_LINK_BUG=https://bugzilla.suse.com/show_bug.cgi?id=1163403";
+
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+KERNEL_VERSION_FIXED = '4.12.14-95.51'
+NFSMOUNTS = False
+
+INSTALLED_VERSION = SUSE.compareKernel(KERNEL_VERSION_FIXED)
+if( INSTALLED_VERSION >= 0 ):
+       Core.updateStatus(Core.IGNORE, "Bug fixes applied in kernel version " + 
KERNEL_VERSION_FIXED + " or higher")
+else:
+       FSLIST = SUSE.getFileSystems()
+       for FS in FSLIST:
+               if( FS['Type'].lower() == 'nfs' or FS['Type'].lower() == 'nfs4' 
):
+                       if( FS['Mounted'] ):
+                               NFSMOUNTS = True
+       if( NFSMOUNTS ):
+               Core.updateStatus(Core.WARN, "Writing large files to NFS mounts 
may be susceptible to performance degradation")
+       else:
+               Core.updateStatus(Core.ERROR, "ERROR: NFS mounts not found")
+
+Core.printPatternResults()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/tailf-000019885.py 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/tailf-000019885.py
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/tailf-000019885.py       
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp4/tailf-000019885.py       
2021-05-11 15:00:19.531637390 +0200
@@ -0,0 +1,62 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000019885
+# Description: Aborting tailf causes bash session to be corrupted
+# Source:      Package Version Pattern Template v0.3.8
+# Options:     SLE,Bash,Session,tailf,000019885,1177369,bash,4.3-83.26.4,0,0
+# Modified:    2021 May 11
+#
+##############################################################################
+# Copyright (C) 2021, SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import os
+import Core
+import SUSE
+
+META_CLASS = "SLE"
+META_CATEGORY = "Bash"
+META_COMPONENT = "Session"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = 
"META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000019885|META_LINK_BUG=https://bugzilla.suse.com/show_bug.cgi?id=1177369|META_LINK_Issue=https://github.com/kislyuk/argcomplete/issues/146";
+
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+RPM_NAME = 'bash'
+RPM_VERSION_FIXED = '4.3-83.26.4'
+if( SUSE.packageInstalled(RPM_NAME) ):
+       INSTALLED_VERSION = SUSE.compareRPM(RPM_NAME, RPM_VERSION_FIXED)
+       if( INSTALLED_VERSION >= 0 ):
+               Core.updateStatus(Core.IGNORE, "Bug fixes applied for " + 
RPM_NAME)
+       else:
+               Core.updateStatus(Core.WARN, "Aborting commands like tailf or 
echo may cause bash session issues")
+else:
+       Core.updateStatus(Core.ERROR, "ERROR: " + RPM_NAME + " not installed")
+
+
+Core.printPatternResults()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsipv6_125-000019618.py 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsipv6_125-000019618.py
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsipv6_125-000019618.py 
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsipv6_125-000019618.py 
2021-05-12 16:28:17.271043410 +0200
@@ -0,0 +1,78 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000019618
+# Description: Timeout when attempting NFS mount over IPv6
+# Source:      Basic Python Pattern Template v0.3.4
+# Options:     SLE,NFS,Timeout,nfsipv6,000019618,1144162,0,1,0
+# Distro:      SLES12 SP5
+# Modified:    2021 May 12
+#
+##############################################################################
+# Copyright (C) 2021 SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import os
+import Core
+import SUSE
+
+META_CLASS = "SLE"
+META_CATEGORY = "NFS"
+META_COMPONENT = "Timeout"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = 
"META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000019618|META_LINK_BUG=https://bugzilla.suse.com/show_bug.cgi?id=1144162";
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+PACKAGE = "nfs-client"
+KERNEL_VERSION = '4.12.14-122.20'
+FEATURE = 'scatter-gather'
+IPV6_DEVICES = []
+FEATURELESS_IPV6_DEVICES = []
+
+if( SUSE.packageInstalled(PACKAGE) ): # nfs package for mounting installed
+       INSTALLED_VERSION = SUSE.compareKernel(KERNEL_VERSION)
+       if( INSTALLED_VERSION < 0 ): # Running the affected kernel version
+               NETWORKS = SUSE.getNetworkInterfaces()
+               for DEVICE in NETWORKS.keys():
+                       if( len(NETWORKS[DEVICE]['addr6']) > 0 ): # Find IPv6 
enabled interfaces
+                               IPV6_DEVICES.append(DEVICE)
+                               if( FEATURE in NETWORKS[DEVICE] ):
+                                       if( not NETWORKS[DEVICE][FEATURE] ): # 
With scatter-gather disabled
+                                               
FEATURELESS_IPV6_DEVICES.append(DEVICE)
+               if( len(IPV6_DEVICES) > 0 ):
+                       if( len(FEATURELESS_IPV6_DEVICES) > 0 ):
+                               Core.updateStatus(Core.WARN, "Timeouts may 
occur attempting NFS mounts over IPv6 on: " + ' 
'.join(FEATURELESS_IPV6_DEVICES))
+                       else:
+                               Core.updateStatus(Core.IGNORE, "All IPv6 
network devices have " + str(FEATURE) + " enabled")
+               else:
+                       Core.updateStatus(Core.ERROR, "ERROR: No IPv6 network 
devices found")
+       else:
+               Core.updateStatus(Core.IGNORE, "Bug fixes applied in kernel 
version " + KERNEL_VERSION + " or higher")
+else:
+       Core.updateStatus(Core.ERROR, "ERROR: RPM package " + PACKAGE + " not 
installed")
+
+Core.printPatternResults()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsperf-125-000019615.py 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsperf-125-000019615.py
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsperf-125-000019615.py 
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/nfsperf-125-000019615.py 
2021-05-10 18:05:54.457945097 +0200
@@ -0,0 +1,69 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000019615
+# Description: Performance loss when writing large files over NFS
+# Source:      Kernel Package Version Pattern Template v0.1.2
+# Options:     
SLE,NFS,Performance,nfsperf-125,000019615,1163403,4.12.14-122.20,0,1
+# Distro:      SLES12 SP5
+# Modified:    2021 May 10
+#
+##############################################################################
+# Copyright (C) 2021, SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import re
+import os
+import Core
+import SUSE
+
+META_CLASS = "SLE"
+META_CATEGORY = "NFS"
+META_COMPONENT = "Performance"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = 
"META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000019615|META_LINK_BUG=https://bugzilla.suse.com/show_bug.cgi?id=1163403";
+
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+KERNEL_VERSION_FIXED = '4.12.14-122.20'
+NFSMOUNTS = False
+
+INSTALLED_VERSION = SUSE.compareKernel(KERNEL_VERSION_FIXED)
+if( INSTALLED_VERSION >= 0 ):
+       Core.updateStatus(Core.IGNORE, "Bug fixes applied in kernel version " + 
KERNEL_VERSION_FIXED + " or higher")
+else:
+       FSLIST = SUSE.getFileSystems()
+       for FS in FSLIST:
+               if( FS['Type'].lower() == 'nfs' or FS['Type'].lower() == 'nfs4' 
):
+                       if( FS['Mounted'] ):
+                               NFSMOUNTS = True
+       if( NFSMOUNTS ):
+               Core.updateStatus(Core.WARN, "Writing large files to NFS mounts 
may be susceptible to performance degradation")
+       else:
+               Core.updateStatus(Core.ERROR, "ERROR: NFS mounts not found")
+
+Core.printPatternResults()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/tailf-000019885.py 
new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/tailf-000019885.py
--- old/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/tailf-000019885.py       
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle12-1.0.3/patterns/SLE/sle12sp5/tailf-000019885.py       
2021-05-11 15:13:23.399118286 +0200
@@ -0,0 +1,62 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000019885
+# Description: Aborting tailf causes bash session to be corrupted
+# Source:      Package Version Pattern Template v0.3.8
+# Options:     SLE,Bash,Session,tailf,000019885,1177369,bash,4.3-83.26.4,0,0
+# Modified:    2021 May 11
+#
+##############################################################################
+# Copyright (C) 2021, SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import os
+import Core
+import SUSE
+
+META_CLASS = "SLE"
+META_CATEGORY = "Bash"
+META_COMPONENT = "Session"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = 
"META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000019885|META_LINK_BUG=https://bugzilla.suse.com/show_bug.cgi?id=1177369|META_LINK_Issue=https://github.com/kislyuk/argcomplete/issues/146";
+
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+RPM_NAME = 'bash'
+RPM_VERSION_FIXED = '4.3-83.26.4'
+if( SUSE.packageInstalled(RPM_NAME) ):
+       INSTALLED_VERSION = SUSE.compareRPM(RPM_NAME, RPM_VERSION_FIXED)
+       if( INSTALLED_VERSION >= 0 ):
+               Core.updateStatus(Core.IGNORE, "Bug fixes applied for " + 
RPM_NAME)
+       else:
+               Core.updateStatus(Core.WARN, "Aborting commands like tailf or 
echo may cause bash session issues")
+else:
+       Core.updateStatus(Core.ERROR, "ERROR: " + RPM_NAME + " not installed")
+
+
+Core.printPatternResults()
+

Reply via email to