From: "cron2 (Code Review)" Date: Wed, 16 Apr 2025 12:53:18 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., heiko@...515..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="T3xP3U9AYu4="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: dns: apply settings via script on unixoid systems List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: d12fk Cc: flichtenheld , plaisthos , openvpn-devel --T3xP3U9AYu4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: d12fk, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/838?usp=3Demail ) Change subject: dns: apply settings via script on unixoid systems ...................................................................... Patch Set 21: (1 comment) Patchset: PS21: Working my way through it, first findings ``` 2025-04-16 14:44:56 /usr/local/libexec/openvpn/dns-updown 2025-04-16 14:44:56 dns up command exited with status 127 ``` so if trying to test this from a build environment, without it being instal= led ever before, it will not work, with a non very helpful error message ("= this file does not exist"). Then, trying to run from build directory ``` SU .. openvpn ... --dns-updown ../distro/dns-scripts/dns-updown Options error: --dns-updown script fails with '../distro/dns-scripts/dns-up= down': Permission denied (errno=3D13) Options error: Please correct this error. ``` does not work because (as I feared) this is built with no x-bit ``` gert@...2718... ~/t_server.git/tests $ ls -l ../distro/dns-scripts/dns-updo= wn -rw-r--r-- 1 gert gert 5324 Apr 16 05:30 ../distro/dns-scripts/dns-updown ``` can we get this in place with an x bit? (I could add a precondition to t_c= lient.rc but this would really be modifying the build results on "make chec= k" which is not something I want) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/838?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ifbe4ffb44d3bfcaa50adb38cacb3436fcdc71b10 Gerrit-Change-Number: 838 Gerrit-PatchSet: 21 Gerrit-Owner: d12fk Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: d12fk Gerrit-Comment-Date: Wed, 16 Apr 2025 12:53:18 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --T3xP3U9AYu4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: d12fk, plaisthos.

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    Patchset:

    • Patch Set #21:

      Working my way through it, first findings

      ```
      2025-04-16 14= :44:56 /usr/local/libexec/openvpn/dns-updown
      2025-04-16 14:44:56 dns up = command exited with status 127
      ```

      so if trying to test this from a build environment= , without it being installed ever before, it will not work, with a non very= helpful error message ("this file does not exist").

      Then, trying to run from= build directory

      ```
      SU .. openvpn ... --dns-updown ../distro/dns-scripts/dns-updown<= br>Options error: --dns-updown script fails with '../distro/dns-scripts= /dns-updown': Permission denied (errno=3D13)
      Options error: Please c= orrect this error.
      ```

      does not work because (as I feared) this is built with no x-bi= t

      ```
      gert= @...2718... ~/t_server.git/tests $ ls -l ../distro/dns-scripts/dns-updown-rw-r--r-- 1 gert gert 5324 Apr 16 05:30 ../distro/dns-scripts/dns-updown=
      ```

      can w= e get this in place with an x bit? (I could add a precondition to t_client= .rc but this would really be modifying the build results on "make chec= k" which is not something I want)

To view, v= isit chan= ge 838. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ifbe4ffb44d3bfcaa50adb38cacb= 3436fcdc71b10
Gerrit-Change-Number: 838
Gerrit-PatchSet: 21
Gerrit-Owner: d12fk <heiko@...515...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: d12fk <heiko@...515...>= ;
Gerrit-Comment-Date: Wed, 16 Apr 2025 12:53:18= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--T3xP3U9AYu4=--