mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The command # vmur punch -r rhcos-live-kernel-s390x -u etpgxku -N kernel.img Reader file with spoolid E YO created and transferred to ETPGXKU. # did not indicate an error when executed. However the file was not transferred and this error message went unnoticed: RPIMGR032E YOU ARE NOT AUTHORIZED TO CLOSE TO TATAC05.ETPGXKU HCPCSL007E Invalid userid - ETPGXKU Fix this by checking the CP return code and print the error message returned by CP. This is the behavior now: # vmur punch -r rhcos-live-kernel-s390x -u etpgxku -N kernel.img vmur: CP command failed with rc=7 RPIMGR032E YOU ARE NOT AUTHORIZED TO CLOSE TO TATAC05.ETPGXKU HCPCSL007E Invalid userid - ETPGXKU # Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/119 Reported-by: Vance Morris <vmorris@us.ibm.com> Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Tested-by: Vance Morris <vmorris@us.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>