I tried another test in an attempt to get /bin/systemd-tty-ask-password-agent to prompt for a password. I ensured no other systemd password agents were running (ps auxww | grep ask), then launched 'sudo /bin/systemd-tty-ask-password-agent --watch --console' in one terminal and launched 'sudo /bin/systemd-ask-password --no-tty --timeout=30 Test' in another terminal. The terminal with systemd-tty-ask-password-agent running never prompts for anything and after 30 seconds, the systemd-ask-password process times-out. It seems like there's some sort of bug that prevents systemd-tty-ask-password-agent from doing its job.
In an attempt to be thorough, I repeated the test after running 'sudo rm /lib/systemd/system/systemd-ask-password-*' and rebooting. I did this to ensure none of the agents were spawning via systemd path events and interfering with the direct test.
Finally, I also repeated the test one more time via 'sudo strace -f /bin/systemd-tty-ask-password-agent --watch --console' and captured the strace output. That's attached as 'tty-agent.out'. It hangs at that final line indefinitely: 'read(6,'
I tried another test in an attempt to get /bin/systemd- tty-ask- password- agent to prompt for a password. I ensured no other systemd password agents were running (ps auxww | grep ask), then launched 'sudo /bin/systemd- tty-ask- password- agent --watch --console' in one terminal and launched 'sudo /bin/systemd- ask-password --no-tty --timeout=30 Test' in another terminal. The terminal with systemd- tty-ask- password- agent running never prompts for anything and after 30 seconds, the systemd- ask-password process times-out. It seems like there's some sort of bug that prevents systemd- tty-ask- password- agent from doing its job.
In an attempt to be thorough, I repeated the test after running 'sudo rm /lib/systemd/ system/ systemd- ask-password- *' and rebooting. I did this to ensure none of the agents were spawning via systemd path events and interfering with the direct test.
Finally, I also repeated the test one more time via 'sudo strace -f /bin/systemd- tty-ask- password- agent --watch --console' and captured the strace output. That's attached as 'tty-agent.out'. It hangs at that final line indefinitely: 'read(6,'