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,'

** Attachment added: "strace output for ' /bin/systemd-tty-ask-password-agent 
--watch --console'"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1453912/+attachment/4540627/+files/tty-agent.out

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

Title:
  systemd does not unlock dm-crypt password

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to