[Bug 1970682] Re: plymouth ask-for-password with --number-of-tries gets Assertion `request_node != NULL' failed

mastier1 1970682 at bugs.launchpad.net
Thu Apr 28 11:40:55 UTC 2022


Might be. However that was fixed in the version preceeeding this one. So
either similar bug or reoccurement.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/1970682

Title:
  plymouth ask-for-password  with  --number-of-tries gets Assertion
  `request_node != NULL' failed

Status in plymouth package in Ubuntu:
  New

Bug description:
  This is similar to https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1355617
  Seems like plymouth got serious issues with argument parsing in 'ask-for-password' command

  You can reproduce like following (possibly start one machine and ssh to it from another to see what is going on)
  1. Start plymouth on tty8
  # plymouthd --mode=boot --attach-to-session --pid-file=/run/plymouth/pid --tty=/dev/tty8; chvt 8; plymouth --show-splash;

  2. Try first without --number-of-tries
  $ plymouth ask-for-password --command='/bin/cat' --prompt="This is a password prompt"
  works great

  3. Now with --number-of-tries
  # plymouth ask-for-password --command='/bin/cat' --number-of-tries=3 --prompt="This is a password prompt"
  plymouth: ./ply-boot-client.c:272: ply_boot_client_process_incoming_replies: Assertion `request_node != NULL' failed.
  Aborted (core dumped)

  That's not only this.
  4. if you add random incorrect argument it will open dialog but wont't display prompt
  # plymouth ask-for-password --XXXX --command='/bin/cat' --prompt="This is a password prompt"

  5. But if we add this to the very end the program will crash
  # plymouth ask-for-password --command='/bin/cat' --prompt="This is a password prompt" --XXXX
  plymouth: ./ply-boot-client.c:272: ply_boot_client_process_incoming_replies: Assertion `request_node != NULL' failed.
  Aborted (core dumped)

  
  Plymouth version
  Version: 0.9.4git20200323-0ubuntu6.2
  Ubuntu 20.04 Focal Fossa LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1970682/+subscriptions




More information about the foundations-bugs mailing list