https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842017-08-17T14:29:12ZopenSUSE Project Management ToolopenQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=601922017-08-17T14:29:12Zdasantiagodasantiago@suse.com
<ul></ul><p>The problem is the virtio console:</p>
<p>VIRTIO_CONSOLE=1 -> failure:<br>
<a href="http://tragicbox.suse.cz/tests/99" class="external">http://tragicbox.suse.cz/tests/99</a></p>
<p>VIRTIO_CONSOLE=0 -> success:<br>
<a href="http://tragicbox.suse.cz/tests/98" class="external">http://tragicbox.suse.cz/tests/98</a></p>
openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=602122017-08-18T09:13:42Zrpalethorperichard.palethorpe@suse.com
<ul><li><strong>Subject</strong> changed from <i>Unable to login with VIRTIO console</i> to <i>Unable to login with VIRTIO console in SLE12-SP1</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>rpalethorpe</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>It only appears to be happening in SLE12-SP1. It is probably caused by some race condition in my code (although it is strange how consistent it is in that case), but I will try logging into the virtio console manually, just in case serial login is broken.</p>
<p>I will try to update the login code to make it more robust in general if I can't figure out exactly what is wrong.</p>
openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=602322017-08-18T10:42:13Zrpalethorperichard.palethorpe@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Rejected</i></li></ul><p>This appears to be a product bug. If I try to login in manually to a virtio console (HVC0) with root then it fails. The graphical and ttyS0 consoles allow root login and it is possible to login to the virtio console using bernhard.</p>
<p>Probably we should not allow root to login directly, but that is a decision for the security team and it should be consistent across all console types and product versions.</p>
openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=603502017-08-21T10:45:11Zdasantiagodasantiago@suse.com
<ul></ul><p>To be follow up in <a href="https://bugzilla.suse.com/show_bug.cgi?id=1054704" class="external">https://bugzilla.suse.com/show_bug.cgi?id=1054704</a></p>
openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=605902017-08-23T07:31:01Zosukup
<ul></ul><p>problem is <code>add_serial_console</code> in utils.pm</p>
<p>it sends wrong data to /etc/securetty ..</p>
<p><a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/utils.pm#L790" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/utils.pm#L790</a> </p>
<p>correct format is only console name not /dev/$sconsole</p>
openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=605922017-08-23T07:31:15Zosukup
<ul><li><strong>Status</strong> changed from <i>Rejected</i> to <i>In Progress</i></li></ul> openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=605962017-08-23T08:08:16Zrpalethorperichard.palethorpe@suse.com
<ul></ul><p>OK, I will update that.</p>
openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=606122017-08-23T09:01:13Zosukup
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>90</i></li></ul><p><a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3452" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3452</a></p>
openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=606162017-08-23T09:11:48Zosukup
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li></ul> openQA Project - action #23424: Unable to login with VIRTIO console in SLE12-SP1https://progress.opensuse.org/issues/23424?journal_id=606182017-08-23T09:14:17Zpevikpetr.vorel@gmail.com
<ul></ul><p><a class="user active user-mention" href="https://progress.opensuse.org/users/21806">@osukup</a>: thanks for fixing. You're right, there shouldn't be full path, how I wrote in <a class="issue tracker-4 status-3 priority-4 priority-default closed" title="action: [ltp][openqa][virtio][ppc64le] It appears agetty is not started on the virtio serial console on p... (Resolved)" href="https://progress.opensuse.org/issues/18980#note-6">#18980#note-6</a>, but left the original version with full path :-(.</p>