geldata / geldata/gel-cli

gel-cli requires /etc/resolv.conf to exist even when it's not needed

Open
#1,758 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

I was trying to run Gel Cli in a sandboxed build pipeline (Nix build) without network, talking to a locally spawned server on `127.0.0.1`. I noticed it panics when `/etc/resolv.conf` does not exist even when it's not needed for anything — I connect to the server through a direct IP `127.0.0.1`. Gel Cli works if I create a dummy `/etc/resolv.conf`.

Seems like an unnecessary dependency, and `gel` could only require that file when it's actually needed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing Gel CLI startup and connection setup to find where /etc/resolv.conf is accessed, then reproduce the issue in a sandbox without that file while connecting to 127.0.0.1. Done means direct-IP connections no longer panic without /etc/resolv.conf, while name-based connections still retain their required resolution behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.