Podman sandboxes cannot reach host.openshell.internal
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, linux, rust
- Lĩnh vực
- backend, devops, networking
Hướng nghiên cứu
The issue is in the Podman driver's network configuration for sandboxes. Look at the supervisor's DNS setup and how the host gateway address is passed in the runtime descriptor. Start by examining the Podman driver code and the networking isolation logic. The acceptance criteria include writing an automated Podman end-to-end test, so check existing test suites for networking. 'Done' means host.openshell.internal resolves and connects in a Podman sandbox after restart, with all mediation intact.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
User Story
As an OpenShell user running sandboxes with the Podman driver, I want workloads to access services on the host through host.openshell.internal so that host access behaves consistently across supported local
compute drivers.
Problem Statement
Podman-backed sandboxes cannot reliably resolve and connect to host.openshell.internal.
OpenShell workloads use an isolated network namespace and rely on the supervisor for mediated network access. The Podman driver does not currently provide the workload with the expected supervisor DNS
configuration or pass the trusted host gateway address into the supervisor runtime descriptor. As a result, the host alias is unavailable even when the sandbox policy permits the connection.
Impact / Why This Matters
This prevents Podman users from accessing host-local development services, test fixtures, and other explicitly permitted endpoints through OpenShell’s standard host alias.
The current workaround is to use driver-specific host addresses or change the workload’s networking configuration. That workaround is insufficient because it is platform-dependent, bypasses the portable
host.openshell.internal contract, and may weaken the intended mediated-networking boundary.
Acceptance Criteria
- A Podman sandbox can resolve host.openshell.internal.
- A policy-authorized TCP connection through that alias reaches a service listening on the host.
- The connection continues to work after the sandbox is stopped and restarted.
- Workloads continue to use isolated networking and reach the host only through supervisor mediation.
- The configured host gateway address is validated before use.
- Driver-owned resolver resources are cleaned up on failed creation and sandbox deletion.
- An automated Podman end-to-end test covers initial creation and restart.
- Relevant architecture, networking, and gateway configuration documentation is updated.
Reproduction Steps
-
Start OpenShell with the Podman compute driver.
-
Start an HTTP server bound to a host-reachable loopback address and note its port.
-
Create a sandbox whose policy permits TCP access to host.openshell.internal:.
-
From the sandbox, attempt to connect to that address:
exec 3<>/dev/tcp/host.openshell.internal/
printf 'GET / HTTP/1.0\r\n\r\n' >&3
cat <&3 -
Observe that DNS resolution or the connection fails.
The same behavior should also be checked after stopping and restarting the sandbox
Environment
- Compute driver: Podman
- Host operating system: Linux
- Workload networking: isolated (network=none)
- Connection target: host.openshell.internal
Logs
- Ngôn ngữ chính
- Rust
- Star
- 8.7k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 297
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/OpenShell
-
area:docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area:cli state:validated
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
state:triage-needed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
area:build spike state:review-ready state:stale
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
Tất cả issue của NVIDIA/OpenShell
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yantrikos/yantrik-os#255 ·
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Đang mởbug CLI custom-model
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
raphamorim/rio#1956 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 bình luận ·