commit s390-tools for openSUSE:Factory

2020-09-18 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2020-09-18 14:30:10

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.4249 (New)


Package is "s390-tools"

Fri Sep 18 14:30:10 2020 rev:33 rq:834889 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2020-07-30 
09:55:58.667069881 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.4249/s390-tools.changes  
2020-09-18 14:33:36.199584818 +0200
@@ -1,0 +2,5 @@
+Tue Sep 15 18:46:04 CEST 2020 - r...@suse.de
+
+- use libexecdir for net-snmp agent config 
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.cjDGY0/_old  2020-09-18 14:33:44.435592169 +0200
+++ /var/tmp/diff_new_pack.cjDGY0/_new  2020-09-18 14:33:44.439592172 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package s390-tools
 #
-# Copyright (c) 2001-2020 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -420,8 +420,8 @@
 greposasnmp[^-] %{_builddir}/%{name}-filelist >%{_builddir}/%{name}.osasnmp
 
 touch boot/zipl/active_devices.txt
-mkdir -p usr/lib/net-snmp/agents
-cd  usr/lib/net-snmp/agents
+mkdir -p ./%{_libexecdir}/net-snmp/agents
+cd  ./%{_libexecdir}/net-snmp/agents
 cat 

commit s390-tools for openSUSE:Factory

2020-07-30 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2020-07-30 09:55:55

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.3592 (New)


Package is "s390-tools"

