Comment 3 for bug 1805841

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-11-30 07:54 EDT-------
The problem is now, that /lib/systemd/system-generators/s390-cpi-vars overwrites some values that are set by cpictl. (for example the KVM token).

Would a quick fix be, that s390-cpi-vars does everything as of today, but leaves the version code unchanged?
So something like
--- /lib/systemd/system-generators/s390-cpi-vars.old 2018-11-30 13:53:45.525120681 +0100
+++ /lib/systemd/system-generators/s390-cpi-vars 2018-11-30 13:54:26.875220713 +0100
@@ -3,6 +3,5 @@
. /etc/os-release
echo "$NAME" >/sys/firmware/cpi/system_name
echo "LINUX" >/sys/firmware/cpi/system_type
-printf "0x%02x%02x%02x" $(uname -r | sed 's/-.*//;s/\./ /g') >/sys/firmware/cpi/system_level
echo "$VERSION" | sed 's/ .*//;s/\./ /g' >/sys/firmware/cpi/sysplex_name
echo 1 >/sys/firmware/cpi/set