On Thu, Dec 15, 2016 at 9:24 AM, Gert Doering <g...@greenie.muc.de> wrote:

> > Still, the process-substitution-based version will failed as follows:
> >
> > $ sudo openvpn <( bzcat vpngate_1.0.126.222_tcp_995.ovpn_JP.bz2 )
> > Options error: In [CMD-LINE]:1: Error opening configuration file: /dev/
> > fd/63
> > Use --help for more information.
> > $
>
> That is interesting.  It *should* work, with a non-tar-file, but it seems
> we do not like device special files (/dev/fd/63) as config files.


Opening /dev/fd/xx should work as we just use fopen(). I think the trouble
is
because of redirection with the sudo.

Try this instead:

sudo bash -c "openvpn <( bzcat vpngate_1.0.126.222_tcp_995.ovpn_JP.bz2 )"

Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to