Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn
@ 2020-03-21 18:01 AbsolutelyLudicrous
  2020-03-21 21:04 ` travankor
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: AbsolutelyLudicrous @ 2020-03-21 18:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2586 bytes --]

New issue by AbsolutelyLudicrous on void-packages repository

https://github.com/void-linux/void-packages/issues/20262

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *xuname: `Void 5.4.15abigail3 x86_64 AuthenticAMD uptodate rFF`, uname -a: `Linux hiigara 5.4.15abigail3 #8 SMP PREEMPT Mon Feb 3 20:49:38 EST 2020 x86_64 GNU/Linux`*
* package:  
  *openvpn 2.4.8, possibly NetworkManager-openvpn 1.8.0?*

### Expected behavior

NetworkManager imports and starts the .ovpn file like it should.

Running `sudo openvpn whatever.ovpn` manually establishes a VPN connection

### Actual behavior

```
bash-5.0$ sudo openvpn is-no-01.protonvpn.com.udp.ovpn 
Password: 
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)
Options error: Please correct this error.
Use --help for more information.
```
After some more investigation, it looks like the openvpn-2.4.8 package doesn't provide anything in /etc at all.

```
bash-5.0$ tar tf /var/cache/xbps/openvpn-2.4.8_1.x86_64.xbps
./props.plist
./files.plist
./usr/share/man/man8/openvpn.8
./usr/share/examples/openvpn/xinetd-server-config
./usr/share/examples/openvpn/xinetd-client-config
./usr/share/examples/openvpn/tls-office.conf
./usr/share/examples/openvpn/tls-home.conf
./usr/share/examples/openvpn/static-office.conf
./usr/share/examples/openvpn/static-home.conf
./usr/share/examples/openvpn/server.conf
./usr/share/examples/openvpn/openvpn-startup.sh
./usr/share/examples/openvpn/openvpn-shutdown.sh
./usr/share/examples/openvpn/office.up
./usr/share/examples/openvpn/loopback-server
./usr/share/examples/openvpn/loopback-client
./usr/share/examples/openvpn/home.up
./usr/share/examples/openvpn/firewall.sh
./usr/share/examples/openvpn/client.conf
./usr/share/examples/openvpn/README
./usr/share/doc/openvpn/management-notes.txt
./usr/share/doc/openvpn/README.mbedtls
./usr/share/doc/openvpn/README.down-root
./usr/share/doc/openvpn/README.auth-pam
./usr/share/doc/openvpn/README.IPv6
./usr/share/doc/openvpn/README
./usr/share/doc/openvpn/Changes.rst
./usr/share/doc/openvpn/COPYRIGHT.GPL
./usr/share/doc/openvpn/COPYING
./usr/lib/openvpn/plugins/openvpn-plugin-down-root.so
./usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
./usr/bin/openvpn
```

### Steps to reproduce the behavior

Install the latest openvpn package onto a fresh system.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
@ 2020-03-21 21:04 ` travankor
  2021-02-17 13:21 ` benn13
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: travankor @ 2020-03-21 21:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/issues/20262#issuecomment-602104420

Comment:
From what I understand, this in intended behavior. Void's OPVN does not want to provide external scripts.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
  2020-03-21 21:04 ` travankor
@ 2021-02-17 13:21 ` benn13
  2021-04-27  5:24 ` l40m
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: benn13 @ 2021-02-17 13:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

New comment by benn13 on void-packages repository

https://github.com/void-linux/void-packages/issues/20262#issuecomment-780551478

Comment:
Sorry but i have installed openvpn and I cannot start openvpn service,it is just not there it seems.
and there`s no /etc/openvpn.
how do I enable its service and use it?
I am coming from tumbleweed and it just worked there.thank you.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
  2020-03-21 21:04 ` travankor
  2021-02-17 13:21 ` benn13
@ 2021-04-27  5:24 ` l40m
  2021-05-30 17:06 ` dm17
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: l40m @ 2021-04-27  5:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

New comment by l40m on void-packages repository

https://github.com/void-linux/void-packages/issues/20262#issuecomment-827321242

Comment:
That is an intended behavior. You need to create the folder, download a script inside and rename it with the requested filename, which is ``update-resolv-conf``. Follow this guide: https://protonvpn.com/support/linux-vpn-setup/

Quoting:
> Please ensure that the resolv-conf script is properly downloaded on your device by using the following commands:

>``sudo wget "https://raw.githubusercontent.com/ProtonVPN/scripts/master/update-resolv-conf.sh" -O "/etc/openvpn/update-resolv-conf"``

>``sudo chmod +x "/etc/openvpn/update-resolv-conf""``

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
                   ` (2 preceding siblings ...)
  2021-04-27  5:24 ` l40m
@ 2021-05-30 17:06 ` dm17
  2021-05-30 17:12 ` ericonr
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dm17 @ 2021-05-30 17:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

New comment by dm17 on void-packages repository

https://github.com/void-linux/void-packages/issues/20262#issuecomment-851030862

