** Description changed: + [SRU Justification] + An Ubuntu-specific patch causes a crash in plymouth that does not occur upstream and breaks one of the standard use cases of the plymouth client, to prompt for passwords. While the specific error does not affect password prompting for LUKS due to a different invocation of plymouth, it does break password prompting for ZFS encryption, leaving users at an initramfs prompt on boot. + + [Test case] + 1. Change to VT3 on your system (so that you are not under a graphical login session) and log in. + 2. As root, run: plymouthd --mode=boot --attach-to-session --pid-file=/run/plymouth/pid --tty=/dev/tty8; chvt 8; plymouth --show-splash; plymouth ask-for-password --prompt "This is a password prompt" --command="/bin/cat"; plymouth quit; chvt 3 + 3. Observe that you are immediately returned to VT3 without being shown a password prompt, and the error message "ply_boot_client_process_incoming_replies: Assertion `request_node != NULL' failed" is printed on the console. + 4. Install the plymouth package from eoan-proposed. + 5. Repeat step 2. + 6. Observe that you are shown a password prompt. + 7. Type something into the field and hit enter. + 8. Observe that you are returned to VT3 and the text you typed in step 7 has been echoed to the screen, with no error messages. + + [Regression potential] + This is an Ubuntu-specific bug due to missing handling of a new upstream message type in an Ubuntu-specific patch. This fixes a crash and has minimal risk of regression. + + 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.
** Changed in: plymouth (Ubuntu) Assignee: (unassigned) => Steve Langasek (vorlon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810154 Title: ply_boot_client_process_incoming_replies: Assertion `request_node != NULL' failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1810154/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs