[systemd-bugs] [Bug 82004] New: The tty-ask-password-agent does not use all devices of /dev/console
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 1 03:13:05 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82004
Priority: medium
Bug ID: 82004
Assignee: systemd-bugs at lists.freedesktop.org
Summary: The tty-ask-password-agent does not use all devices of
/dev/console
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: werner at suse.de
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: systemd
Created attachment 103806
--> https://bugs.freedesktop.org/attachment.cgi?id=103806&action=edit
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()
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140801/3103f080/attachment.html>
More information about the systemd-bugs
mailing list