Comment:
I'm not sure why this should be expected or default behavior... Was just looking around myself for a while to fix this. It feels wrong when the ```/etc/openvpn``` doesn't even exist. Perhaps not an issue with sane default on Void but rather openvpn.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
                   ` (3 preceding siblings ...)
  2021-05-30 17:06 ` dm17
@ 2021-05-30 17:12 ` ericonr
  2022-04-16  2:02 ` github-actions
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-05-30 17:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/20262#issuecomment-851031744

Comment:
We can add a `make_dirs` line to the openvpn template for `/etc/openvpn`, as a start.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
                   ` (4 preceding siblings ...)
  2021-05-30 17:12 ` ericonr
@ 2022-04-16  2:02 ` github-actions
  2022-04-30  2:13 ` [ISSUE] [CLOSED] " github-actions
  2022-05-04  4:42 ` subnut
  7 siblings, 0 replies; 9+ messages in thread
From: github-actions @ 2022-04-16  2:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/20262#issuecomment-1100506536

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ISSUE] [CLOSED] OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
                   ` (5 preceding siblings ...)
  2022-04-16  2:02 ` github-actions
@ 2022-04-30  2:13 ` github-actions
  2022-05-04  4:42 ` subnut
  7 siblings, 0 replies; 9+ messages in thread
From: github-actions @ 2022-04-30  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2567 bytes --]

Closed issue by AbsolutelyLudicrous on void-packages repository

https://github.com/void-linux/void-packages/issues/20262

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *xuname: `Void 5.4.15abigail3 x86_64 AuthenticAMD uptodate rFF`, uname -a: `Linux hiigara 5.4.15abigail3 #8 SMP PREEMPT Mon Feb 3 20:49:38 EST 2020 x86_64 GNU/Linux`*
* package:  
  *openvpn 2.4.8, possibly NetworkManager-openvpn 1.8.0?*

### Expected behavior

NetworkManager imports and starts the .ovpn file like it should.

Running `sudo openvpn whatever.ovpn` manually establishes a VPN connection

### Actual behavior

```
bash-5.0$ sudo openvpn file.ovpn 
Password: 
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)
Options error: Please correct this error.
Use --help for more information.
```
After some more investigation, it looks like the openvpn-2.4.8 package doesn't provide anything in /etc at all.

```
bash-5.0$ tar tf /var/cache/xbps/openvpn-2.4.8_1.x86_64.xbps
./props.plist
./files.plist
./usr/share/man/man8/openvpn.8
./usr/share/examples/openvpn/xinetd-server-config
./usr/share/examples/openvpn/xinetd-client-config
./usr/share/examples/openvpn/tls-office.conf
./usr/share/examples/openvpn/tls-home.conf
./usr/share/examples/openvpn/static-office.conf
./usr/share/examples/openvpn/static-home.conf
./usr/share/examples/openvpn/server.conf
./usr/share/examples/openvpn/openvpn-startup.sh
./usr/share/examples/openvpn/openvpn-shutdown.sh
./usr/share/examples/openvpn/office.up
./usr/share/examples/openvpn/loopback-server
./usr/share/examples/openvpn/loopback-client
./usr/share/examples/openvpn/home.up
./usr/share/examples/openvpn/firewall.sh
./usr/share/examples/openvpn/client.conf
./usr/share/examples/openvpn/README
./usr/share/doc/openvpn/management-notes.txt
./usr/share/doc/openvpn/README.mbedtls
./usr/share/doc/openvpn/README.down-root
./usr/share/doc/openvpn/README.auth-pam
./usr/share/doc/openvpn/README.IPv6
./usr/share/doc/openvpn/README
./usr/share/doc/openvpn/Changes.rst
./usr/share/doc/openvpn/COPYRIGHT.GPL
./usr/share/doc/openvpn/COPYING
./usr/lib/openvpn/plugins/openvpn-plugin-down-root.so
./usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
./usr/bin/openvpn
```

### Steps to reproduce the behavior

Install the latest openvpn package onto a fresh system.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: OpenVPN does not install scripts to /etc/openvpn
  2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
                   ` (6 preceding siblings ...)
  2022-04-30  2:13 ` [ISSUE] [CLOSED] " github-actions
@ 2022-05-04  4:42 ` subnut
  7 siblings, 0 replies; 9+ messages in thread
From: subnut @ 2022-05-04  4:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

New comment by subnut on void-packages repository

https://github.com/void-linux/void-packages/issues/20262#issuecomment-1116923045

Comment:
For anybody who stumbles upon this issue, the link given above by @l40m has now been changed to https://protonvpn.com/support/linux-openvpn

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-05-04  4:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 18:01 [ISSUE] [BUG] OpenVPN does not install scripts to /etc/openvpn AbsolutelyLudicrous
2020-03-21 21:04 ` travankor
2021-02-17 13:21 ` benn13
2021-04-27  5:24 ` l40m
2021-05-30 17:06 ` dm17
2021-05-30 17:12 ` ericonr
2022-04-16  2:02 ` github-actions
2022-04-30  2:13 ` [ISSUE] [CLOSED] " github-actions
2022-05-04  4:42 ` subnut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).