Password input does not work during startup

Stefan Fritsch sf at sfritsch.de
Mon Dec 22 23:06:34 GMT 2014


Hi,

#773405 complained that password input for ssl certs in apache2 does 
not work. I have now included a password entry script in apache2 that 
calls systemd-ask-password. This works ok when using serveice apache2 
start or while installing the package. But I could not get it to work 
during boot up. Systemd just continues without waiting for the 
password prompt. I have installed plymouth and plymouth-x11 and even 
added "splash" to the grub options. But that gave no improvement.

After boot, systemd is waiting somewhere for the password, but if the 
prompt was ever visible, it scrolled by too quickly.

# systemctl status apache2
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: activating (start) since Mo 2014-12-22 23:49:14 CET; 3min 
48s ago
  Control: 1326 (apache2)
   CGroup: /system.slice/apache2.service
           ├─1326 /bin/sh /etc/init.d/apache2 start
           ├─1771 /bin/sh /usr/sbin/apache2ctl start
           ├─1774 /usr/sbin/apache2 -k start
           └─1776 /bin/systemd-ask-password --timeout=0 Enter ...


I have attached some exerpts of journalctl -xd in case that helps. It 
seems to indicate that plymouth is running while apache is starting.


Do you have any idea how to fix this? There should really be some info 
in systemd's README.Debian how to do this.

Or is this #768329? If yes, I think it should be RC. If no, against 
which package should I report a bug. Plymouth or systemd? 


Cheers,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd.log.gz
Type: application/gzip
Size: 9244 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141223/889a8e35/attachment.bin>


More information about the Pkg-systemd-maintainers mailing list