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 1907781 - ttyrun-getty@ and serial-getty@ conflict with each other
Summary: ttyrun-getty@ and serial-getty@ conflict with each other
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: s390utils
Version: 8.3
Hardware: s390x
OS: All
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Dan Horák
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-15 08:27 UTC by Renaud Métrich
Modified: 2021-11-10 10:22 UTC (History)
2 users (show)

Fixed In Version: s390utils-2.16.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 20:04:21 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ibm-s390-tools s390-tools issues 105 0 None open ttyrun-getty@ and serial-getty@ services conflict with each other 2021-01-13 20:04:30 UTC
Red Hat Product Errata RHBA-2021:4506 0 None None None 2021-11-09 20:04:49 UTC

Description Renaud Métrich 2020-12-15 08:27:21 UTC
Description of problem:

Starting/Enabling ttyrun-getty@ and serial-getty@ should be mutually exclusive, since the instance cannot be shared, e.g.

ttyrun-getty@hvc0 and serial-getty@hv0 cannot connect simultaneously.

I would suggest adding the following stanza to ttyrun-getty@.service unit:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
[Unit]
Conflicts=serial-getty@%i.service
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

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

s390utils-iucvterm-1.23.0-46.el7.s390x


How reproducible:

Always

Steps to Reproduce:
1. Start ttyrun-getty@hvc0

  # systemctl start ttyrun-getty@hvc0

Actual results:

serial-getty@hvc0 fails

Comment 1 Dan Horák 2020-12-15 08:35:24 UTC
Renaud, could you open an upstream ticket for it at https://github.com/ibm-s390-tools/s390-tools, please? I assume it's not a RHEL-7 specific issue.

Comment 2 Dan Horák 2021-01-04 13:55:42 UTC
reported upstream as https://github.com/ibm-s390-tools/s390-tools/issues/105

Comment 4 Vilém Maršík 2021-07-20 16:01:00 UTC
Hangs on HW on my s390x machine, I probably miss the correct HW configuration. At least the config line is there:
# grep Conflicts /usr/lib/systemd/system/ttyrun-getty@.service
Conflicts=serial-getty@%i.service
# rpm -q s390utils-iucvterm
s390utils-iucvterm-2.16.0-1.el8.s390x

Comment 5 Vilém Maršík 2021-07-20 16:02:07 UTC
To the timeout:
Jul 20 11:58:17 s390x-kvm-009.lab.eng.rdu2.redhat.com systemd[1]: dev-hvc0.device: Job dev-hvc0.device/start timed out.
Jul 20 11:58:17 s390x-kvm-009.lab.eng.rdu2.redhat.com systemd[1]: Timed out waiting for device dev-hvc0.device.

Comment 6 Vilém Maršík 2021-08-06 14:11:41 UTC
Hello, seems to have stuck in Modified, can you shift it to ON_QA?

Comment 9 Vilém Maršík 2021-08-09 23:24:49 UTC
RHEL-8.5.0-20210804.d.3 still fixed in the means of Comment #4:
# rpm -q s390utils-iucvterm
s390utils-iucvterm-2.16.0-2.el8.s390x
# grep Conflicts /usr/lib/systemd/system/ttyrun-getty@.service
Conflicts=serial-getty@%i.service

Comment 11 errata-xmlrpc 2021-11-09 20:04:21 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/RHBA-2021:4506


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