ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@complife.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] openvpn + systemd + ask password
Date: Sat, 18 Jun 2016 19:23:42 +0200
Message-ID: <77fa8e3e-7e46-b94a-3eda-5081206284ca@complife.ru> (raw)

Добрый день.

А как правильно нужно пользовался openvpn с systemd-ask-password?
Сейчас конфигурация, использующая запароленный сертификат, отказывается 
стартовать из-под systemd:

-- Unit openvpn-client@my.service has begun starting up.
Jun 18 19:06:15 mak-ws openvpn[12225]: OpenVPN 2.3.7 
x86_64-alt-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on 
Jun 17 2016
Jun 18 19:06:15 mak-ws openvpn[12225]: library versions: OpenSSL 1.0.1t 
3 May 2016, LZO 2.06
Jun 18 19:06:15 mak-ws systemd[1]: PID file 
/var/run/openvpn/client_my.pid not readable (yet?) after start.
Jun 18 19:06:15 mak-ws openvpn[12226]: WARNING: this configuration may 
cache passwords in memory -- use the auth-nocache option to prevent this
Jun 18 19:06:15 mak-ws openvpn[12226]: Error: private key password 
verification failed
Jun 18 19:06:15 mak-ws openvpn[12226]: Exiting due to fatal error
Jun 18 19:06:15 mak-ws systemd[1]: openvpn-client@my.service never wrote 
its PID file. Failing.
Jun 18 19:06:15 mak-ws systemd[1]: Failed to start OpenVPN tunnel for my.
-- Subject: Unit openvpn-client@my.service has failed

Попытки погуглить приводят к мысли, что openvpn должна как-то сама уметь 
им пользоваться, а то что у нас не умеет, это возможно баг.


             reply	other threads:[~2016-06-18 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18 17:23 Michael A. Kangin [this message]
2016-06-18 18:22 ` Michael A. Kangin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77fa8e3e-7e46-b94a-3eda-5081206284ca@complife.ru \
    --to=mak@complife.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git