Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Messy string when running hostnamectl through ssh:
Operating System: ]8;;https://www.redhat.com/Red Hat Enterprise Linux 8.0 Beta (Ootpa)]8;;
Observed in Azure/Hyper-V platform
Only exists through ssh. Works well in console.
Works well in RHEL-7.6.
Version-Release number of selected component (if applicable):
openssh-7.8p1-4.el8.x86_64
RHEL Version:
RHEL-8.0-20181220.1
How reproducible:
100%
Steps to Reproduce:
Login through ssh. Run "hostnamectl"
Actual Result:
Operating System: ]8;;https://www.redhat.com/Red Hat Enterprise Linux 8.0 Beta (Ootpa)]8;;
Expect Result:
Operating System: Red Hat Enterprise Linux 8.0 Beta (Ootpa)
Additional Info:
This sounds like some attempt to make a hyperlink. It is described for example here:
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
I can not reproduce it with my virtualization from Terminator (does not support it). If I connect from Gnome Terminal, it works as expected (link is visible).
I assume that in your case, your terminal emulator signalizes support for this, so systemd server these special characters, but your terminal does not know how to interpret the hyperlinks. Please, clarify at least what terminal emulator are you using, what version and on what platform in the client. I do not think this has anything to do with ssh at all.
That will probably be the problem. Fedora 23 is EOL for over two years now and therefore this is nothing that we could support. The same works fine with Fedora 29 I am running so this is not an issue in RHEL8 end.
Please update to something newer. If you still can reproduce it on some supported platform (RHEL6, RHEL7), please reopen this bug on systemd.
Then, it is a bug of RHEL7.5 gnome terminal (missing support for half-baked feature) or RHEL8 systemd hostnamectl (throwing half-baked features to unsupported terminal emulators), but certainly it has nothing to do with openssh. Feel free to reassign it to either one if you believe it is either fault.