Thu Jul 30 09:55:55 2020 rev:32 rq:823201 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2020-04-13 
12:49:49.484554908 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.3592/s390-tools.changes  
2020-07-30 09:55:58.667069881 +0200
@@ -1,0 +2,44 @@
+Fri Jul 24 21:17:36 UTC 2020 - Mark Post 
+
+- The location of the udevadm binary was changed from /sbin/ to /usr/bin
+  a while back. A symbolic link was added for compatibility. In the latest
+  versions, that symbolic link has been removed, requiring changes to scripts
+  that were depending on that.
+  Added the following patches for bsc#1171587
+  * s390-tools-sles15sp2-lsluns-try-harder-to-find-udevadm.patch
+  * s390-tools-sles15sp2-znetconf-introduce-better-ways-to-locate-udevadm.patch
+  *s390-tools-sles15sp2-mon_tools-update-udevadm-location.patch
+
+---
+Thu Jul 23 19:28:25 UTC 2020 - Mark Post 
+
+- Added s390-tools-sles15sp2-zipl-prevent-endless-loop-during-IPL.patch
+  (bsc#1174309) zipl: prevent endless loop during secure IPL
+- Added 
s390-tools-sles15sp2-zipl-check-for-valid-ipl-parmblock-lowcore-pointer.patch
+  (bsc#1174310) zipl: check for valid ipl parmblock lowcore pointer
+- Added 
s390-tools-sles15sp2-01-zipl-libc-libc_stop-move-noreturn-to-declaration.patch
+
s390-tools-sles15sp2-02-zipl-stage3-correctly-handle-diag308-response-code.patch
+  (bsc1174311) zipl: Fix KVM IPL without bootindex
+- Updated cputype and read_values to recognize the new z15 models.
+
+---
+Thu Jul 23 19:28:25 UTC 2020 - Mark Post 
+
+- Added s390-tools-sles15sp2-zipl-prevent-endless-loop-during-IPL.patch
+  (bsc#1174309) zipl: prevent endless loop during secure IPL
+- Added 
s390-tools-sles15sp2-zipl-check-for-valid-ipl-parmblock-lowcore-pointer.patch
+  (bsc#1174310) zipl: check for valid ipl parmblock lowcore pointer
+- Added 
s390-tools-sles15sp2-01-zipl-libc-libc_stop-move-noreturn-to-declaration.patch
+
s390-tools-sles15sp2-02-zipl-stage3-correctly-handle-diag308-response-code.patch
+  (bsc1174311) zipl: Fix KVM IPL without bootindex
+- Updated cputype and read_values to recognize the new z15 models.
+
+---
+Mon Jun 29 19:45:01 UTC 2020 - Mark Post 
+
+- Added s390-tools-sles15sp2-vmcp-exit-code.patch (bsc#1173481)
+  Change the vmcp exit code and return 'CP command failed' when both
+  "CP command failed" and "response buffer is too small" error
+  conditions are true.
+
+---

New:

  s390-tools-sles15sp2-01-zipl-libc-libc_stop-move-noreturn-to-declaration.patch
  
s390-tools-sles15sp2-02-zipl-stage3-correctly-handle-diag308-response-code.patch
  s390-tools-sles15sp2-lsluns-try-harder-to-find-udevadm.patch
  s390-tools-sles15sp2-mon_tools-update-udevadm-location.patch
  s390-tools-sles15sp2-vmcp-exit-code.patch
  s390-tools-sles15sp2-zipl-check-for-valid-ipl-parmblock-lowcore-pointer.patch
  s390-tools-sles15sp2-zipl-prevent-endless-loop-during-IPL.patch
  s390-tools-sles15sp2-znetconf-introduce-better-ways-to-locate-udevadm.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.0wMfjA/_old  2020-07-30 09:56:00.803070309 +0200
+++ /var/tmp/diff_new_pack.0wMfjA/_new  2020-07-30 09:56:00.807070309 +0200
@@ -188,6 +188,14 @@
 Patch99:
s390-tools-sles15sp2-03-zipl-correct-secure-boot-config-handling.patch
 Patch100:   
s390-tools-sles15sp2-04-zipl-fix-zipl.conf-man-page-example-for-secure-boot.patch
 Patch101:   
s390-tools-sles15sp2-01-cpumf-add-new-deflate-counters-for-z15.patch
+Patch102:   s390-tools-sles15sp2-vmcp-exit-code.patch
+Patch103:   s390-tools-sles15sp2-zipl-prevent-endless-loop-during-IPL.patch
+Patch104:   
s390-tools-sles15sp2-zipl-check-for-valid-ipl-parmblock-lowcore-pointer.patch
+Patch105:   
s390-tools-sles15sp2-01-zipl-libc-libc_stop-move-noreturn-to-declaration.patch
+Patch106:   
s390-tools-sles15sp2-02-zipl-stage3-correctly-handle-diag308-response-code.patch
+Patch107:   s390-tools-sles15sp2-lsluns-try-harder-to-find-udevadm.patch
+Patch108:   
s390-tools-sles15sp2-znetconf-introduce-better-ways-to-locate-udevadm.patch
+Patch109:   s390-tools-sles15sp2-mon_tools-update-udevadm-location.patch
 
 # SUSE patches
 Patch900:   s390-too

commit s390-tools for openSUSE:Factory

2020-04-13 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2020-04-13 12:49:47

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.3248 (New)


Package is "s390-tools"

Mon Apr 13 12:49:47 2020 rev:31 rq:792037 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2020-03-23 
12:49:19.507909869 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.3248/s390-tools.changes  
2020-04-13 12:49:49.484554908 +0200
@@ -1,0 +2,11 @@
+Tue Apr  7 18:52:02 UTC 2020 - Mark Post 
+
+- Added s390-tools-sles15sp2-01-cpumf-add-new-deflate-counters-for-z15.patch
+  (bsc#1167853)
+  lscpumf: New z15 CPU-MF counters not available, so add the
+  definition for the new deflate counters.
+- Updated read_values (bsc#1167815, jsc#SLE-10675)
+  * Differentiate between IBM Z and IBM LinuxONE machines
+  * Query and print the status of secure boot for the LPAR.
+
+---

New:

  s390-tools-sles15sp2-01-cpumf-add-new-deflate-counters-for-z15.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.5SV0jn/_old  2020-04-13 12:49:52.812556783 +0200
+++ /var/tmp/diff_new_pack.5SV0jn/_new  2020-04-13 12:49:52.812556783 +0200
@@ -187,6 +187,7 @@
 Patch98:
s390-tools-sles15sp2-02-zipl-allow-stand-alone-secure-option-on-command-l.patch
 Patch99:
s390-tools-sles15sp2-03-zipl-correct-secure-boot-config-handling.patch
 Patch100:   
s390-tools-sles15sp2-04-zipl-fix-zipl.conf-man-page-example-for-secure-boot.patch
+Patch101:   
s390-tools-sles15sp2-01-cpumf-add-new-deflate-counters-for-z15.patch
 
 # SUSE patches
 Patch900:   s390-tools-sles12-zipl_boot_msg.patch

++ read_values.c ++
 968 lines (skipped)
 between /work/SRC/openSUSE:Factory/s390-tools/read_values.c
 and /work/SRC/openSUSE:Factory/.s390-tools.new.3248/read_values.c

++ s390-tools-rpmlintrc ++
--- /var/tmp/diff_new_pack.5SV0jn/_old  2020-04-13 12:49:53.136556965 +0200
+++ /var/tmp/diff_new_pack.5SV0jn/_new  2020-04-13 12:49:53.136556965 +0200
@@ -1,4 +1,3 @@
-addFilter("/var/log/ts-shell")
 addFilter("statically-linked-binary /usr/lib/s390-tools/.*")
 addFilter("statically-linked-binary /usr/bin/read_values")
 addFilter("systemd-service-without-service_.* *@.service")

++ s390-tools-sles15sp2-01-cpumf-add-new-deflate-counters-for-z15.patch 
++
Subject: [PATCH] [BZ 184585] cpumf/data: Add new deflate counters for IBM z15
From: Thomas Richter 

Description:  lscpumf: New z15 CPU-MF counters not available
Symptom:  Command lscpumf -c does not show the new
  deflate counters on IBM z15.
Problem:  The new counter names have not been published
  in document SA23-2261-06 by the time te code was
  release.
Solution: Add the definition for the new deflate counters.
Reproduction:  Run command lscpumf -c and check for counters
   rf7, rfc, r107 and r108.
Upstream-ID:   5d2871d626de6c2b3ab6b12783b87a8b3564cb56
Problem-ID:184585

Upstream-Description:

  cpumf/data: Add new deflate counters for IBM z15

  Add support for new deflate counters:
  - Counter 247: cycles CPU spent obtaining access to Deflate unit
  - Counter 252: cycles CPU is using Deflate unit
  - Counter 264: Increments by one for every DEFLATE CONVERSION CALL
  instruction executed.
  - Counter 265: Increments by one for every DEFLATE CONVERSION CALL
  instruction executed that ended in Condition Codes
  0, 1 or 2.

  Signed-off-by: Thomas Richter 
  Signed-off-by: Jan Hoeppner 


Signed-off-by: Thomas Richter 
---
 cpumf/Makefile  |3 
 cpumf/data/cpum-cf-extended-z15.ctr |  376 
 cpumf/data/cpum-cf-hw-counter.map   |5 
 3 files changed, 380 insertions(+), 4 deletions(-)

--- a/cpumf/Makefile
+++ b/cpumf/Makefile
@@ -9,7 +9,8 @@ DATA_FILES = cpum-cf-hw-counter.map \
 cpum-cf-csvn-12345.ctr cpum-cf-csvn-6.ctr \
  cpum-cf-extended-z10.ctr cpum-cf-extended-z196.ctr \
 cpum-cf-extended-zEC12.ctr cpum-sf-modes.ctr \
-cpum-cf-extended-z13.ctr cpum-cf-extended-z14.ctr
+cpum-cf-extended-z13.ctr cpum-cf-extended-z14.ctr \
+cpum-cf-extended-z15.ctr
 LIB_FILES = bin/cpumf_helper
 USRBIN_SCRIPTS = bin/lscpumf
 USRSBIN_SCRIPTS = bin/chcpumf
--- /dev/null
+++ b/cpumf/data/cpum-cf-extended-z15.ctr
@@ -0,0 +1,376 @@
+# Counter decriptions for the
+#  IBM z14 extended counte

commit s390-tools for openSUSE:Factory

2020-03-12 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2020-03-12 22:58:52

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.3160 (New)


Package is "s390-tools"

Thu Mar 12 22:58:52 2020 rev:29 rq:783520 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2020-02-22 
19:03:27.957991348 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.3160/s390-tools.changes  
2020-03-12 22:59:06.911010079 +0100
@@ -1,0 +2,22 @@
+Tue Mar 10 18:25:51 UTC 2020 - Mark Post 
+
+- Added the following patches for bsc#1165978.
+  zpcictl --reset only issues a SCLP reset and leaves the PCI function
+  in an error state.
+  Initiate an OS level recovery by calling /sys/bus/devices//recover
+  after the SCLP reset.
+  * s390-tools-sles15sp2-01-zpcictl-Initiate-recover-after-reset.patch
+  * s390-tools-sles15sp2-02-zpcictl-Rename-misleading-sysfs_write_data.patch
+  * s390-tools-sles15sp2-03-zpcitctl-Exit-on-error-in-sysfs_report_error.patch
+
+---
+Tue Mar  3 22:11:44 UTC 2020 - Mark Post 
+
+- The zipl boot loader may crash during boot. The solution is to
+  implement vsnprintf and make use of it. (bsc#1165317)
+  * s390-tools-sles15sp2-01-zipl-libc-Introduce-vsnprintf.patch
+  * 
s390-tools-sles15sp2-02-zipl-libc-Fix-potential-buffer-overflow-in-printf.patch
+  * s390-tools-sles15sp2-03-zipl-libc-Replace-sprintf-with-snprintf.patch
+  * 
s390-tools-sles15sp2-04-zipl-libc-Indicate-truncated-lines-in-printf-with.patch
+
+---

New:

  s390-tools-sles15sp2-01-zipl-libc-Introduce-vsnprintf.patch
  s390-tools-sles15sp2-01-zpcictl-Initiate-recover-after-reset.patch
  
s390-tools-sles15sp2-02-zipl-libc-Fix-potential-buffer-overflow-in-printf.patch
  s390-tools-sles15sp2-02-zpcictl-Rename-misleading-sysfs_write_data.patch
  s390-tools-sles15sp2-03-zipl-libc-Replace-sprintf-with-snprintf.patch
  s390-tools-sles15sp2-03-zpcitctl-Exit-on-error-in-sysfs_report_error.patch
  
s390-tools-sles15sp2-04-zipl-libc-Indicate-truncated-lines-in-printf-with.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.0Ac6ea/_old  2020-03-12 22:59:09.187010986 +0100
+++ /var/tmp/diff_new_pack.0Ac6ea/_new  2020-03-12 22:59:09.191010987 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package s390-tools
 #
-# Copyright (c) 2009-2020 SUSE LLC, Nuernberg, Germany.
+# Copyright (c) 2001-2020 SUSE LLC, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -128,6 +128,13 @@
 Patch39:
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-XTS-keys.patch
 Patch40:
s390-tools-sles15sp2-zkey-Fix-display-of-XTS-attribute-for-validate-comma.patch
 Patch41:
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-CCA-AESCIPHER.patch
+Patch42:s390-tools-sles15sp2-01-zipl-libc-Introduce-vsnprintf.patch
+Patch43:
s390-tools-sles15sp2-02-zipl-libc-Fix-potential-buffer-overflow-in-printf.patch
+Patch44:
s390-tools-sles15sp2-03-zipl-libc-Replace-sprintf-with-snprintf.patch
+Patch45:
s390-tools-sles15sp2-04-zipl-libc-Indicate-truncated-lines-in-printf-with.patch
+Patch46:
s390-tools-sles15sp2-01-zpcictl-Initiate-recover-after-reset.patch
+Patch47:
s390-tools-sles15sp2-02-zpcictl-Rename-misleading-sysfs_write_data.patch
+Patch48:
s390-tools-sles15sp2-03-zpcitctl-Exit-on-error-in-sysfs_report_error.patch
 
 # SUSE patches
 Patch900:   s390-tools-sles12-zipl_boot_msg.patch

++ s390-tools-sles15sp2-01-zipl-libc-Introduce-vsnprintf.patch ++
Subject: [PATCH] [BZ 184060] zipl/libc: Introduce vsnprintf
From: Philipp Rudo 

Description:   zipl/libc: Fix potential buffer overflow in printf
Symptom:   Crash of the zipl boot loader during boot.
Problem:   The zipl boot loaders have their own minimalistic libc
   implementation. In it printf and sprintf use vsprintf for string
   formatting. Per definition vsprintf assumes that the buffer it
   writes to is large enough to contain the formatted string and
   performs no size checks. This is problematic for the boot
   loaders because the buffer they use are often allocated on the
   stack. Thus even small changes to the string format can
   potentially cause buffer overflows on the stack.
Solution:  Implement vsnprintf and make use of it.
Reproduction:  Use printf to print a string with >81 

commit s390-tools for openSUSE:Factory

2020-02-22 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2020-02-22 19:03:27

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.26092 (New)


Package is "s390-tools"

Sat Feb 22 19:03:27 2020 rev:28 rq:777412 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2020-02-15 
22:23:57.703262407 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.26092/s390-tools.changes 
2020-02-22 19:03:27.957991348 +0100
@@ -1,0 +2,15 @@
+Tue Feb 18 20:10:50 UTC 2020 - Mark Post 
+
+- Added 
s390-tools-sles15sp2-zkey-Fix-display-of-XTS-attribute-for-validate-comma.patch
+  (bsc#1163002).
+- Added 
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-CCA-AESCIPHER.patch
+  (bsc#1163570).
+- Re-categorized 
s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
+  from an IBM patch to a SUSE-maintained patch. (bsc#1162840)
+
+---
+Thu Feb 13 13:50:55 UTC 2020 - Marcus Meissner 
+
+- sign the stage3.bin bootloader stage (bsc#1163524)
+
+---
@@ -11 +26 @@
-  (bsc#1163002).
+  (bsc#1163003).

New:

  
s390-tools-sles15sp2-zkey-Fix-display-of-XTS-attribute-for-validate-comma.patch
  
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-CCA-AESCIPHER.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.PU5rb7/_old  2020-02-22 19:03:32.802000998 +0100
+++ /var/tmp/diff_new_pack.PU5rb7/_new  2020-02-22 19:03:32.810001013 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package s390-tools
 #
-# Copyright (c) 2019-2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2009-2020 SUSE LLC, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -14,6 +14,7 @@
 
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
+# needssslcertforbuild
 
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
@@ -123,9 +124,10 @@
 Patch35:
s390-tools-sles15sp2-35-zkey-Allow-zkey-cryptsetup-setkey-to-set-different-k.patch
 Patch36:s390-tools-sles15sp2-zcrypt-CEX7S-exploitation-support.patch
 Patch37:s390-tools-sles15sp2-zcryptstats-Add-support-for-CEX7.patch
-Patch38:
s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
-Patch39:
s390-tools-sles15sp2-zkey-Fix-listing-of-keys-on-file-systems-reporting-D.patch
-Patch40:
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-XTS-keys.patch
+Patch38:
s390-tools-sles15sp2-zkey-Fix-listing-of-keys-on-file-systems-reporting-D.patch
+Patch39:
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-XTS-keys.patch
+Patch40:
s390-tools-sles15sp2-zkey-Fix-display-of-XTS-attribute-for-validate-comma.patch
+Patch41:
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-CCA-AESCIPHER.patch
 
 # SUSE patches
 Patch900:   s390-tools-sles12-zipl_boot_msg.patch
@@ -141,6 +143,7 @@
 Patch910:   
s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl.patch
 Patch911:   
s390-tools-sles15sp2-Close-file-descriptor-when-checking-for-read-only.patch
 Patch912:   
s390-tools-sles15sp1-zdev-Also-include-the-ctc-driver-in-the-initrd.patch
+Patch913:   
s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
 
 BuildRequires:  dracut
 BuildRequires:  fuse-devel
@@ -153,6 +156,7 @@
 BuildRequires:  libpfm-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  net-snmp-devel
+BuildRequires:  pesign-obs-integration
 BuildRequires:  qclib-devel-static
 BuildRequires:  tcpd-devel
 BuildRequires:  zlib-devel-static
@@ -364,6 +368,8 @@
 EOT
 chmod 755 osasnmpd
 
+export BRP_PESIGN_FILES='/lib/s390-tools/stage3.bin'
+
 %verifyscript
 %verify_permissions -e %{_localstatedir}/log/ts-shell
 

++ 
s390-tools-sles15sp2-zkey-Fix-display-of-XTS-attribute-for-validate-comma.patch 
++
Subject: [PATCH] [BZ 183669] zkey: Fix display of XTS attribute for validate 
command
From: Ingo Franzki 

Description:   zkey: Fix display of XTS attribute for validate command
Symptom:   The 'zkey validate' command shows an invalid value for
   the XTS attribute.
Problem:   Due to a use after free of the secure key, the XTS attribute
   is not determined correctly, and is displayed incorrectly.
   Function is_xts_key() is called with a secure key that has
   already been freed and thus most likely returns false.
   This bug has b

commit s390-tools for openSUSE:Factory

2020-02-15 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2020-02-15 22:23:48

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.26092 (New)


Package is "s390-tools"

Sat Feb 15 22:23:48 2020 rev:27 rq:772274 version:2.11.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2019-11-28 
10:13:12.339636611 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.26092/s390-tools.changes 
2020-02-15 22:23:57.703262407 +0100
@@ -1,0 +2,12 @@
+Sat Feb  8 02:25:58 UTC 2020 - Mark Post 
+
+- Added 
s390-tools-sles15sp1-zdev-Also-include-the-ctc-driver-in-the-initrd.patch
+  (bsc#1160373).
+- Added s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
+  (bsc#1162840).
+- Added 
s390-tools-sles15sp2-zkey-Fix-listing-of-keys-on-file-systems-reporting-D.patch
+  (bsc#1162996).
+- Added 
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-XTS-keys.patch
+  (bsc#1163002).
+
+---

New:

  s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
  s390-tools-sles15sp1-zdev-Also-include-the-ctc-driver-in-the-initrd.patch
  s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-XTS-keys.patch
  
s390-tools-sles15sp2-zkey-Fix-listing-of-keys-on-file-systems-reporting-D.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.CQmQPN/_old  2020-02-15 22:23:59.191263212 +0100
+++ /var/tmp/diff_new_pack.CQmQPN/_new  2020-02-15 22:23:59.195263214 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package s390-tools
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019-2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -123,6 +123,9 @@
 Patch35:
s390-tools-sles15sp2-35-zkey-Allow-zkey-cryptsetup-setkey-to-set-different-k.patch
 Patch36:s390-tools-sles15sp2-zcrypt-CEX7S-exploitation-support.patch
 Patch37:s390-tools-sles15sp2-zcryptstats-Add-support-for-CEX7.patch
+Patch38:
s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
+Patch39:
s390-tools-sles15sp2-zkey-Fix-listing-of-keys-on-file-systems-reporting-D.patch
+Patch40:
s390-tools-sles15sp2-zkey-Fix-display-of-clear-key-size-for-XTS-keys.patch
 
 # SUSE patches
 Patch900:   s390-tools-sles12-zipl_boot_msg.patch
@@ -137,6 +140,7 @@
 Patch909:   59-dasd.rules-wait_for.patch
 Patch910:   
s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl.patch
 Patch911:   
s390-tools-sles15sp2-Close-file-descriptor-when-checking-for-read-only.patch
+Patch912:   
s390-tools-sles15sp1-zdev-Also-include-the-ctc-driver-in-the-initrd.patch
 
 BuildRequires:  dracut
 BuildRequires:  fuse-devel

++ s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch 
++
Subject: zdev: Add support for handling I/O configuration data
From: Peter Oberparleiter 

Summary: zdev: Add support for handling I/O configuration data
Description: LPARs that are running in IBM Dynamic Partition Manager (DPM) mode
 can access a firmware-generated I/O configuration data file that
 contains s390-specific information about available I/O devices
 such as qeth device numbers and parameters, and FCP device IDs.

 This data file is intended to remove the need for users to
 manually enter the corresponding device data during installation.

 Linux kernels with the corresponding support make the I/O
 configuration data available at the following location:

   /sys/firmware/sclp_sd/config/data

 This patch set adds support for handling this data file using the
 chzdev and lszdev tools:

   - I/O configuration data can be applied using chzdev's --import
 option
   - Initial RAM-Disk scripts automatically apply the
 I/O configuration data to the system configuration
   - lszdev can be used to display the applied auto-configuration
 data
   - chzdev can be used to manually override the
 auto-configuration data

Upstream-ID: -
Problem-ID:  LS1604

Signed-off-by: Peter Oberparleiter 
---
 zdev/src/zdev-root-update.dracut |6 --
 1 file changed, 6 deletions(-)

--- a/zdev/src/zdev-root-update.dracut
+++ b/zdev/src/zdev-root-update.dracut
@@ -20,10 +20,4 @@ dracut -f || {
exit 1
 }
 
-echo "Installing IPL record"
-zipl -

commit s390-tools for openSUSE:Factory

2019-02-26 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2019-02-26 22:13:46

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.28833 (New)


Package is "s390-tools"

Tue Feb 26 22:13:46 2019 rev:25 rq:678097 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2019-01-29 
14:45:54.411005400 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.28833/s390-tools.changes 
2019-02-26 22:13:50.446244113 +0100
@@ -1,0 +2,18 @@
+Thu Feb 21 19:38:18 UTC 2019 - mp...@suse.com
+
+- Now that IBM has the package on github, use a full source URL.
+- Change Pre-Req to Requires(pre) and (post), and remove dracut.
+- Changed the group for the hmcdrvfs package from Base:System to
+  Base/Filesystems
+- Institute the %autosetup macro.
+- Remove erroneous %dir entry for %_unitdir
+- Change bash-specific "==" tests in scriptlets with a more
+  generic "=".
+
+---
+Thu Feb 14 23:53:57 UTC 2019 - mp...@suse.com
+
+- Modified the spec file to add a group named cpacfstats
+  (bsc#1123730)
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.aPkTem/_old  2019-02-26 22:13:55.558242317 +0100
+++ /var/tmp/diff_new_pack.aPkTem/_new  2019-02-26 22:13:55.562242316 +0100
@@ -28,7 +28,7 @@
 License:MIT
 Group:  System/Kernel
 URL:https://github.com/ibm-s390-tools/s390-tools
-Source: s390-tools-%{version}.tar.gz
+Source: 
https://github.com/ibm-s390-tools/s390-tools/archive/v%{version}.tar.gz#/s390-tools-%{version}.tar.gz
 Source1:s390-tools-rpmlintrc
 Source2:zipl.conf
 Source3:hsnc
@@ -205,7 +205,8 @@
 BuildRequires:  zlib-devel-static
 # Don't build with pie to avoid problems with zipl
 #!BuildIgnore:  gcc-PIE
-PreReq: shadow %fillup_prereq dracut permissions
+Requires(pre):  shadow
+Requires(post): %fillup_prereq permissions
 Requires:   coreutils
 Requires:   gawk
 Requires:   perl-base
@@ -258,7 +259,7 @@
 %package hmcdrvfs
 Summary:HMC drive file system based on FUSE
 License:GPL-2.0-only
-Group:  System/Base
+Group:  System/Filesystems
 Requires:   fuse
 
 %description hmcdrvfs
@@ -266,111 +267,7 @@
 to list files and directories.
 
 %prep
-%setup -q
-
-# SUSE patches
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch23 -p1
-%patch24 -p1
-%patch25 -p1
-%patch26 -p1
-%patch27 -p1
-%patch28 -p1
-%patch29 -p1
-%patch30 -p1
-%patch31 -p1
-%patch32 -p1
-%patch33 -p1
-%patch34 -p1
-%patch35 -p1
-%patch36 -p1
-%patch37 -p1
-%patch38 -p1
-%patch39 -p1
-%patch40 -p1
-%patch41 -p1
-%patch42 -p1
-%patch43 -p1
-%patch44 -p1
-%patch45 -p1
-%patch46 -p1
-%patch47 -p1
-%patch48 -p1
-%patch49 -p1
-%patch50 -p1
-%patch51 -p1
-%patch52 -p1
-%patch53 -p1
-%patch54 -p1
-%patch55 -p1
-%patch56 -p1
-%patch57 -p1
-%patch58 -p1
-%patch59 -p1
-%patch60 -p1
-%patch61 -p1
-%patch62 -p1
-%patch63 -p1
-%patch64 -p1
-%patch65 -p1
-%patch66 -p1
-%patch67 -p1
-%patch68 -p1
-%patch69 -p1
-%patch70 -p1
-%patch71 -p1
-%patch72 -p1
-%patch73 -p1
-%patch74 -p1
-%patch75 -p1
-%patch76 -p1
-%patch77 -p1
-%patch78 -p1
-%patch79 -p1
-%patch80 -p1
-%patch81 -p1
-%patch82 -p1
-%patch83 -p1
-%patch84 -p1
-%patch85 -p1
-%patch86 -p1
-%patch87 -p1
-%patch88 -p1
-%patch89 -p1
-%patch90 -p1
-%patch91 -p1
-%patch92 -p1
-%patch93 -p1
-%patch94 -p1
-%patch95 -p1
-%patch96 -p1
-%patch97 -p1
-%patch98 -p1
-%patch99 -p1
-%patch100 -p1
-%patch101 -p1
-%patch102 -p1
+%autosetup -p1
 
 cp -vi %{SOURCE22} CAUTION
 
@@ -517,6 +414,8 @@
 getent group ts-shell >/dev/null 2>&1 || groupadd -r ts-shell
 # check for zkeyadm group or create it
 getent group zkeyadm >/dev/null 2>&1 || groupadd -r zkeyadm
+# check for cpacfstats group or create it
+getent group cpacfstats >/dev/null 2>&1 || groupadd -r cpacfstats
 %service_add_pre appldata.service
 %service_add_pre cio_ignore.service
 %service_add_pre cpacfstatsd.service
@@ -532,7 +431,7 @@
 
 %post
 read INITPGM < /proc/1/comm
-if [ "${INITPGM}" == "systemd" ]; then
+if [ "${INITPGM}" = "systemd" ]; then
   echo "Running systemctl daemon-reload."
   systemctl daemon-reload
 fi
@@ -605,7 +504,7 @@
 # run it, so we have to make sure we can safely issue the
 # systemctl command.
 read INITPGM < /proc/1/comm
-if [ "${INITPGM}" == "systemd" ]

commit s390-tools for openSUSE:Factory

2019-01-29 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2019-01-29 14:45:54

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.28833 (New)


Package is "s390-tools"

Tue Jan 29 14:45:54 2019 rev:24 rq:669358 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2018-12-10 
12:22:50.782855812 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.28833/s390-tools.changes 
2019-01-29 14:45:54.411005400 +0100
@@ -1,0 +2,43 @@
+Mon Jan 28 17:38:15 UTC 2019 - mp...@suse.com
+
+- Added s390-tools-sles15sp1-zcrypt-refine-lszcrypt-man-page.patch
+  Added some explanations about the columns shown with the lszcrypt
+  verbose output.  (bsc#1123041)
+
+---
+Thu Jan 24 04:43:39 UTC 2019 - mp...@suse.com
+
+- Updated the spec file to regenerate the initrd in the post, postun,
+  and poststrans scriptlets. (bsc#1112018)
+
+---
+Tue Jan 15 21:37:32 UTC 2019 - mp...@suse.com
+
+- Enable cryptsetup now that version 2 is included in SLES15 SP1.
+  (Fate#325684)
+
+---
+Mon Jan 14 17:03:37 UTC 2019 - mp...@suse.com
+
+- Added the following two patches from IBM (bsc#1121719):
+  * 
s390-tools-sles15sp1-01-zkey-Include-sbin-into-PATH-when-executing-commands.patch
+  * 
s390-tools-sles15sp1-zkey-Enhance-error-message-about-missing-CCA-library.patch
+- Added the following patch to correct a problem with CTC network
+  interfaces not coming up after a reboot (bsc#1119102)
+  * s390-tools-sles15sp1-zdev-Also-include-the-ctc-driver-in-the-initrd.patch
+
+---
+Wed Jan  9 23:17:22 UTC 2019 - mp...@suse.com
+
+- Added s390-tools-sles15sp1-qethqoat-add-OSA-Express7S-support.patch
+  qethqoat: add OSA-Express7S support
+  (Fate#326805, bsc#1121222)
+- Modified the spec file to: (bsc#1119966)
+  * Add a group named zkeyadm
+  * Create directory /etc/zkey/repository
+  * Set the permissions on /etc/zkey and /etc/zkey/repository
+  * Added /usr/lib/modules-load.d/pkey.conf 
+- Made numerous changes to the spec file based on the output from
+  spec-cleaner.
+
+---

New:

  pkey.conf
  
s390-tools-sles15sp1-01-zkey-Include-sbin-into-PATH-when-executing-commands.patch
  s390-tools-sles15sp1-qethqoat-add-OSA-Express7S-support.patch
  s390-tools-sles15sp1-zcrypt-refine-lszcrypt-man-page.patch
  s390-tools-sles15sp1-zdev-Also-include-the-ctc-driver-in-the-initrd.patch
  
s390-tools-sles15sp1-zkey-Enhance-error-message-about-missing-CCA-library.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.NkgeTa/_old  2019-01-29 14:45:56.151003292 +0100
+++ /var/tmp/diff_new_pack.NkgeTa/_new  2019-01-29 14:45:56.151003292 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package s390-tools
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,40 +18,16 @@
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
-  %define _fillupdir /var/adm/fillup-templates
+  %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 
 Name:   s390-tools
 Version:2.1.0
 Release:0
-URL:https://github.com/ibm-s390-tools/s390-tools
 Summary:S/390 tools like zipl and dasdfmt
 License:MIT
 Group:  System/Kernel
-BuildRequires:  dracut
-BuildRequires:  fuse-devel
-BuildRequires:  gcc-c++
-BuildRequires:  gettext-tools
-BuildRequires:  glibc-devel-static
-BuildRequires:  kernel-zfcpdump
-BuildRequires:  libpfm-devel
-BuildRequires:  ncurses-devel
-BuildRequires:  net-snmp-devel
-BuildRequires:  qclib-devel-static
-BuildRequires:  tcpd-devel
-BuildRequires:  zlib-devel-static
-PreReq: shadow %fillup_prereq dracut permissions
-Requires:   coreutils
-Requires:   gawk
-Requires:   perl-base
-Requires:   procps
-Requires:   rsync
-Requires:   tar
-Requires:   util-linux
-Provides:   s390utils:/sbin/dasdfmt
-Recommends: blktrace
-# Don't build with pie to avoid problems with zipl
-#!BuildIgnore: gcc-PIE
+URL:https://github.com/ibm-s390-tools/s390-tools
 Source: s390-tools-%{version}.tar.gz
 Source1:s390-tools-rpmlintrc
 Source2:zipl.conf
@@ -90,6 +66,7 @@
 Sou

commit s390-tools for openSUSE:Factory

2018-12-10 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2018-12-10 12:22:47

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.19453 (New)


Package is "s390-tools"

Mon Dec 10 12:22:47 2018 rev:23 rq:655912 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2018-12-03 
10:07:20.555877473 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.19453/s390-tools.changes 
2018-12-10 12:22:50.782855812 +0100
@@ -1,0 +2,21 @@
+Thu Dec  6 21:03:08 UTC 2018 - mp...@suse.com
+
+- Added the following patches for Fate#326825 (bsc#1113329)
+  I/O device pre-configuration
+  * s390-tools-sles15sp1-01-zdev-use-libutil-provided-path-functions.patch
+  * 
s390-tools-sles15sp1-02-zdev-Prepare-for-firmware-configuration-file-support.patch
+  * 
s390-tools-sles15sp1-03-zdev-Add-support-for-reading-firmware-configuration-.patch
+  * s390-tools-sles15sp1-04-zdev-Implement-no-settle.patch
+  * 
s390-tools-sles15sp1-05-zdev-Write-zfcp-lun-udev-rules-to-separate-files.patch
+  * 
s390-tools-sles15sp1-06-zdev-Add-support-for-handling-auto-configuration-dat.patch
+  * 
s390-tools-sles15sp1-07-zdev-Integrate-firmware-auto-configuration-with-drac.patch
+  * 
s390-tools-sles15sp1-08-zdev-Integrate-firmware-auto-configuration-with-init.patch
+  * s390-tools-sles15sp1-09-zdev-Implement-internal-device-attributes.patch
+  * 
s390-tools-sles15sp1-10-zdev-Implement-support-for-early-device-configuratio.patch
+  * s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
+- Removed the obsolete customize-zdev-root-update-script.patch
+- Replaced 
s390-tools-sles15-zdev-fix-qeth-BridgePort-and-VNICC-conflict-checking.patch
+  with 
s390-tools-sles15sp1-zdev-fix-qeth-BridgePort-and-VNICC-conflict-checking.patch
+  to fit the current version (bsc#1118618).
+
+---

Old:

  customize-zdev-root-update-script.patch
  s390-tools-sles15-zdev-fix-qeth-BridgePort-and-VNICC-conflict-checking.patch

New:

  s390-tools-sles15sp1-01-zdev-use-libutil-provided-path-functions.patch
  
s390-tools-sles15sp1-02-zdev-Prepare-for-firmware-configuration-file-support.patch
  
s390-tools-sles15sp1-03-zdev-Add-support-for-reading-firmware-configuration-.patch
  s390-tools-sles15sp1-04-zdev-Implement-no-settle.patch
  s390-tools-sles15sp1-05-zdev-Write-zfcp-lun-udev-rules-to-separate-files.patch
  
s390-tools-sles15sp1-06-zdev-Add-support-for-handling-auto-configuration-dat.patch
  
s390-tools-sles15sp1-07-zdev-Integrate-firmware-auto-configuration-with-drac.patch
  
s390-tools-sles15sp1-08-zdev-Integrate-firmware-auto-configuration-with-init.patch
  s390-tools-sles15sp1-09-zdev-Implement-internal-device-attributes.patch
  
s390-tools-sles15sp1-10-zdev-Implement-support-for-early-device-configuratio.patch
  s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
  
s390-tools-sles15sp1-zdev-fix-qeth-BridgePort-and-VNICC-conflict-checking.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.YTKldr/_old  2018-12-10 12:22:52.658853942 +0100
+++ /var/tmp/diff_new_pack.YTKldr/_new  2018-12-10 12:22:52.662853939 +0100
@@ -152,51 +152,60 @@
 Patch41:
s390-tools-sles15-6-lstape-fix-description-of-type-and-devbusid-filter-f.patch
 Patch42:
s390-tools-sles15-7-lstape-fix-SCSI-output-description-in-man-page.patch
 Patch43:
s390-tools-sles15-8-lstape-fix-SCSI-HBA-CCW-device-bus-ID-e.g.-for-virti.patch
-Patch44:
s390-tools-sles15-zdev-fix-qeth-BridgePort-and-VNICC-conflict-checking.patch
-Patch45:
s390-tools-sles15sp1-0001-zkey-Add-properties-file-handling-routines.patch
-Patch46:
s390-tools-sles15sp1-0002-zkey-Add-build-dependency-to-OpenSSL-libcrypto.patch
-Patch47:
s390-tools-sles15sp1-0003-zkey-Add-helper-functions-for-comma-separated-string.patch
-Patch48:
s390-tools-sles15sp1-0004-zkey-Externalize-secure-key-back-end-functions.patch
-Patch49:
s390-tools-sles15sp1-0005-zkey-Add-keystore-implementation.patch
-Patch50:
s390-tools-sles15sp1-0006-zkey-Add-keystore-related-commands.patch
-Patch51:
s390-tools-sles15sp1-0007-zkey-Create-key-repository-and-group-during-make-ins.patch
-Patch52:s390-tools-sles15sp1-0008-zkey-Man-page-updates.patch
-Patch53:
s390-tools-sles15sp1-0009-zkey-let-packaging-create-the-zkeyadm-group-and-perm.patch
-Patch54:
s390-tools-sles15sp1-0010-zkey-Update-README-to-add-info-about-packaging-requi.patch
-Patch55:s390-tools-sles15sp1-0011-zkey-Typo-in-message.patch
-Patch56:s390-tools-sles15sp1-0012-zkey-Fix-memory-leak.patc

commit s390-tools for openSUSE:Factory

2018-12-03 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2018-12-03 10:07:03

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new.19453 (New)


Package is "s390-tools"

Mon Dec  3 10:07:03 2018 rev:22 rq:653162 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2018-11-18 
23:22:43.346169888 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.19453/s390-tools.changes 
2018-12-03 10:07:20.555877473 +0100
@@ -1,0 +2,11 @@
+Thu Nov 29 00:03:01 UTC 2018 - mp...@suse.com
+
+- Added the following patches for Fate#326862 (bsc#1113328)
+  zcrypt DD: introduce APQN tags to support deterministic driver binding
+  * s390-tools-sles15sp1-01-chzcrypt-Corrections-at-the-chzcrypt-man-page.patch
+  * 
s390-tools-sles15sp1-02-lszcrypt-support-for-alternate-zcrypt-device-drivers.patch
+- Added the following patches for Fate#326804 (bsc#1113330)
+  Extended access controls for AP queue
+  * 
s390-tools-sles15sp1-01-zcryptctl-new-tool-zcryptctl-for-multiple-zcrypt-node.patch
+
+---
@@ -7,0 +19 @@
+  PCI error reporting tool (zpcictl)
@@ -18,0 +31 @@
+  Protected key dm-crypt key management tool (crypto)
@@ -29,0 +43 @@
+  dm-crypt with protected keys - change master key tool 
@@ -39,0 +54 @@
+  Add support for new crypto hardware
@@ -42,0 +58 @@
+  CPUMF Counters for z14
@@ -50,0 +67 @@
+  Collect NVMe-related debug data

New:

  s390-tools-sles15sp1-01-chzcrypt-Corrections-at-the-chzcrypt-man-page.patch
  
s390-tools-sles15sp1-01-zcryptctl-new-tool-zcryptctl-for-multiple-zcrypt-node.patch
  
s390-tools-sles15sp1-02-lszcrypt-support-for-alternate-zcrypt-device-drivers.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.UmYfCx/_old  2018-12-03 10:07:25.295873119 +0100
+++ /var/tmp/diff_new_pack.UmYfCx/_new  2018-12-03 10:07:25.299873115 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 Name:   s390-tools
 Version:2.1.0
 Release:0
-Url:https://github.com/ibm-s390-tools/s390-tools
+URL:https://github.com/ibm-s390-tools/s390-tools
 Summary:S/390 tools like zipl and dasdfmt
 License:MIT
 Group:  System/Kernel
@@ -153,45 +153,48 @@
 Patch42:
s390-tools-sles15-7-lstape-fix-SCSI-output-description-in-man-page.patch
 Patch43:
s390-tools-sles15-8-lstape-fix-SCSI-HBA-CCW-device-bus-ID-e.g.-for-virti.patch
 Patch44:
s390-tools-sles15-zdev-fix-qeth-BridgePort-and-VNICC-conflict-checking.patch
-Patch45:
s390-tools-sles15sp1-01-util_path-add-function-to-check-if-a-path-exists.patch
-Patch46:
s390-tools-sles15sp1-02-util_path-Add-description-for-util_path_exists.patch
-Patch47:
s390-tools-sles15sp1-03-util_path-Make-true-false-handling-consistent-with-o.patch
-Patch48:
s390-tools-sles15sp1-04-zpcictl-Introduce-new-tool-zpcictl.patch
-Patch49:
s390-tools-sles15sp1-05-zpcictl-include-sys-sysmacros.h-to-avoid-minor-major.patch
-Patch50:
s390-tools-sles15sp1-06-zpcictl-Rephrase-man-page-entries-and-tool-output.patch
-Patch51:
s390-tools-sles15sp1-07-zpcictl-Use-fopen-instead-of-open-for-writes.patch
-Patch52:
s390-tools-sles15sp1-08-zpcictl-Read-device-link-to-obtain-device-address.patch
-Patch53:
s390-tools-sles15sp1-09-zpcictl-Make-device-node-for-NVMe-optional.patch
-Patch54:
s390-tools-sles15sp1-10-zpcictl-Change-wording-of-man-page-and-help-output.patch
-Patch55:
s390-tools-sles15sp1-0001-zkey-Add-properties-file-handling-routines.patch
-Patch56:
s390-tools-sles15sp1-0002-zkey-Add-build-dependency-to-OpenSSL-libcrypto.patch
-Patch57:
s390-tools-sles15sp1-0003-zkey-Add-helper-functions-for-comma-separated-string.patch
-Patch58:
s390-tools-sles15sp1-0004-zkey-Externalize-secure-key-back-end-functions.patch
-Patch59:
s390-tools-sles15sp1-0005-zkey-Add-keystore-implementation.patch
-Patch60:
s390-tools-sles15sp1-0006-zkey-Add-keystore-related-commands.patch
-Patch61:
s390-tools-sles15sp1-0007-zkey-Create-key-repository-and-group-during-make-ins.patch
-Patch62:s390-tools-sles15sp1-0008-zkey-Man-page-updates.patch
-Patch63:
s390-tools-sles15sp1-0009-zkey-let-packaging-create-the-zkeyadm-group-and-perm.patch
-Patch64:
s390-tools-sles15sp1-0010-zkey-Update-README-to-add-

commit s390-tools for openSUSE:Factory

2018-09-20 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2018-09-20 11:37:11

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Thu Sep 20 11:37:11 2018 rev:20 rq:635597 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2018-07-13 
10:15:35.742045015 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2018-09-20 11:37:17.933003367 +0200
@@ -1,0 +2,39 @@
+Fri Aug 31 18:57:54 UTC 2018 - mp...@suse.com
+
+- Added the following patch for bsc#1094354
+  * customize-zdev-root-update-script.patch
+- Modified ctc_configure to not pass a "protcol=" parameter when
+  configuring LCS devices. (bsc#1096520)
+- Added the following patches for bsc#1098069
+  * s390-tools-sles15-dbginfo-add-data-for-ps-cpprot.patch
+  * s390-tools-sles15-mon_procd-fix-parsing-of-proc-pid-stat.patch
+  * 
s390-tools-sles15-1-lstape-fix-output-with-SCSI-lin_tape-and-multiple-pa.patch
+  * 
s390-tools-sles15-2-lstape-fix-to-prefer-sysfs-to-find-lin_tape-device-n.patch
+  * s390-tools-sles15-3-lstape-fix-output-without-SCSI-generic-sg.patch
+  * 
s390-tools-sles15-4-lsluns-fix-to-prevent-error-messages-if-there-are-no.patch
+  * 
s390-tools-sles15-5-lstape-fix-to-prevent-error-messages-if-there-are-no.patch
+  * 
s390-tools-sles15-6-lstape-fix-description-of-type-and-devbusid-filter-f.patch
+  * s390-tools-sles15-7-lstape-fix-SCSI-output-description-in-man-page.patch
+  * 
s390-tools-sles15-8-lstape-fix-SCSI-HBA-CCW-device-bus-ID-e.g.-for-virti.patch
+
+---
+Tue Aug  7 04:44:12 UTC 2018 - mp...@suse.com
+
+- dasd_reload: Fixed several syntax errors. Changed the script to
+  ensure that the DASD volume are actually activated in device
+  number order. If an old 51-dasd-.rules file is found,
+  rename it to obsolete-51-dasd-.rules, and use chzdev to
+  generate a new rules file. (bsc#1103407)
+
+---
+Mon Aug  6 12:42:14 CEST 2018 - h...@suse.de
+
+- dasd_reload: Check for 41-dasd--.rules in addition
+  to the original 51-dasd-.rules (bsc#1103407)
+
+---
+Fri Jul 27 17:56:14 UTC 2018 - mp...@suse.com
+
+- Removed s390 from the ExclusiveArch parameter (bsc#1102906)
+
+---

New:

  customize-zdev-root-update-script.patch
  s390-tools-sles15-1-lstape-fix-output-with-SCSI-lin_tape-and-multiple-pa.patch
  s390-tools-sles15-2-lstape-fix-to-prefer-sysfs-to-find-lin_tape-device-n.patch
  s390-tools-sles15-3-lstape-fix-output-without-SCSI-generic-sg.patch
  s390-tools-sles15-4-lsluns-fix-to-prevent-error-messages-if-there-are-no.patch
  s390-tools-sles15-5-lstape-fix-to-prevent-error-messages-if-there-are-no.patch
  s390-tools-sles15-6-lstape-fix-description-of-type-and-devbusid-filter-f.patch
  s390-tools-sles15-7-lstape-fix-SCSI-output-description-in-man-page.patch
  s390-tools-sles15-8-lstape-fix-SCSI-HBA-CCW-device-bus-ID-e.g.-for-virti.patch
  s390-tools-sles15-dbginfo-add-data-for-ps-cpprot.patch
  s390-tools-sles15-mon_procd-fix-parsing-of-proc-pid-stat.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.MReJYX/_old  2018-09-20 11:37:19.041002713 +0200
+++ /var/tmp/diff_new_pack.MReJYX/_new  2018-09-20 11:37:19.041002713 +0200
@@ -141,9 +141,21 @@
 Patch31:
s390-tools-sles15-zdev-Enable-running-chzdev-from-unknown-root-devices.patch
 Patch32:
s390-tools-sles15-zdev-Fix-zdev-dracut-module-aborting-on-unknown-root.patch
 Patch33:s390-tools-sles15-hmcdrvfs-fix-parsing-of-link-count.patch
+Patch34:s390-tools-sles15-dbginfo-add-data-for-ps-cpprot.patch
+Patch35:s390-tools-sles15-mon_procd-fix-parsing-of-proc-pid-stat.patch
+Patch36:
s390-tools-sles15-1-lstape-fix-output-with-SCSI-lin_tape-and-multiple-pa.patch
+Patch37:
s390-tools-sles15-2-lstape-fix-to-prefer-sysfs-to-find-lin_tape-device-n.patch
+Patch38:
s390-tools-sles15-3-lstape-fix-output-without-SCSI-generic-sg.patch
+Patch39:
s390-tools-sles15-4-lsluns-fix-to-prevent-error-messages-if-there-are-no.patch
+Patch40:
s390-tools-sles15-5-lstape-fix-to-prevent-error-messages-if-there-are-no.patch
+Patch41:
s390-tools-sles15-6-lstape-fix-description-of-type-and-devbusid-filter-f.patch
+Patch42:
s390-tools-sles15-7-lstape-fix-SCSI-output-description-in-man-page.patch
+Patch43:
s390-tools-sles15-8-lstape-fix-SCSI-HBA-CCW-device-bus-ID-e.g.-for-virti.patch
+
+Patch999:

commit s390-tools for openSUSE:Factory

2018-07-13 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2018-07-13 10:15:33

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Fri Jul 13 10:15:33 2018 rev:19 rq:621201 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2018-04-10 
09:53:04.626928698 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2018-07-13 10:15:35.742045015 +0200
@@ -1,0 +2,5 @@
+Wed May 30 10:22:01 CEST 2018 - h...@suse.de
+
+- mark active_devices.txt as %config(noreplace) (bsc#1090213)
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.DMjYEZ/_old  2018-07-13 10:15:37.314046870 +0200
+++ /var/tmp/diff_new_pack.DMjYEZ/_new  2018-07-13 10:15:37.314046870 +0200
@@ -480,7 +480,7 @@
 %config %attr(0640,root,ts-shell) /etc/iucvterm/unrestricted.conf
 %config /etc/modprobe.d/90-s390-tools.conf
 %config /etc/cpuplugd.conf
-%config /boot/zipl/active_devices.txt
+%config(noreplace) /boot/zipl/active_devices.txt
 %dir %attr(2770,root,ts-shell) /var/log/ts-shell
 %dir /etc/cmsfs-fuse
 %config %attr(0640,root,root) /etc/cmsfs-fuse/filetypes.conf




commit s390-tools for openSUSE:Factory

2018-04-10 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2018-04-10 09:52:57

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Tue Apr 10 09:52:57 2018 rev:18 rq:594083 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2018-03-26 
12:32:33.907346843 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2018-04-10 09:53:04.626928698 +0200
@@ -1,0 +2,7 @@
+Fri Apr  6 17:44:55 UTC 2018 - mp...@suse.com
+
+- Added s390-tools-sles15-hmcdrvfs-fix-parsing-of-link-count.patch
+  (bsc#1087452)
+  * hmcdrvfs: fix parsing of link count >= 1000
+
+---

New:

  s390-tools-sles15-hmcdrvfs-fix-parsing-of-link-count.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.M7FqJh/_old  2018-04-10 09:53:06.330866951 +0200
+++ /var/tmp/diff_new_pack.M7FqJh/_new  2018-04-10 09:53:06.334866807 +0200
@@ -140,6 +140,7 @@
 Patch30:
s390-tools-sles15-lsluns-complement-alternative-tools-with-lszdev.patch
 Patch31:
s390-tools-sles15-zdev-Enable-running-chzdev-from-unknown-root-devices.patch
 Patch32:
s390-tools-sles15-zdev-Fix-zdev-dracut-module-aborting-on-unknown-root.patch
+Patch33:s390-tools-sles15-hmcdrvfs-fix-parsing-of-link-count.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  s390 s390x
@@ -228,6 +229,7 @@
 %patch30 -p1
 %patch31 -p1
 %patch32 -p1
+%patch33 -p1
 
 cp -vi %{S:22} CAUTION
 

++ s390-tools-sles15-hmcdrvfs-fix-parsing-of-link-count.patch ++
Subject: [PATCH] [BZ 164881] hmcdrvfs: fix parsing of link count >= 1000
From: Gerald Schaefer 

Description:  hmcdrvfs: fix parsing of link count >= 1000
Symptom:  hmcdrvfs will ignore files with a link count >= 1000
Problem:  The parsing code relies on having spaces between the different
  fields in its input data. When a file has a link count >= 1000,
  there will be no space, and the "link count" field will be
  placed directly after the previous "mode" field. This will
  confuse the parser, and all such files will not be accesible.
Solution: The "mode" field will never contain digits, so the parser can
  recognize the "link count" field by the presence of a digit.
Reproduction: Use a medium containing files with link count >= 1000 in
  hmcdrvfs, and try to access/list them.
Upstream-ID:  -
Problem-ID:   164881

Signed-off-by: Gerald Schaefer 
---
 hmcdrvfs/hmcdrvfs.c |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

--- a/hmcdrvfs/hmcdrvfs.c
+++ b/hmcdrvfs/hmcdrvfs.c
@@ -821,10 +821,13 @@ static char *hmcdrv_parse_line(char *lin
if ((*line != '\0') && (*line != '\n')) {
field = hmcdrv_parse_ntoken(field, line, &attr);
 
-   while ((*line != '\0') &&
-  (*line != '\n') &&
-  !isspace(*line))
+   while ((*line != '\0') && (*line != '\n')) {
+   if (isspace(*line))
+   break;
+   if (field == 1 && isdigit(*line))
+   break;
++line; /* search end of field */
+   }
}
} /* while */
 



commit s390-tools for openSUSE:Factory

2018-03-26 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2018-03-26 12:32:26

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Mon Mar 26 12:32:26 2018 rev:17 rq:590431 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2018-01-16 
09:39:46.448981117 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2018-03-26 12:32:33.907346843 +0200
@@ -1,0 +2,6 @@
+Thu Mar 22 21:16:00 UTC 2018 - mp...@suse.com
+
+- Modified dasd_configure script to set a return code of 8 if a
+  DASD volume being brought online is not formatted. (bsc#1084503)
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.ocjcfx/_old  2018-03-26 12:32:36.347259244 +0200
+++ /var/tmp/diff_new_pack.ocjcfx/_new  2018-03-26 12:32:36.347259244 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package s390-tools
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ dasd_configure ++
--- /var/tmp/diff_new_pack.ocjcfx/_old  2018-03-26 12:32:36.607249909 +0200
+++ /var/tmp/diff_new_pack.ocjcfx/_new  2018-03-26 12:32:36.611249766 +0200
@@ -28,7 +28,8 @@
 # 1 to use z/VM DIAG250 I/O
 #
 # Return values:
-#   Return codes are determined by the chzdev command.
+#   Return codes are determined by the chzdev command, with one exception: If a
+#   DASD volume is not formatted, we will issue a return code of 8.
 #
 
 mesg () {
@@ -138,9 +139,35 @@
 RC=${?}
 if [ ${RC} -ne 0 ]; then
   exit ${RC}
+elif [ ${ON_OFF} == 1 ]; then
+exitcode=0
+# Extract the full busid so that we can reference the proper entries in 
/sys
+BUSID=$(/sbin/lszdev dasd ${CCW_CHAN_ID} | /usr/bin/sed -e 1d | 
/usr/bin/tr -s " " | /usr/bin/cut -f2 -d" " )
+# Make sure the DASD volume came online
+for ((counter=0; counter<30; counter++)); do
+  sleep 0.1
+  read online < /sys/bus/ccw/devices/${BUSID}/online
+  if [ ${online} -eq 1 ] ; then
+break
+  fi
+done
+
+if [ ${online} -ne 1 ]; then
+  debug_mesg "DASD ${CCW_CHAN_ID} did not come online."
+  exit 17
+fi
+
+# Check to see if the DASD volume is unformatted. If so, let YaST know.
+read status < /sys/bus/ccw/devices/${BUSID}/status
+if [ "${status}" == "unformatted" ]; then
+  mesg "DASD ${CCW_CHAN_ID} is unformatted."
+  exitcode=8
+fi
 fi
 
 if [ ${ON_OFF} == 1 ]; then
   add_cio_channel "${CCW_CHAN_ID}"
 else remove_cio_channel "${CCW_CHAN_ID}"
 fi
+
+exit ${exitcode}




commit s390-tools for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2018-01-16 09:39:44

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Tue Jan 16 09:39:44 2018 rev:16 rq:563490 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-12-12 
21:19:12.037344172 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2018-01-16 09:39:46.448981117 +0100
@@ -1,0 +2,10 @@
+Tue Dec 12 01:01:09 UTC 2017 - mp...@suse.com
+
+- Converted the following SysV init scripts to systemd unit files
+  and scripts (bsc#1050786):
+  * appldata
+  * hsnc
+  * vmlogrdr
+  * xpram
+
+---

Old:

  vmlogrdr

New:

  appldata.service
  hsnc.service
  vmlogrdr.service
  xpram.service



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.nBxNWZ/_old  2018-01-16 09:39:48.576881514 +0100
+++ /var/tmp/diff_new_pack.nBxNWZ/_new  2018-01-16 09:39:48.580881327 +0100
@@ -60,7 +60,6 @@
 Source6:sysconfig.xpram
 Source7:appldata
 Source8:sysconfig.appldata
-Source9:vmlogrdr
 Source10:   dasdro
 Source11:   dasd_reload
 Source12:   mkdump.pl
@@ -86,6 +85,10 @@
 Source34:   sysconfig.virtsetup
 Source35:   virtsetup.service
 Source36:   virtsetup.sh
+Source37:   appldata.service
+Source38:   hsnc.service
+Source39:   vmlogrdr.service
+Source40:   xpram.service
 
 ### Obsolete scripts and man pages to be removed once changes in other tools 
are made
 ### That's been delayed to at least SLES12 SP1, but I'm leaving the comments 
here.
@@ -268,19 +271,22 @@
 install -D -m755 %{S:31} %{buildroot}/usr/lib/systemd/scripts/detach_disks.sh
 install -D -m644 %{S:35} %{buildroot}/%{_unitdir}/virtsetup.service
 install -D -m755 %{S:36} %{buildroot}/usr/lib/systemd/scripts/virtsetup.sh
+install -D -m644 %{S:37} %{buildroot}/%{_unitdir}/appldata.service
+install -D -m644 %{S:38} %{buildroot}/%{_unitdir}/hsnc.service
+install -D -m644 %{S:39} %{buildroot}/%{_unitdir}/vmlogrdr.service
+install -D -m644 %{S:40} %{buildroot}/%{_unitdir}/xpram.service
 
 cp %{S:18} zpxe.rexx
 cp %{S:2} zipl.conf.sample
 cp  %{S:23} README.SUSE
 
 cd %{buildroot}
-install -D -m755 %{S:3} etc/init.d/hsnc
+install -D -m755 %{S:3} %{buildroot}/usr/lib/systemd/scripts/hsnc
 install -D -m644 %{S:4} %{buildroot}%{_fillupdir}/sysconfig.hsnc
-install -D -m755 %{S:5} etc/init.d/xpram
+install -D -m755 %{S:5} %{buildroot}/usr/lib/systemd/scripts/xpram
 install -D -m644 %{S:6} %{buildroot}%{_fillupdir}/sysconfig.xpram
-install -D -m755 %{S:7} etc/init.d/appldata
+install -D -m755 %{S:7} %{buildroot}/usr/lib/systemd/scripts/appldata
 install -D -m644 %{S:8} %{buildroot}%{_fillupdir}/sysconfig.appldata
-install -D -m755 %{S:9} etc/init.d/vmlogrdr
 install -D -m755 %{S:10} sbin/dasdro
 install -D -m755 %{S:11} sbin/dasd_reload
 install -D -m755 %{S:12} sbin/mkdump
@@ -301,10 +307,10 @@
 rm -f %{_sbindir}
 mkdir -p %{_sbindir}
 fi
-(cd usr/sbin; ln -s ../../etc/init.d/appldata rcappldata)
-(cd usr/sbin; ln -s ../../etc/init.d/hsnc rchsnc)
-(cd usr/sbin; ln -s ../../etc/init.d/vmlogrdr rcvmlogrdr)
-(cd usr/sbin; ln -s ../../etc/init.d/xpram rcxpram)
+(cd usr/sbin; ln -s service rcappldata)
+(cd usr/sbin; ln -s service rchsnc)
+(cd usr/sbin; ln -s service rcvmlogrdr)
+(cd usr/sbin; ln -s service rcxpram)
 (cd usr/sbin; ln -s service rccio_ignore)
 (cd usr/sbin; ln -s service rccpacfstatsd)
 (cd usr/sbin; ln -s service rccpi)

++ appldata ++
--- /var/tmp/diff_new_pack.nBxNWZ/_old  2018-01-16 09:39:48.708875336 +0100
+++ /var/tmp/diff_new_pack.nBxNWZ/_new  2018-01-16 09:39:48.708875336 +0100
@@ -2,51 +2,11 @@
 # Copyright (c) 2003 SUSE LINUX AG Nuernberg, Germany.
 #
 # Submit feedback to http://www.suse.de/feedback/
-#
-# /etc/init.d/appldata
-#
-#   and symbolic its link
-#
-# /use/sbin/rcappldata
-#
-# System startup script for "Linux - z/VM Monitor Stream".
-#
-### BEGIN INIT INFO
-# Provides: appldata
-# Required-Start: $network $remote_fs
-# Required-Stop:  $null
-# Default-Start:  3 5
-# Default-Stop:   0 1 6
-# Short-Description:Linux - z/VM Monitor Stream
-# Description:Start the Linux - z/VM Monitor Stream
-### END INIT INFO
-#
 
 # Local settings
 LOCKFILE=/var/lock/appldata
 CONFIGFILE=/etc/sysconfig/appldata
 
-# Shell functions sourced from /etc/rc.status:
-#  rc_check check and set local and overall rc status
-#  rc_statuscheck and set local and overall rc status
-#  rc_status -v ditto but be verbose in local rc status
-#  rc_status

commit s390-tools for openSUSE:Factory

2017-12-12 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-12-12 21:19:08

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Tue Dec 12 21:19:08 2017 rev:15 rq:555142 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-11-29 
10:51:41.850745197 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-12-12 21:19:12.037344172 +0100
@@ -1,0 +2,43 @@
+Thu Dec  7 23:08:31 UTC 2017 - mp...@suse.com
+
+- Added the following two patches (bsc#1071166):
+  s390-tools-sles15-zdev-Enable-running-chzdev-from-unknown-root-devices.patch
+  s390-tools-sles15-zdev-Fix-zdev-dracut-module-aborting-on-unknown-root.patch
+
+---
+Tue Dec  5 17:49:35 UTC 2017 - mp...@suse.com
+
+- Added the following patches (bsc#1070836):
+  s390-tools-sles15-cpuplugd-Improve-systemctl-start-error-handling.patch
+  s390-tools-sles15-mon_tools-Improve-systemctl-start-error-handling.patch
+  s390-tools-sles15-lsluns-do-not-scan-all-if-filters-match-nothing.patch
+  s390-tools-sles15-lsluns-do-not-print-confusing-messages-when-a-filter.patch
+  s390-tools-sles15-lsluns-fix-flawed-formatting-of-man-page.patch
+  s390-tools-sles15-lsluns-enhance-usage-statement-and-man-page.patch
+  s390-tools-sles15-lsluns-clarify-discovery-use-case-relation-to-NPIV-a.patch
+  s390-tools-sles15-lsluns-point-out-IBM-Storwize-configuration-requirem.patch
+  s390-tools-sles15-lsluns-document-restriction-to-zfcp-only-systems.patch
+  s390-tools-sles15-lsluns-complement-alternative-tools-with-lszdev.patch
+
+---
+Tue Dec  5 15:46:44 UTC 2017 - mp...@suse.com
+
+- Added "--no-root-update" to all the chzdev calls in the following
+  scripts for bsc#1071165:
+  ctc_configure
+  dasd_configure
+  qeth_configure
+  zfcp_disk_configure
+  zfcp_host_configure
+
+---
+Thu Nov 30 20:22:09 UTC 2017 - mp...@suse.com
+
+- Added the following patches (bsc#1068538)
+  * s390-tools-sles15-cpi-add-unit-install-section.patch
+  * s390-tools-sles15-zipl-remove-invalid-dasdview-command-line-option.patch
+  * s390-tools-sles15-ziomon-re-add-missing-line.patch
+- Modified s390-tools-sles15-zdev-Use-correct-path-to-vmcp-binary.patch to
+  point to the correct line in the common.mk file.
+
+---

New:

  s390-tools-sles15-cpi-add-unit-install-section.patch
  s390-tools-sles15-cpuplugd-Improve-systemctl-start-error-handling.patch
  s390-tools-sles15-lsluns-clarify-discovery-use-case-relation-to-NPIV-a.patch
  s390-tools-sles15-lsluns-complement-alternative-tools-with-lszdev.patch
  s390-tools-sles15-lsluns-do-not-print-confusing-messages-when-a-filter.patch
  s390-tools-sles15-lsluns-do-not-scan-all-if-filters-match-nothing.patch
  s390-tools-sles15-lsluns-document-restriction-to-zfcp-only-systems.patch
  s390-tools-sles15-lsluns-enhance-usage-statement-and-man-page.patch
  s390-tools-sles15-lsluns-fix-flawed-formatting-of-man-page.patch
  s390-tools-sles15-lsluns-point-out-IBM-Storwize-configuration-requirem.patch
  s390-tools-sles15-mon_tools-Improve-systemctl-start-error-handling.patch
  s390-tools-sles15-zdev-Enable-running-chzdev-from-unknown-root-devices.patch
  s390-tools-sles15-zdev-Fix-zdev-dracut-module-aborting-on-unknown-root.patch
  s390-tools-sles15-ziomon-re-add-missing-line.patch
  s390-tools-sles15-zipl-remove-invalid-dasdview-command-line-option.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.HMbqkN/_old  2017-12-12 21:19:13.293283542 +0100
+++ /var/tmp/diff_new_pack.HMbqkN/_new  2017-12-12 21:19:13.293283542 +0100
@@ -122,6 +122,21 @@
 Patch15:s390-tools-sles15-Fix-truncation-warning.patch
 Patch16:s390-tools-sles15-iucvterm-include-ctype-for-toupper.patch
 Patch17:s390-tools-sles15-zdev-Use-correct-path-to-vmcp-binary.patch
+Patch18:s390-tools-sles15-cpi-add-unit-install-section.patch
+Patch19:
s390-tools-sles15-zipl-remove-invalid-dasdview-command-line-option.patch
+Patch20:s390-tools-sles15-ziomon-re-add-missing-line.patch
+Patch21:
s390-tools-sles15-cpuplugd-Improve-systemctl-start-error-handling.patch
+Patch22:
s390-tools-sles15-mon_tools-Improve-systemctl-start-error-handling.patch
+Patch23:
s390-tools-sles15-lsluns-do-not-scan-all-if-filters-match-nothing.patch
+Patch24:
s390-tools-sles15-lsluns-do-not-print-confusing-messages-when-a-filter.patch
+Pat

commit s390-tools for openSUSE:Factory

2017-11-29 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-11-29 10:51:38

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Wed Nov 29 10:51:38 2017 rev:14 rq:545112 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-11-16 
13:59:53.296073880 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-11-29 10:51:41.850745197 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:41:27 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.dNQ8SR/_old  2017-11-29 10:51:44.878635348 +0100
+++ /var/tmp/diff_new_pack.dNQ8SR/_new  2017-11-29 10:51:44.882635203 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   s390-tools
 Version:2.1.0
 Release:0
@@ -223,10 +228,10 @@
 install -D -m644 etc/udev/rules.d/57-osasnmpd.rules 
%{buildroot}/usr/lib/udev/rules.d/57-osasnmpd.rules
 install -D -m644 etc/udev/rules.d/59-dasd.rules 
%{buildroot}/usr/lib/udev/rules.d/59-dasd.rules
 install -D -m644 etc/udev/rules.d/90-cpi.rules 
%{buildroot}/usr/lib/udev/rules.d/90-cpi.rules
-install -D -m644 etc/sysconfig/cpi 
%{buildroot}/var/adm/fillup-templates/sysconfig.cpi
-install -D -m644 etc/sysconfig/dumpconf 
%{buildroot}/var/adm/fillup-templates/sysconfig.dumpconf
-install -D -m644 etc/sysconfig/mon_fsstatd 
%{buildroot}/var/adm/fillup-templates/sysconfig.mon_fsstatd
-install -D -m644 etc/sysconfig/mon_procd 
%{buildroot}/var/adm/fillup-templates/sysconfig.mon_procd
+install -D -m644 etc/sysconfig/cpi %{buildroot}%{_fillupdir}/sysconfig.cpi
+install -D -m644 etc/sysconfig/dumpconf 
%{buildroot}%{_fillupdir}/sysconfig.dumpconf
+install -D -m644 etc/sysconfig/mon_fsstatd 
%{buildroot}%{_fillupdir}/sysconfig.mon_fsstatd
+install -D -m644 etc/sysconfig/mon_procd 
%{buildroot}%{_fillupdir}/sysconfig.mon_procd
 mv iucvterm/doc/ts-shell/iucvconn_on_login 
%{buildroot}/usr/bin/iucvconn_on_login
 install -D -m644 %{S:26} %{buildroot}/%{_unitdir}/cio_ignore.service
 install -D -m755 %{S:27} 
%{buildroot}/usr/lib/systemd/scripts/setup_cio_ignore.sh
@@ -240,16 +245,16 @@
 
 cd %{buildroot}
 install -D -m755 %{S:3} etc/init.d/hsnc
-install -D -m644 %{S:4} var/adm/fillup-templates/sysconfig.hsnc
+install -D -m644 %{S:4} %{buildroot}%{_fillupdir}/sysconfig.hsnc
 install -D -m755 %{S:5} etc/init.d/xpram
-install -D -m644 %{S:6} var/adm/fillup-templates/sysconfig.xpram
+install -D -m644 %{S:6} %{buildroot}%{_fillupdir}/sysconfig.xpram
 install -D -m755 %{S:7} etc/init.d/appldata
-install -D -m644 %{S:8} var/adm/fillup-templates/sysconfig.appldata
+install -D -m644 %{S:8} %{buildroot}%{_fillupdir}/sysconfig.appldata
 install -D -m755 %{S:9} etc/init.d/vmlogrdr
 install -D -m755 %{S:10} sbin/dasdro
 install -D -m755 %{S:11} sbin/dasd_reload
 install -D -m755 %{S:12} sbin/mkdump
-install -D -m644 %{S:13} var/adm/fillup-templates/sysconfig.osasnmpd
+install -D -m644 %{S:13} %{buildroot}%{_fillupdir}/sysconfig.osasnmpd
 install -D -m755 %{S:14} sbin/zfcp_san_disc
 install -D -m644 %{S:15} %{buildroot}/%{_mandir}/man8
 install -D -m644 %{S:19} %{buildroot}/usr/lib/udev/rules.d/52-xpram.rules
@@ -260,7 +265,7 @@
 install -D -m644 %{S:30} %{buildroot}/etc/modprobe.d/90-s390-tools.conf
 install -D -m755 %{S:32} %{buildroot}/sbin/killcdl
 install -D -m755 %{S:33} %{buildroot}/sbin/lgr_check
-install -D -m644 %{S:34} var/adm/fillup-templates/sysconfig.virtsetup
+install -D -m644 %{S:34} %{buildroot}%{_fillupdir}/sysconfig.virtsetup
 
 if [ ! -d %{_sbindir} ]; then
 rm -f %{_sbindir}




commit s390-tools for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-11-16 13:59:52

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Thu Nov 16 13:59:52 2017 rev:13 rq:541904 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-11-14 
12:42:04.944175232 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-11-16 13:59:53.296073880 +0100
@@ -1,0 +2,6 @@
+Tue Nov 14 21:38:25 UTC 2017 - mp...@suse.com
+
+- Added "HAVE_DRACUT=1" to the make install command. This will
+  include the new dracut support module. (bsc#1068040)
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.pvSZS3/_old  2017-11-16 13:59:54.320036776 +0100
+++ /var/tmp/diff_new_pack.pvSZS3/_new  2017-11-16 13:59:54.324036631 +0100
@@ -209,7 +209,8 @@
 %make_install \
  ZFCPDUMP_DIR=/usr/lib/s390-tools/zfcpdump \
  DISTRELEASE=%{release} \
- SYSTEMDSYSTEMUNITDIR=%{_unitdir}
+ SYSTEMDSYSTEMUNITDIR=%{_unitdir} \
+ HAVE_DRACUT=1
 
 install -m 755 read_values %{buildroot}/%{_bindir}/
 install -m644 -t %{buildroot}/%{_mandir}/man8 %{S:87}
@@ -457,6 +458,7 @@
 %exclude %{_mandir}/man1/zdsfs.1.gz
 %exclude %{_mandir}/man1/hmcdrvfs.1.gz
 %exclude %{_mandir}/man8/lshmc.8.gz
+/usr/lib/dracut/modules.d/95zdev
 
 %files -n osasnmpd -f %{_builddir}/%{name}.osasnmp
 %defattr(-,root,root)




commit s390-tools for openSUSE:Factory

2017-11-14 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-11-14 12:42:03

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Tue Nov 14 12:42:03 2017 rev:12 rq:541729 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-11-03 
16:21:47.842877303 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-11-14 12:42:04.944175232 +0100
@@ -1,0 +2,19 @@
+Tue Nov 14 03:19:55 UTC 2017 - mp...@suse.com
+
+- Added s390-tools-sles15-zdev-Use-correct-path-to-vmcp-binary.patch
+  zdev: Use correct path to vmcp binary (bsc#1055909)
+- Modified the spec file to also install /etc/cpuplugd.conf
+  (bsc#1066328)
+- Dropped installation of obsolete /etc/sysconfig/mon_statd.
+- Removed "-i" option from "fillup_only" macro for osasnmpd to get
+  rid of a warning message from RPM.
+
+---
+Thu Nov  9 20:39:38 UTC 2017 - mp...@suse.com
+
+- Updated the cputype script to recognize the new IBM z14
+  processor (bsc#1049843).
+- Re-instated the new versions of ctc_configure, dasd_configure,
+  qeth_configure, zfcp_disk_configure, zfcp_host_configure.
+
+---

New:

  s390-tools-sles15-zdev-Use-correct-path-to-vmcp-binary.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.25NRop/_old  2017-11-14 12:42:06.664112319 +0100
+++ /var/tmp/diff_new_pack.25NRop/_new  2017-11-14 12:42:06.668112172 +0100
@@ -116,6 +116,7 @@
 Patch14:
s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl.patch
 Patch15:s390-tools-sles15-Fix-truncation-warning.patch
 Patch16:s390-tools-sles15-iucvterm-include-ctype-for-toupper.patch
+Patch17:s390-tools-sles15-zdev-Use-correct-path-to-vmcp-binary.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  s390 s390x
@@ -188,6 +189,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 
 cp -vi %{S:22} CAUTION
 
@@ -215,6 +217,7 @@
 export ROOT_BUILD_DIR="%{_builddir}/%{name}-%{version}/zfcpdump/kernel"
 install -D -m600 /boot/image-*-zfcpdump 
%{buildroot}/usr/lib/s390-tools/zfcpdump/zfcpdump_part.image
 
+install -D -m644 etc/cpuplugd.conf %{buildroot}/etc/cpuplugd.conf
 install -D -m644 etc/udev/rules.d/40-z90crypt.rules 
%{buildroot}/usr/lib/udev/rules.d/40-z90crypt.rules
 install -D -m644 etc/udev/rules.d/57-osasnmpd.rules 
%{buildroot}/usr/lib/udev/rules.d/57-osasnmpd.rules
 install -D -m644 etc/udev/rules.d/59-dasd.rules 
%{buildroot}/usr/lib/udev/rules.d/59-dasd.rules
@@ -223,7 +226,6 @@
 install -D -m644 etc/sysconfig/dumpconf 
%{buildroot}/var/adm/fillup-templates/sysconfig.dumpconf
 install -D -m644 etc/sysconfig/mon_fsstatd 
%{buildroot}/var/adm/fillup-templates/sysconfig.mon_fsstatd
 install -D -m644 etc/sysconfig/mon_procd 
%{buildroot}/var/adm/fillup-templates/sysconfig.mon_procd
-install -D -m644 etc/sysconfig/mon_statd 
%{buildroot}/var/adm/fillup-templates/sysconfig.mon_statd
 mv iucvterm/doc/ts-shell/iucvconn_on_login 
%{buildroot}/usr/bin/iucvconn_on_login
 install -D -m644 %{S:26} %{buildroot}/%{_unitdir}/cio_ignore.service
 install -D -m755 %{S:27} 
%{buildroot}/usr/lib/systemd/scripts/setup_cio_ignore.sh
@@ -368,7 +370,7 @@
|| echo "/usr/bin/ts-shell" >> /etc/shells
 
 %post -n osasnmpd
-%{fillup_only -i -n osasnmpd}
+%{fillup_only -n osasnmpd}
 
 %preun
 %{stop_on_removal appldata}
@@ -433,6 +435,7 @@
 %config %attr(0640,root,ts-shell) /etc/iucvterm/ts-shell.conf
 %config %attr(0640,root,ts-shell) /etc/iucvterm/unrestricted.conf
 %config /etc/modprobe.d/90-s390-tools.conf
+%config /etc/cpuplugd.conf
 %config /boot/zipl/active_devices.txt
 %dir %attr(2770,root,ts-shell) /var/log/ts-shell
 %dir /etc/cmsfs-fuse

++ cputype ++
--- /var/tmp/diff_new_pack.25NRop/_old  2017-11-14 12:42:06.796107490 +0100
+++ /var/tmp/diff_new_pack.25NRop/_new  2017-11-14 12:42:06.796107490 +0100
@@ -2,7 +2,7 @@
 #
 # cputype
 #
-# Copyright (c) 2014-2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2014-2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # Based on the IBM machine model, returns a (hopefully) human understandable
 # string that identifies the processor.
@@ -58,6 +58,7 @@
   2828) echo "${machine} = z12-BC  IBM zEnterprise BC12" ;;
   2964) echo "${machine} = z13 IBM z13" ;;
   2965) echo "${machine} = z13sIBM z13s (single frame)" ;;
+  3906) echo "${machine} = z14 IBM z14" ;;
   *) echo "An unknown machine type was reported: ${machine}" >&2
  echo "Please file a bug report with this out

commit s390-tools for openSUSE:Factory

2017-11-03 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-11-03 16:21:40

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Fri Nov  3 16:21:40 2017 rev:11 rq:537235 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-10-25 
17:44:30.787886244 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-11-03 16:21:47.842877303 +0100
@@ -1,0 +2,8 @@
+Wed Oct 25 17:21:30 UTC 2017 - mp...@suse.com
+
+- Modified s390-tools-sles15-Format-devices-in-parallel.patch to
+  reset the rc variable before using it again (bsc#1063393).
+- Reverted the changes to the *_configure scripts until
+  bsc#1064791 is fixed.
+
+---



Other differences:
--
++ ctc_configure ++
--- /var/tmp/diff_new_pack.qwTXCe/_old  2017-11-03 16:21:49.082832175 +0100
+++ /var/tmp/diff_new_pack.qwTXCe/_new  2017-11-03 16:21:49.086832029 +0100
@@ -2,127 +2,316 @@
 #
 # ctc_configure
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-#
-# Configures a CTC device by calling the IBM-provided chzdev command.
-# Whereas this script used to validate the parameters provided to it,
-# we now rely on chzdev to do that instead. The script is intended only
-# as a "translation layer" to provide backward compatability for older
-# scripts and tools that invoke it.
+# Configures a CTC device
 #
 # Usage:
 #   ctc_configure[]
 #
 #  read/write channel = x.y. where
-#   x is always 0 until IBM creates something that
-#  uses that number
-#   y is the logical channel subsystem (lcss) number.
-#  Most often this is 0, but it could be non-zero
-#    is the four digit subchannel address of the
-# device, in hexidecimal, with leading zeros.
+#   x is always 0 until IBM creates something that 
uses that number
+#   y is the logical channel subsystem (lcss) number. 
Most often this is 0, but it could be non-zero
+#    is the four digit subchannel address of the 
device, in hexidecimal, with leading zeros.
 #  online = 0 to take the device offline
 #   1 to bring the device online
-#  protocol = 0 Compatibility with peers other than OS/390®, or z/OS, for
-#example, a z/VM TCP service machine. This is the default.
+#  protocol = 0 Compatibility with peers other than OS/390®, or z/OS, for 
example, a z/VM TCP service machine. This is the default.
 # 1 Enhanced package checking for Linux peers.
 # 3 For compatibility with OS/390 or z/OS peers.
-# 4 For MPC connections to VTAM on traditional mainframe
-#operating systems.
+# 4 For MPC connections to VTAM on traditional mainframe 
operating systems.
 #
 # Return values:
-#   Return codes are determined by the chzdev command.
+#   1  sysfs not mounted
+#   2  Invalid status for 
+#   3  No device found for read-channel
+#   4  No device found for write-channel
+#   5  Invalid device type
+#   6  Device type mismatch
+#   7  Could not load module
+#   8  CCW devices grouped different devices
+#   9  Could not group devices
+#   10 Could not set device online
+#   11 Could not set device offline
 #
 
+if [ "${DEBUG}" != "yes" ]; then
+  DEBUG="no"
+fi
+
+DATUM=$(date)
+
+add_channel_for_cio() {
+   echo "$* # $DATUM" >> /boot/zipl/active_devices.txt
+}
+
+remove_channel_for_cio() {
+   [ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^$1/d" 
/boot/zipl/active_devices.txt
+}
+
 mesg () {
 echo "$@"
 }
 
 debug_mesg () {
-case "${DEBUG}" in
-   yes) mesg "$@" ;;
-   *) ;;
+case "$DEBUG" in
+yes) mesg "$@" ;;
+*) ;;
 esac
 }
 
-add_cio_channel() {
-   echo "$* # ${DATE}" >> /boot/zipl/active_devices.txt
-}
-
-remove_cio_channel() {
-   [ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^${1}/d" 
/boot/zipl/active_devices.txt
-}
+# Get the mount point for sysfs
+while read MNTPT MNTDIR MNTSYS MNTTYPE; do
+if test "$MNTSYS" = "sysfs"; then
+   SYSFS="$MNTDIR"
+   break;
+fi 
+done[]"
-  echo "   read/write channel = x.y. where"
-  echo "x is always 0 until IBM creates something 
that"
-  echo "   uses that number"
-  echo "y is the logical channel subsystem (lcss) 
n

commit s390-tools for openSUSE:Factory

2017-10-25 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-10-25 17:44:27

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Wed Oct 25 17:44:27 2017 rev:10 rq:536228 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-10-20 
14:39:11.974966866 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-10-25 17:44:30.787886244 +0200
@@ -1,0 +2,11 @@
+Mon Oct 23 23:41:51 UTC 2017 - mp...@suse.com
+
+- Replaced the following SUSE-written scripts with wrappers that
+  call the IBM-provided chzdev command in s390-tools. (Fate#322268)
+  * ctc_configure
+  * dasd_configure
+  * qeth_configure
+  * zfcp_disk_configure
+  * zfcp_host_configure
+
+---



Other differences:
--
++ ctc_configure ++
--- /var/tmp/diff_new_pack.F8Q34L/_old  2017-10-25 17:44:32.035827674 +0200
+++ /var/tmp/diff_new_pack.F8Q34L/_new  2017-10-25 17:44:32.039827487 +0200
@@ -2,316 +2,127 @@
 #
 # ctc_configure
 #
-# Configures a CTC device
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# Configures a CTC device by calling the IBM-provided chzdev command.
+# Whereas this script used to validate the parameters provided to it,
+# we now rely on chzdev to do that instead. The script is intended only
+# as a "translation layer" to provide backward compatability for older
+# scripts and tools that invoke it.
 #
 # Usage:
 #   ctc_configure[]
 #
 #  read/write channel = x.y. where
-#   x is always 0 until IBM creates something that 
uses that number
-#   y is the logical channel subsystem (lcss) number. 
Most often this is 0, but it could be non-zero
-#    is the four digit subchannel address of the 
device, in hexidecimal, with leading zeros.
+#   x is always 0 until IBM creates something that
+#  uses that number
+#   y is the logical channel subsystem (lcss) number.
+#  Most often this is 0, but it could be non-zero
+#    is the four digit subchannel address of the
+# device, in hexidecimal, with leading zeros.
 #  online = 0 to take the device offline
 #   1 to bring the device online
-#  protocol = 0 Compatibility with peers other than OS/390®, or z/OS, for 
example, a z/VM TCP service machine. This is the default.
+#  protocol = 0 Compatibility with peers other than OS/390®, or z/OS, for
+#example, a z/VM TCP service machine. This is the default.
 # 1 Enhanced package checking for Linux peers.
 # 3 For compatibility with OS/390 or z/OS peers.
-# 4 For MPC connections to VTAM on traditional mainframe 
operating systems.
+# 4 For MPC connections to VTAM on traditional mainframe
+#operating systems.
 #
 # Return values:
-#   1  sysfs not mounted
-#   2  Invalid status for 
-#   3  No device found for read-channel
-#   4  No device found for write-channel
-#   5  Invalid device type
-#   6  Device type mismatch
-#   7  Could not load module
-#   8  CCW devices grouped different devices
-#   9  Could not group devices
-#   10 Could not set device online
-#   11 Could not set device offline
+#   Return codes are determined by the chzdev command.
 #
 
-if [ "${DEBUG}" != "yes" ]; then
-  DEBUG="no"
-fi
-
-DATUM=$(date)
-
-add_channel_for_cio() {
-   echo "$* # $DATUM" >> /boot/zipl/active_devices.txt
-}
-
-remove_channel_for_cio() {
-   [ -w /boot/zipl/active_devices.txt ] && sed -i -e "/^$1/d" 
/boot/zipl/active_devices.txt
-}
-
 mesg () {
 echo "$@"
 }
 
 debug_mesg () {
-case "$DEBUG" in
-yes) mesg "$@" ;;
-*) ;;
+case "${DEBUG}" in
+   yes) mesg "$@" ;;
+   *) ;;
 esac
 }
 
-# Get the mount point for sysfs
-while read MNTPT MNTDIR MNTSYS MNTTYPE; do
-if test "$MNTSYS" = "sysfs"; then
-   SYSFS="$MNTDIR"
-   break;
-fi 
-done[]"
-echo " read/write channel = x.y. where"
-echo "  x is always 0 until IBM creates something 
that uses that number"
-echo "  y is the logical channel subsystem (lcss) 
number. Most often this is 0, but it could be non-zero"
-echo "   is the four digit subchannel address 
of the device, in hexidecimal, with leading zeros."
-echo " online = 0 to tak

commit s390-tools for openSUSE:Factory

2017-10-20 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-10-20 14:39:10

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Fri Oct 20 14:39:10 2017 rev:9 rq:535009 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-10-13 
14:03:17.657982955 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-10-20 14:39:11.974966866 +0200
@@ -1,0 +2,26 @@
+Wed Oct 18 16:22:27 UTC 2017 - mp...@suse.com
+
+- Deleted s390-tools-sles12-pardasdfmt.patch and replaced it with
+  the following patches (bsc#1063393):
+  * s390-tools-sles15-Allow-multiple-device-arguments.patch
+  * s390-tools-sles15-Drop-device_id-parameter.patch
+  * s390-tools-sles15-Fixup-dasdfmt_get_volser.patch
+  * s390-tools-sles15-Fixup-device-name-handling.patch
+  * s390-tools-sles15-Format-devices-in-parallel.patch
+  * s390-tools-sles15-Implement-f-for-backwards-compability.patch
+  * s390-tools-sles15-Implement-Y-yast_mode.patch
+- Reworked dasdfmt-retry-BIODASDINFO-if-device-is-busy.patch to fit
+  on top of replacement patches.
+- Cleaned up the patch headers for the following:
+  * s390-tools-sles12-sysconfig-compatible-dumpconf.patch
+  * s390-tools-sles12-update-by_id-links-on-change-and-add-action.patch
+- Added the following patches:
+  * s390-tools-sles15-Fix-truncation-warning.patch
+  * s390-tools-sles15-iucvterm-include-ctype-for-toupper.patch
+- Removed redundant %clean section. Replaced old RPM variables.
+- Removed %service* macros for iucvtty-login@.service and
+  ttyrun-getty@.service since systemd complained about them.
+- Replaced all fillup_and_insserv macros with fillup_only since
+  we weren't running the "insserv" part anyway.
+
+---
@@ -5,0 +32,2 @@
+  Also changed the method used to determine the maximum dump size
+  for SCSI devices.

Old:

  s390-tools-sles12-pardasdfmt.patch

New:

  s390-tools-sles15-Allow-multiple-device-arguments.patch
  s390-tools-sles15-Drop-device_id-parameter.patch
  s390-tools-sles15-Fix-truncation-warning.patch
  s390-tools-sles15-Fixup-dasdfmt_get_volser.patch
  s390-tools-sles15-Fixup-device-name-handling.patch
  s390-tools-sles15-Format-devices-in-parallel.patch
  s390-tools-sles15-Implement-Y-yast_mode.patch
  s390-tools-sles15-Implement-f-for-backwards-compability.patch
  s390-tools-sles15-iucvterm-include-ctype-for-toupper.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.2MVq7z/_old  2017-10-20 14:39:14.786835286 +0200
+++ /var/tmp/diff_new_pack.2MVq7z/_new  2017-10-20 14:39:14.786835286 +0200
@@ -104,10 +104,18 @@
 Patch2: s390-tools-sles12-sysconfig-compatible-dumpconf.patch
 Patch3: s390-tools-sles12-create-filesystem-links.patch
 Patch4: 
s390-tools-sles12-update-by_id-links-on-change-and-add-action.patch
-Patch5: s390-tools-sles12-pardasdfmt.patch
-Patch6: dasdfmt-retry-BIODASDINFO-if-device-is-busy.patch
-Patch7: 59-dasd.rules-wait_for.patch
-Patch8: 
s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl.patch
+Patch5: s390-tools-sles15-Fixup-dasdfmt_get_volser.patch
+Patch6: s390-tools-sles15-Fixup-device-name-handling.patch
+Patch7: s390-tools-sles15-Drop-device_id-parameter.patch
+Patch8: s390-tools-sles15-Allow-multiple-device-arguments.patch
+Patch9: s390-tools-sles15-Format-devices-in-parallel.patch
+Patch10:s390-tools-sles15-Implement-Y-yast_mode.patch
+Patch11:s390-tools-sles15-Implement-f-for-backwards-compability.patch
+Patch12:dasdfmt-retry-BIODASDINFO-if-device-is-busy.patch
+Patch13:59-dasd.rules-wait_for.patch
+Patch14:
s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl.patch
+Patch15:s390-tools-sles15-Fix-truncation-warning.patch
+Patch16:s390-tools-sles15-iucvterm-include-ctype-for-toupper.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  s390 s390x
@@ -168,10 +176,18 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-#patch5 -p1
+%patch5 -p1
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 
 cp -vi %{S:22} CAUTION
 
@@ -181,45 +197,45 @@
 # commands, since make install runs sed commands against various scripts to
 # modify the "-v" output appropriately.
 
-export OPT_FLAGS="$RPM_OPT_FLAGS"
+export OPT_FLAGS="%{optflags}"
 export KERNELIMAGE_MAKEFLAGS="%%{?_smp_mflags}"
 make ZFCPDUMP_DIR=/usr/lib/s390-tools/zfcpdump 

commit s390-tools for openSUSE:Factory

2017-10-13 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-10-13 14:03:14

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Fri Oct 13 14:03:14 2017 rev:8 rq:531962 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-09-12 
19:39:37.608092549 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-10-13 14:03:17.657982955 +0200
@@ -1,0 +2,178 @@
+Thu Oct  5 20:47:52 UTC 2017 - mp...@suse.com
+
+- Modified mkdump perl script to work with the updated version
+  of the IBM tools dasdview, zipl and zgetdump. (bsc#1020336).
+
+---
+Wed Oct  4 19:45:29 UTC 2017 - mp...@suse.com
+
+- Upgraded to version 2.1.0 (Fate#323291).
+  Changes from 2.0.0 to 2.1.0
+  * Added the following tools:
+netboot: Scripts for building a PXE-style netboot image for KVM
+90-cpi.rules/cpictl: New udev rule to update CPI when KVM is used
+  * Modified lsqeth/zdev to add VNIC Characteristics support
+  Bug fixes
+  * chzcrypt: Corrected handling of insufficient permissions
+  * cpacfstats: Add size setting to perf event
+  * fdasd: Skip partition check with the force option
+  * ttyrun: Fix deprecated BindTo usage in ttyrun-ge...@.service.in
+  * lszcrypt: Fix core dump caused by stack overwrite
+  * lszcrypt: Fix random domain printout when no config available
+  * zdev: Fix segfault with unknown qeth attribute
+  * zdev: Fix IPv6 NDP proxy description
+  * zdev: Fix zdev dracut module temp file location
+  * zkey: Correctly detect abbreviated commands
+  * zkey: Validate XTS key: ignore domain and card
+  * zkey: Use octal values instead of S_IRWX* constants
+  * zkey: Properly set umask to prohibit permissions to group and others
+  * zkey: Add -ldl to LDLIBS (not LDFLAGS)
+  * znetconf: Re-add missing line in lsznet.raw
+  * Fix several gcc 7 warnings
+- Modified 
s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl.patch
+  to apply cleanly to this version.
+- Removed the following obsolete patches:
+  * s390-tools-sles15-zgetdump-Fix-gcc-7-warning.patch
+  * s390-tools-sles15-lscss-Get-rid-of-gcc-7-buffer-truncation-warnings.patch
+  * s390-tools-sles15-Get-rid-of-gcc-7-fall-through-warnings.patch
+  * s390-tools-sles15-lszcrypt-Fix-core-dump-caused-by-stack-overwrite.patch
+  * s390-tools-sles15-dasdinfo-Fix-GCC-7-overflow-warning.patch
+
+---
+Thu Sep  8 21:06:37 UTC 2017 - mp...@suse.com
+
+- Added the following patches (bsc#1056498)
+  - s390-tools-sles15-zgetdump-Fix-gcc-7-warning.patch
+  - s390-tools-sles15-lscss-Get-rid-of-gcc-7-buffer-truncation-warnings.patch
+  - s390-tools-sles15-Get-rid-of-gcc-7-fall-through-warnings.patch
+  - s390-tools-sles15-lszcrypt-Fix-core-dump-caused-by-stack-overwrite.patch
+  - s390-tools-sles15-dasdinfo-Fix-GCC-7-overflow-warning.patch
+
+---
+Tue Sep  8 20:01:35 UTC 2017 - mp...@suse.com
+
+- Upgraded to version 2.0.0 (Fate#323291).
+  - Changes from 1.34.0 to 1.35.0
+- cpuplugd: Make default config file location more distribution agnostic
+Add systemd service unit to start/stop the cpuplug daemon
+Add force-reload action to init script for LSB-compliance
+- mon_statd: Add force-reload action to init script for LSB-compliance
+- chiucvallow: corrected verification return code
+- lczdev/chzdev: Add support for resolving iSCSI block devices
+Bug fixes
+- chzdev, lszdev: Fix incorrect zfcp module parameter name
+- chreipl: Fix chreipl node for virtio devices
+- libus2s: Fix busid parsing
+- zipl/boot: Fix failed start subchannel in FBA loader
+  - Changes from 1.35.0 to 1.36.0
+- chzdev/lszdev: Add device resolution for vlan and bonding devices
+- dasdfmt: Add quick format support
+- lsdasd/fdasd/dasdfmt/zdsfs: Add query host access to volume support
+- zfcpdbf: Make timestamp the first field in record output
+   Exclude Payload hex field from log message record output
+   Add Area field to record output
+   Add missing header fields to area record output
+   Print the Record id field for Area area class records
+   Mark oldest and newest trace area records
+   Mark oldest and newest def_err pseudo area records
+   Mark oldest and newest foreign area records
+   Mark oldest and newest log message records
+   Add a warning about low resolution timestamps
+   Add Trace Area Statistics table to script output
+   Add

commit s390-tools for openSUSE:Factory

2017-09-12 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-09-12 19:39:36

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Tue Sep 12 19:39:36 2017 rev:7 rq:522151 version:1.34.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-07-11 
08:32:59.910905684 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-09-12 19:39:37.608092549 +0200
@@ -1,0 +2,12 @@
+Thu Sep  7 19:41:39 UTC 2017 - mp...@suse.com
+
+- Temporarily added BuildIgnore: gcc-PIE to the spec file to
+  avoid a problem with zipl not working. (bsc#1055343)
+
+---
+Wed Jul 12 18:14:13 UTC 2017 - mp...@suse.com
+
+- Added s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch
+  (bsc#1048363).
+
+---
@@ -4 +16 @@
-- remove lsmem and chmem and their manpages from the package,
+- Remove lsmem and chmem and their manpages from the package,

New:

  s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.AF8Weq/_old  2017-09-12 19:39:38.703938541 +0200
+++ /var/tmp/diff_new_pack.AF8Weq/_new  2017-09-12 19:39:38.707937978 +0200
@@ -44,6 +44,8 @@
 Requires:   tar
 Requires:   util-linux
 Provides:   s390utils:/sbin/dasdfmt
+# Don't build with pie to avoid problems with zipl
+#!BuildIgnore: gcc-PIE
 Source: s390-tools-%{version}.tar.bz2
 Source1:s390-tools-rpmlintrc
 Source2:zipl.conf
@@ -133,6 +135,7 @@
 Patch31:
s390-tools-sles12sp3-mon_fsstatd-fix-double-free-in-error-path-and-skip-virtual-fs.patch
 Patch32:s390-tools-sles12sp3-dbginfo-Collect-docker-debug-data.patch
 Patch33:
s390-tools-sles12sp3-ziomon-no-blktrace-kill-which-can-corrupt-kernel-blk.patch
+Patch34:s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  s390 s390x
@@ -222,6 +225,7 @@
 %patch31 -p1
 %patch32 -p1
 %patch33 -p1
+%patch34 -p1
 
 cp -vi %{S:22} CAUTION
 

++ s390-tools-sles12sp3-chmem-try-to-online-zone-movable.patch ++
Subject: [PATCH] [BZ 156627] chmem: try to online memory to zone movable
From: Gerald Schaefer 

Description:  chmem: try to online memory to zone movable
Symptom:  Standby/reserved memory that is onlined with chmem will be set
  online to zone normal, instead of zone movable, and so it is much
  less likely to be able to be offlined again.
Problem:  With recent kernels, the default zone for hotplug memory was
  changed from zone movable to zone normal.
Solution: Let chmem first try to online memory to the zone movable, before
  setting it online to the default zone.
Reproduction: Set standby/reserved memory online with chmem, and check
  /proc/zoneinfo for zone allocation.
Upstream-ID:  -
Problem-ID:   156627

Signed-off-by: Gerald Schaefer 
---
 zconf/chmem |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

--- a/zconf/chmem
+++ b/zconf/chmem
@@ -86,7 +86,10 @@ sub chmem_online($)
 {
my $block = shift;
 
-   qx(echo online > $memdir/memory$block/state 2>/dev/null);
+   qx(echo online_movable > $memdir/memory$block/state 2>/dev/null);
+   if ($? >> 8 != 0) {
+   qx(echo online > $memdir/memory$block/state 2>/dev/null);
+   }
return $? >> 8;
 }
 



commit s390-tools for openSUSE:Factory

2017-07-10 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-07-11 08:32:59

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Tue Jul 11 08:32:59 2017 rev:6 rq:507931 version:1.34.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-06-04 
01:48:22.317320977 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-07-11 08:32:59.910905684 +0200
@@ -1,0 +2,6 @@
+Mon Jul  3 17:29:19 CEST 2017 - r...@suse.de
+
+- remove lsmem and chmem and their manpages from the package,
+  both tools have been added to util-linux-2.30 
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.lAyCPF/_old  2017-07-11 08:33:01.454687893 +0200
+++ /var/tmp/diff_new_pack.lAyCPF/_new  2017-07-11 08:33:01.458687328 +0200
@@ -323,6 +323,12 @@
 install -m644 -t $RPM_BUILD_ROOT/%{_mandir}/man8 %{S:94} %{S:95} %{S:96} 
%{S:97} %{S:98} %{S:99}
 ###
 
+### lsmem/chmem have been added to util-linux
+rm -fv $RPM_BUILD_ROOT/%{_mandir}/man8/lsmem.8*
+rm -fv $RPM_BUILD_ROOT/%{_mandir}/man8/chmem.8*
+rm -fv $RPM_BUILD_ROOT/%{_sbindir}/lsmem
+rm -fv $RPM_BUILD_ROOT/%{_sbindir}/chmem
+
 find . ! -type d |
 %__sed 's/^.//;\-/man/-s/^.*$/%doc &.gz/' > %{_builddir}/%{name}-filelist 
 grep -v -E 'osasnmp|*\.conf$' %{_builddir}/%{name}-filelist 
>%{_builddir}/%{name}.list




commit s390-tools for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-06-04 01:48:21

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Sun Jun  4 01:48:21 2017 rev:5 rq:500277 version:1.34.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-05-20 
14:29:39.217781721 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-06-04 01:48:22.317320977 +0200
@@ -1,0 +2,11 @@
+Wed May 31 21:26:50 UTC 2017 - mp...@suse.com
+
+- Made a number of modification to zpxe.rexx to
+  - Made several hard-coded values variables.
+  - Make it more obvious which default values can be modified
+  - Increased the default size of the  VDISK (bsc#1038255)
+  - Don't execute the wait if "debug" was specified as a parm.
+  - Change nodebug variable name to debug for clarity, updated
+logic as needed.
+
+---



Other differences:
--
++ zpxe.rexx ++
--- /var/tmp/diff_new_pack.sKMRGl/_old  2017-06-04 01:48:24.505011874 +0200
+++ /var/tmp/diff_new_pack.sKMRGl/_new  2017-06-04 01:48:24.509011309 +0200
@@ -18,7 +18,7 @@
 Copyright 2006-2009, Red Hat, Inc
 Brad Hinson 
 
-Copyright 2012, SUSE Linux,
+Copyright 2012, 2017, SUSE Linux,
 Mark Post 
 
 This program is free software; you can redistribute it and/or modify
@@ -41,45 +41,69 @@
 /* Set the default environment for "safety" reasons. */
 ADDRESS COMMAND
 
-/* Make it possible to interrupt zPXE and to enter CMS no matter how
-   the guest was started, if there is a system-specific profile
-   or not, etc.
-*/
-say
-say 'Enter a non-blank character and ENTER (or two ENTERs) within 10',
-'seconds to interrupt zPXE.'
-ADDRESS CMS 'WAKEUP +00:10 (CONS'
-/* Check for the interrupt code */
-if rc = 6 then do
-  say 'Interrupt received: exiting to CMS...'
-  pull /* Clear the stack */
-  exit
-end
+/* Save the value of the trace state */
+tvar_o=trace()
+tvar_c=tvar_o
 
 /* Was this script invoked with "debug" as one of the parameters? */
-nodebug=1
-if arg() then do
-  parse upper arg uparg
-  if index(uparg,'DEBUG') <> 0 then do
-trace i
-nodebug=0
-  end
-  else do  /* This is a do/end in case we want to add to it later */
-trace e
+debug=0
+if arg() then
+  do
+parse upper arg uparg
+do sub=1 to words(uparg)
+  if word(uparg,sub) = "DEBUG" then
+do
+  debug=1;
+  trace i;
+  tvar_c=trace()
+end;
+  else do  /* This is a do/end in case we want to add to it later */
+ trace e
+ tvar_c=trace()
+   end
+ end
   end
-end
 
 /* Set some defaults */
+/* These values are intended to be modified by the site using this */
+/* script to match their environment. */
 userid=''
 server=''
 iplDisk=''
 server_def = 'internal.tftp.server' /* define default TFTP server */
 iplDisk_def = '150'/* define default IPL DASD */
-profilelist = 'PROFILE LIST T'/* VDISK will be defined as T later */
-profiledetail = 'PROFILE DETAIL T'
-zpxeparm = 'ZPXE PARM T'
-zpxeconf = 'ZPXE CONF T'
+FM='T'  /* Default file mode is T */
+profilelist = 'PROFILE LIST' FM  /* Disk will be accessed as FM later */
+profiledetail = 'PROFILE DETAIL' FM
+zpxeparm = 'ZPXE PARM' FM
+zpxeconf = 'ZPXE CONF' FM
 config = 'ZPXE CONF A'
+seconds=10/* The default amount of time to wait for console input */
+
+workDiskType='VFB-512'
+workDiskSize=20   /* This is approximately 97MB of space. */
+/* For TDISK instead of VDISK, comment out the previous two lines and */
+/* uncomment the following two lines.*/
+/* workDisk='T3390' */
+/* workDiskSize=138 */
+
+/* Make it possible to interrupt zPXE and to enter CMS no matter how
+   the guest was started, if there is a system-specific profile
+   or not, etc.
+*/
+if debug then say 'Debugging, so we will skip the wait and just run.'
+else do
+say
+say 'Enter a non-blank character and ENTER (or two ENTERs)',
+'within' seconds 'seconds to interrupt zPXE.'
+ADDRESS CMS 'WAKEUP +00:'seconds '(CONS'
+/* Check for the interrupt code */
+if rc = 6 then do
+  say 'Interrupt received: exiting to CMS...'
+  ADDRESS CMS 'DESBUF' /* Clear the stack */
+  exit
+end
+ end
 
 /* For translating strings to lowercase */
 lower = xrange('a','i')xrange('j','r')xrange('s','z')
@@ -107,34 +131,33 @@
 'CP TERM HOLD OFF'
 
 /* We want to have a way to figure out what went wrong if someth

commit s390-tools for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-05-20 14:29:34

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Sat May 20 14:29:34 2017 rev:4 rq:495132 version:1.34.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-05-03 
15:51:38.527220456 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-05-20 14:29:39.217781721 +0200
@@ -1,0 +2,6 @@
+Tue May 16 00:57:05 UTC 2017 - mp...@suse.com
+
+- Added 
s390-tools-sles12sp3-ziomon-no-blktrace-kill-which-can-corrupt-kernel-blk.patch
+  (bsc#1038861)
+
+---

New:

  
s390-tools-sles12sp3-ziomon-no-blktrace-kill-which-can-corrupt-kernel-blk.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.Y3Zbdk/_old  2017-05-20 14:29:40.653578581 +0200
+++ /var/tmp/diff_new_pack.Y3Zbdk/_new  2017-05-20 14:29:40.653578581 +0200
@@ -132,6 +132,7 @@
 Patch30:
s390-tools-sles12sp3-util_proc-fix-memory-allocation-error-messages.patch
 Patch31:
s390-tools-sles12sp3-mon_fsstatd-fix-double-free-in-error-path-and-skip-virtual-fs.patch
 Patch32:s390-tools-sles12sp3-dbginfo-Collect-docker-debug-data.patch
+Patch33:
s390-tools-sles12sp3-ziomon-no-blktrace-kill-which-can-corrupt-kernel-blk.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  s390 s390x
@@ -220,6 +221,7 @@
 %patch30 -p1
 %patch31 -p1
 %patch32 -p1
+%patch33 -p1
 
 cp -vi %{S:22} CAUTION
 

++ 
s390-tools-sles12sp3-ziomon-no-blktrace-kill-which-can-corrupt-kernel-blk.patch 
++
Subject: [PATCH] [BZ 149058] ziomon: no blktrace kill which can corrupt kernel 
blktrace state
From: Steffen Maier 

Description:  ziomon: no blktrace kill which can corrupt kernel blktrace state
Symptom:  Ziomon terminates with the following error messages:

  $ ziomon -d  -o  ...
  ...
  ziomon: Failed to stop trace on /dev/sdX
  ...
  ziomon: Failed to stop trace on /dev/sdY
  ziomon: blktrace has leftovers, manual cleanup required!

  Subsequent ziomon runs fail likely until the next reboot:

  $ ziomon -d  -o  ...
  ...
  Collecting data...BLKTRACESETUP(2) /dev/sdX failed: \
2/No such file or directory
  BLKTRACESETUP(2) /dev/sdY failed: 2/No such file or directory
  ...
  Thread Z failed open /sys/kernel/debug/block/(null)/traceZ: \
2/No such file or directory
  FAILED to start thread on CPU 0: 1/Operation not permitted
  ...
  Error: blktrace has errors, aborting
  ...
  ziomon: Failed to stop trace on /dev/sdX
  ...
  ziomon: Failed to stop trace on /dev/sdY
  ziomon: blktrace has leftovers, manual cleanup required!
Problem:  While we call blktrace with stopwatch option '-w $WRP_DURATION'
  to have itself terminate automatically after the (mandatory)
  sampling duration, there might be a race
  with our own timed blktrace checking loop between "Collecting
  data..." and "done"
  or any of SIGHUP SIGTERM SIGINT SIGQUIT from the user might
  prematurely trigger emergency_shutdown(),
  so blktrace might still be running or not have completed its
  cleanup when we reach the blktrace leftover checks in shutdown().

  In that case, ziomon uses the meanwhile hidden kill option of
  blktrace which can corrupt kernel state if blktrace user space
  has not yet completed its regular cleanup.
Solution: The correct way to have the blktrace process terminate and
  cleanup properly including any dependent kernel state, before
  blktrace's stopwatch makes it terminate and cleanup
  automatically, is to only send SIGINT to it.

  http://git.kernel.org/cgit/linux/kernel/git/axboe/blktrace.git
  86596c7579c6 ("blktrace: remove -k from manpage synopsis")
  fb7f86674a51 ("blktrace: disable kill option - take 2")
  Additional explanation for blktrace -k:
  http://marc.info/?l=linux-btrace&m=131245973528087&w=2i
  linux-btrace ("Re: Recent changes")
  The following kernel commits do not change above termination
  statement:
  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
 

commit s390-tools for openSUSE:Factory

2017-05-03 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-05-03 15:51:35

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Wed May  3 15:51:35 2017 rev:3 rq:489189 version:1.34.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-03-29 
13:20:02.098946257 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-05-03 15:51:38.527220456 +0200
@@ -1,0 +2,6 @@
+Tue Apr 18 22:25:10 UTC 2017 - mp...@suse.com
+
+- Due to the change to qclib packaging, change BuildRequires
+  from qclib-devel to qclib-devel-static.
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.djftX1/_old  2017-05-03 15:51:40.862890714 +0200
+++ /var/tmp/diff_new_pack.djftX1/_new  2017-05-03 15:51:40.874889019 +0200
@@ -32,7 +32,7 @@
 BuildRequires:  libpfm-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  net-snmp-devel
-BuildRequires:  qclib-devel
+BuildRequires:  qclib-devel-static
 BuildRequires:  tcpd-devel
 BuildRequires:  zlib-devel-static
 PreReq: shadow %insserv_prereq %fillup_prereq dracut permissions




commit s390-tools for openSUSE:Factory

2017-03-29 Thread root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2017-03-29 13:19:59

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Wed Mar 29 13:19:59 2017 rev:2 rq:478024 version:1.34.0

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2017-03-02 
19:28:32.398320825 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2017-03-29 13:20:02.098946257 +0200
@@ -1,0 +2,7 @@
+Wed Feb 22 20:29:57 UTC 2017 - mp...@suse.com
+
+- Added the following patches (bsc#1026474)
+  - 
s390-tools-sles12sp3-mon_fsstatd-fix-double-free-in-error-path-and-skip-virtual-fs.patch
+  - s390-tools-sles12sp3-dbginfo-Collect-docker-debug-data.patch
+
+---

New:

  s390-tools-sles12sp3-dbginfo-Collect-docker-debug-data.patch
  
s390-tools-sles12sp3-mon_fsstatd-fix-double-free-in-error-path-and-skip-virtual-fs.patch



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.oupJnG/_old  2017-03-29 13:20:04.286636872 +0200
+++ /var/tmp/diff_new_pack.oupJnG/_new  2017-03-29 13:20:04.290636307 +0200
@@ -130,6 +130,8 @@
 Patch28:
s390-tools-sles12sp3-dasdfmt-09-Add-command-line-argument-check.patch
 Patch29:s390-tools-sles12sp3-dasdfmt-10-Add-expand-format-mode.patch
 Patch30:
s390-tools-sles12sp3-util_proc-fix-memory-allocation-error-messages.patch
+Patch31:
s390-tools-sles12sp3-mon_fsstatd-fix-double-free-in-error-path-and-skip-virtual-fs.patch
+Patch32:s390-tools-sles12sp3-dbginfo-Collect-docker-debug-data.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  s390 s390x
@@ -216,6 +218,8 @@
 %patch28 -p1
 %patch29 -p1
 %patch30 -p1
+%patch31 -p1
+%patch32 -p1
 
 cp -vi %{S:22} CAUTION
 

++ s390-tools-sles12sp3-dbginfo-Collect-docker-debug-data.patch ++
Subject: [PATCH] [BZ 151594] dbginfo: Collect docker debug output.
From: Karsten Graul 

Description:  dbginfo: Collect docker debug output.
Symptom:  dbginfo.sh output does not contain docker debug output.
Problem:  dbginfo.sh does not collect docker debug output.
Solution: Add invocation of docker debug commands to dbginfo.sh.
Reproduction: -
Upstream-ID:  -
Problem-ID:   151594

Signed-off-by: Karsten Graul 
---
 scripts/dbginfo.sh |   58 +
 1 file changed, 54 insertions(+), 4 deletions(-)

--- a/scripts/dbginfo.sh
+++ b/scripts/dbginfo.sh
@@ -2,7 +2,7 @@
 #
 # dbginfo.sh - Tool to collect runtime, configuration, and trace information
 #
-# Copyright IBM Corp. 2002, 2016
+# Copyright IBM Corp. 2002, 2017
 #
 
 # Switching to neutral locale
@@ -18,7 +18,7 @@ readonly SCRIPTNAME="${0##*/}"
 print_version() {
 cat 

commit s390-tools for openSUSE:Factory

2013-11-17 Thread h_root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2013-11-17 20:21:41

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2013-08-05 
20:54:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2013-11-17 20:21:42.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 14 18:02:43 CET 2013 - r...@suse.de
+
+- fix filelist to not include osasnmp udev rules twice 
+
+---



Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.4L9rFO/_old  2013-11-17 20:21:44.0 +0100
+++ /var/tmp/diff_new_pack.4L9rFO/_new  2013-11-17 20:21:44.0 +0100
@@ -465,6 +465,7 @@
 %dir /etc/udev
 %dir /etc/udev/rules.d
 %config /etc/udev/rules.d/*
+%exclude /etc/udev/rules.d/57-osasnmpd.rules
 %dir /boot/zipl
 %dir /lib/s390-tools/
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit s390-tools for openSUSE:Factory

2013-08-05 Thread h_root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2013-08-05 20:54:48

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools"

Changes:

--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes2013-08-01 
16:04:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.s390-tools.new/s390-tools.changes   
2013-08-05 20:54:49.0 +0200
@@ -1,0 +2,8 @@
+Fri Aug  2 18:38:31 UTC 2013 - mp...@suse.com
+
+- Updated s390tools-160-pardasdfmt.patch and
+  s390-tools-sles11sp2-dasdfmt-percentage-conflict.patch to be the
+  same as current. For some reason, they didn't get updated properly
+  with the last update.
+
+---



Other differences:
--
++ s390-tools-sles11sp2-dasdfmt-percentage-conflict.patch ++
--- /var/tmp/diff_new_pack.cc9STH/_old  2013-08-05 20:54:50.0 +0200
+++ /var/tmp/diff_new_pack.cc9STH/_new  2013-08-05 20:54:50.0 +0200
@@ -24,6 +24,15 @@
 ===
 --- s390-tools-1.15.0.orig/dasdfmt/dasdfmt.c
 +++ s390-tools-1.15.0/dasdfmt/dasdfmt.c
+@@ -44,7 +44,7 @@ print_version (void)
+  */
+ static void exit_usage(int exitcode)
+ {
+-  printf("Usage: %s [-htvypPLVFk]\n"
++  printf("Usage: %s [-htvypQLVFk]\n"
+  "   [-l   | --label=]\n"
+  "   [-b| --blocksize=]\n"
+  "   [-d  | --disk_layout=]\n"
 @@ -54,7 +54,7 @@ static void exit_usage(int exitcode)
   "   -V or --version  means print version\n"
   "   -L or --no_label means don't write disk label\n"

++ s390tools-160-pardasdfmt.patch ++
--- /var/tmp/diff_new_pack.cc9STH/_old  2013-08-05 20:54:51.0 +0200
+++ /var/tmp/diff_new_pack.cc9STH/_new  2013-08-05 20:54:51.0 +0200
@@ -296,7 +296,7 @@
case 'k' :
info.keep_volser=1;
break;
-@@ -1008,53 +1044,127 @@ int main(int argc,char *argv[])
+@@ -1008,53 +1044,139 @@ int main(int argc,char *argv[])
CHECK_SPEC_MAX_ONCE(info.labelspec, "label");
CHECK_SPEC_MAX_ONCE(info.writenolabel, "omit-label-writing flag");
  
@@ -342,8 +342,11 @@
 +  }
 +
 +  if(info.yast_mode) {
-+  struct hd_geometry drive_geo;
 +  for(i=0;ino_cyl == LV_COMPAT_CYL &&
++characteristics->long_no_cyl)
++cylinders = characteristics->long_no_cyl;
++else
++cylinders = characteristics->no_cyl;
++
++  printf("%d\n", cylinders);
 +  close(filedes);
}
 -  

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit s390-tools for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2011-12-06 19:01:38

Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and  /work/SRC/openSUSE:Factory/.s390-tools.new (New)


Package is "s390-tools", Maintainer is "jjo...@suse.com"

Changes:




Other differences:
--
++ s390-tools.spec ++
--- /var/tmp/diff_new_pack.TbTMG8/_old  2011-12-06 19:34:16.0 +0100
+++ /var/tmp/diff_new_pack.TbTMG8/_new  2011-12-06 19:34:16.0 +0100
@@ -24,7 +24,7 @@
 Version:1.15.0
 Release:0.
 PreReq: %insserv_prereq %fillup_prereq mkinitrd >= 2.4
-License:GPL v2 or later
+License:GPL-2.0+
 Provides:   s390utils:/sbin/dasdfmt
 Group:  System/Kernel
 Source: s390-tools-%{version}.tar.bz2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org