Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd + openvpn: password entry skipped [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Fri Aug 15, 2014 8:58 am    Post subject: systemd + openvpn: password entry skipped [solved] Reply with quote

Hi,

with systemd, an openvpn connection can be started like this:
Code:
systemctl start openvpn@my_conf_file
However, in case you have openvpn keys that require a password entry on tty/stdin, this entry is skipped, with according failure messages in the systemd journal. For openvpn keys without password the systemd openvpn scripts work out of the box.

Sure, systemd is prepared by design to allow password entry (with helpers like systemd-ask-password), however, this does not seem to be the case for systemd's default configuration for openvpn yet.

Anyone with a solution yet?


Last edited by f.kater on Thu Aug 28, 2014 4:36 am; edited 1 time in total
Back to top
View user's profile Send private message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Thu Aug 28, 2014 4:36 am    Post subject: Reply with quote

Am I the only one securing openvpn connections with a password? ;-)

Anyway, this seems to be fixed in openvpn-2.3.4-r1 (not yet marked stable).

And if anyone wants to disable the annoying password requests on *all* terminals, then cd to /usr/lib64/systemd/system/multi-user.target.wants/ and replace the symlink systemd-ask-password-wall.path by a systemd-ask-password-console.path symlink.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum