RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1985745 - On fresh install, /lib/s390-tools/cpictl: line 112: echo: write error: Operation not supported in journal
Summary: On fresh install, /lib/s390-tools/cpictl: line 112: echo: write error: Operat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: s390utils
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 9.1
Assignee: Dan Horák
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-25 13:11 UTC by Jan Pazdziora
Modified: 2022-11-15 13:20 UTC (History)
2 users (show)

Fixed In Version: s390utils-2.21.0-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:22:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ibm-s390-linux s390-tools issues 120 0 None open cpi.service sets values in KVM guest and fails 2021-07-26 07:31:56 UTC
Red Hat Product Errata RHEA-2022:8387 0 None None None 2022-11-15 11:22:51 UTC

Description Jan Pazdziora 2021-07-25 13:11:31 UTC
Description of problem:

On fresh RHEL 9 installation on s390x (KVM), the following message is logged in journal:

cpictl[761]: /lib/s390-tools/cpictl: line 112: echo: write error: Operation not supported

Version-Release number of selected component (if applicable):

s390utils-core-2.17.0-2.el9.s390x

How reproducible:

Deterministic.

Steps to Reproduce:
1. journalctl --no-hostname -l | grep '/lib/s390-tools/cpictl: line 112: echo: write error: Operation not supported'

Actual results:

Jul 25 08:47:26 cpictl[761]: /lib/s390-tools/cpictl: line 112: echo: write error: Operation not supported

Expected results:

No output.

Additional info:

That line does

cpi_commit()
{
        echo 1 > "$CPI_SET"
}

and CPI_SET is set to

readonly CPI_SET="/sys/firmware/cpi/set"

and permissions on that entry is

# ls -la /sys/firmware/cpi/set
--w-------. 1 root root 4096 Jul 25 08:47 /sys/firmware/cpi/set
# ls -lZ /sys/firmware/cpi/set
--w-------. 1 root root system_u:object_r:sysfs_t:s0 4096 Jul 25 08:47 /sys/firmware/cpi/set

Comment 2 Dan Horák 2021-07-26 06:56:14 UTC
Hmm, I don't think the CPI interface is supported for KVM guests. It means the start-up condition from https://github.com/ibm-s390-linux/s390-tools/blob/master/systemd/cpi.service.in#L14 is not valid any more, because the CPI sysfs interface always exists.

Comment 4 Vilém Maršík 2022-07-26 20:05:33 UTC
reproduced on RHEL-9.1.0-20220721.1 with s390utils-core-2.19.0-2.el9.s390x
#  journalctl --no-hostname -l | grep '/lib/s390-tools/cpict'
Jul 26 15:34:02 cpictl[757]: /lib/s390-tools/cpictl: line 112: echo: write error: Operation not supported
This does not require a fresh installation, but can be triggered by reboot.
After upgrading to s390utils-core-2.21.0-1.el9.s390x, the problem disappeared.

Comment 7 Vilém Maršík 2022-07-27 18:09:56 UTC
No error on RHEL-9.1.0-20220721.1 with s390utils-core-2.21.0-1.el9.s390x : 
# journalctl --no-hostname -l | grep '/lib/s390-tools/cpict'

Comment 9 errata-xmlrpc 2022-11-15 11:22:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (s390utils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:8387


Note You need to log in before you can comment on or make changes to this bug.