Clint,

I expect a prompt to be displayed to stdout and prompt for input on
stdin. What actually happens is that I start apache via ssh and the
prompt is displayed via plymouth on the server's console which I rarely
see.

It would be nice if the check was not just "if plymouth is running and
available" but instead "if plymouth is running and available and the
request was from a tty on which plymouth can prompt a request".  Or
maybe even just "and we are not on a pseudo terminal"

Here is my patch for ask-for-password in /usr/share/apache2
@@ -23,7 +23,7 @@
 
 prompt="Apache needs to decrypt your SSL Keys for $sitename ($keytype)
 Please enter passphrase:"
-if [ -x /bin/plymouth ] && plymouth --ping ; then
+if [ -x /bin/plymouth ] && plymouth --ping && ! `tty |grep pty`; then
     echo $prompt | logger
     exec plymouth ask-for-password --prompt="$prompt"
 else

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/887410

Title:
  plymouth ask-for-passphrase

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to