On Sa, Mai 03, 2014 at 12:07:29 +0400, Andrey Borzenkov wrote:
В Sat, 3 May 2014 00:29:44 +0200 Josef Wolf <jw@raven.inka.de> пишет:
I am currently upgrading to opensuse-13.1 and experience a problem starting apache with an encrypted SSL server key.
In older opensuse releases, I increased APACHE_START_TIMEOUT in /etc/sysconfig/apache2, and started the server manually by calling
/etc/init.d/apache2 startssl
But this don't seem to work anymore in 13.1. No matter how big I set the timeout, it always times out after about 90 seconds. Before the upgrade, I had to wait about 5 minutes until the passphrase prompt appeared.
90 seconds is the default timeout for starting services. You can change it by adding TimeoutStartSec parameter to service definition. It is possible to override it on per-service basis, e.g. using drop-ins:
mkdir /etc/systemd/system/apache2.service.d echo -e '[Service]\nTimeoutStartSec=5min' > /etc/systemd/system/apache2.service.d/TimeoutStart.conf systemctl daemon-reload
Thanks for the quick help, Andrey! This solves the timeout problem. I have one more problem, though: If I mis-type the passphrase, in older opensuse asked up to five times to re-type the passphrase. In 13.1, however, a mistyped passphrase errors out immediately, so I'll have to wait another 5 minutes for the next try. This is _very_ inconvenient. Any ideas on this? -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org