Description
Description
`nemoclaw uninstall --yes` exits 0 and reports a clean teardown, but the `openshell-gateway` host process spawned during onboard continues to run and holds port 8080. The process survives uninstall because NemoClaw's lifecycle teardown does not handle the host-process gateway mode introduced in v0.0.41 (see `src/lib/onboard/docker-driver-gateway-launch.ts:shouldUseContainerizedGateway` — when host glibc >= gateway requirement, NemoClaw spawns `/usr/local/bin/openshell-gateway` directly without a container wrapper). The orphan process keeps binding 8080 until manual `pkill -f /usr/local/bin/openshell-gateway`.
Environment
OS: Ubuntu 24.04.4 LTS
Architecture: x86_64
Node.js: v22.22.2
npm: 10.9.7
Docker: 29.4.1
OpenShell CLI: openshell 0.0.39
NemoClaw: v0.0.41
OpenClaw: 2026.4.24-17c3fa238f70
Steps to Reproduce
1. Fresh Ubuntu 24.04 host (glibc 2.39, satisfies host-process gateway path)
2. curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash # installs v0.0.41
3. NEMOCLAW_NON_INTERACTIVE=1 NEMOCLAW_PROVIDER=build \
NVIDIA_API_KEY= nemoclaw onboard --fresh --name smoke
4. Confirm gateway is running as host process (not container):
ps -ef | grep "/usr/local/bin/openshell-gateway" # PID X visible
docker ps --filter name=openshell # empty
5. nemoclaw uninstall --yes # exit 0
6. ss -ltnp 'sport = :8080' # still occupied
Expected Result
After step 5, port 8080 is free and no `openshell-gateway` process is running.
Actual Result
Port 8080 stays bound by the surviving openshell-gateway process:
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 128 172.18.0.1:8080 0.0.0.0:* users:(("openshell-gatew",pid=1627107,fd=14))
LISTEN 0 128 127.0.0.1:8080 0.0.0.0:* users:(("openshell-gatew",pid=1627107,fd=15))
$ ps -p 1627107 -o pid,user,cmd
PID USER CMD
1627107 root /usr/local/bin/openshell-gateway
Bug Details
| Field |
Value |
| Priority |
Unprioritized |
| Action |
Dev - Open - To fix |
| Disposition |
Open issue |
| Module |
Machine Learning - NemoClaw |
| Keyword |
NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Install, NemoClaw_Sandbox |
[NVB#6177367]
Description
Description
Environment Steps to Reproduce1. Fresh Ubuntu 24.04 host (glibc 2.39, satisfies host-process gateway path) 2. curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash # installs v0.0.41 3. NEMOCLAW_NON_INTERACTIVE=1 NEMOCLAW_PROVIDER=build \ NVIDIA_API_KEY= nemoclaw onboard --fresh --name smoke 4. Confirm gateway is running as host process (not container): ps -ef | grep "/usr/local/bin/openshell-gateway" # PID X visible docker ps --filter name=openshell # empty 5. nemoclaw uninstall --yes # exit 0 6. ss -ltnp 'sport = :8080' # still occupiedExpected Result Actual ResultPort 8080 stays bound by the surviving openshell-gateway process: State Recv-Q Send-Q Local Address:Port Peer Address:Port Process LISTEN 0 128 172.18.0.1:8080 0.0.0.0:* users:(("openshell-gatew",pid=1627107,fd=14)) LISTEN 0 128 127.0.0.1:8080 0.0.0.0:* users:(("openshell-gatew",pid=1627107,fd=15)) $ ps -p 1627107 -o pid,user,cmd PID USER CMD 1627107 root /usr/local/bin/openshell-gatewayBug Details
[NVB#6177367]