Unable to start openvpn3 if `/etc/openvpn3/netcfg.json` is a symlink
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 53/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp, linux
- Domain
- networking
Research direction
Start by tracing how OpenVPN 3 reads /etc/openvpn3/netcfg.json during client-session startup and compare its behavior for a symlink and a regular file. The report provides a minimal NixOS configuration that reproduces the failure; use it to investigate and verify the fix. Done means a client session can start when netcfg.json points to a file in the Nix store.
Written by the indexing model from the issue text.
Description
On NixOS, configuration files are symlinks to the real files in the nix store. Openvpn3 fails to start a client session in this configuration. Removing the link or using a regular file allows a tunnel to be established.
The nix conf used to setup openvpn is very minimal:
programs.openvpn3 = {
enable = true;
netcfg.settings = {
log_level = 4;
};
};
Nix options for Openvpn3
My full nix files are public if there's some extra context to be gleaned there, but the options above are the only vpn-related ones I set anywhere.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 473
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenVPN/openvpn3
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in OpenVPN/openvpn3
Similar issues
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/DirectXShaderCompiler#9155 ·
Maintainers usually reply within 2 days
-
Errors in 1.20 proseOpenCampaign DiD Campaign EI Campaign HttT Campaign TDG Campaign TSG Campaign WoF Enhancement Help Prose Stable 1.20
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wesnoth/wesnoth#11749 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
trabucayre/openFPGALoader#767 ·
Maintainers usually reply within 1 day
-
agent:Windows bug in progress pri:medium sev:low testing windows
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
protocolbuffers/protobuf#31768 ·
Maintainers usually reply within 1 day