<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - The tty-ask-password-agent does not use all devices of /dev/console"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82004">82004</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>The tty-ask-password-agent does not use all devices of /dev/console
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>werner@suse.de
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=103806" name="attach_103806" title="tty-ask-password-agent-on-console.patch">attachment 103806</a> <a href="attachment.cgi?id=103806&action=edit" title="tty-ask-password-agent-on-console.patch">[details]</a></span>
tty-ask-password-agent-on-console.patch
The tool systemd-tty-ask-password-agent used with the option --console does
only ask the password on the last console configured in the kernel command
line.
That is that if e.g.
console=ttyS0,115200 console=tty0
is used the passphrase for a e.g. crypted device will only be asked on
/dev/tty1 at boot. To fix this I've ported my old multi console device support
from sulogin to the tty-ask-password-agent source. Maybe it is worthy enough
to integrate and/or port this solution into systemd. That is that the two
functions collect_consoles() and free_consoles() as well as the struct console
could become be part of src/share/util.c below resolve_dev_console()</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>