Comment 0 for bug 1810154

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

ubuntu cosmic
plymouth 0.9.3-1ubuntu10
initramfs-tools 0.131ubuntu15

I'm trying to get a password prompt working in the initramfs via plymouth, but I get an assertion error.

This is the sample command I'm running:
plymouth --debug ask-for-password --command=/bin/cat --prompt "Type something"

And this is the output I get:
[./plymouth.c:463] on_password_request:Password request
[ply-event-loop.c:759] ply_event_loop_stop_watching_fd:stopping watching fd 6
[ply-event-loop.c:775] ply_event_loop_stop_watching_fd:removing destination for fd 6
[./plymouth.c:430] on_password_request_execute:executing password request (command /bin/cat)
[ply-event-loop.c:759] ply_event_loop_stop_watching_fd:stopping watching fd 6
[ply-event-loop.c:775] ply_event_loop_stop_watching_fd:removing destination for fd 6
[ply-event-loop.c:759] ply_event_loop_stop_watching_fd:stopping watching fd 6
[ply-event-loop.c:775] ply_event_loop_stop_watching_fd:removing destination for fd 6
plymouth: ./ply-boot-client.c:272: ply_boot_client_process_incoming_replies: Assertion `request_node != NULL' failed.
Aborted

plymouth --ping returns 0. It doesn't matter which --command I try.