Skip to content

[Ubuntu 24.04][Install] non-interactive curl-bash install exits after adding user to docker group instead of self-reentering #4414

@hulynn

Description

@hulynn

Description

On a clean Ubuntu 24.04 VM where the user is not in the docker group, the non-interactive curl-bash installer installs Docker, runs usermod -aG docker, then exits 0 and tells the user to re-login and re-invoke the script. A truly non-interactive flow should self-reactivate group membership (e.g. via exec sg docker -c / newgrp docker) so a single curl … | bash finishes the install.

Environment

Device:        KVM VM (libvirt/QEMU x86_64 guest, no GPU)
OS:            Ubuntu 24.04.4 LTS (Noble Numbat)
Architecture:  x86_64
Node.js:       v22.22.3 (after eventual install)
npm:           10.9.8
Docker:        29.5.2
OpenShell CLI: N/A (install aborted before this step on pass 1)
NemoClaw:      N/A (install aborted before this step on pass 1)
OpenClaw:      N/A

Steps to Reproduce

  1. Provision a clean Ubuntu 24.04 VM. User is NOT in the docker group, Docker not installed.
  2. Export the non-interactive flags:
    export NEMOCLAW_NON_INTERACTIVE=1
    export NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE=1
  3. Run the installer:
    curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash

Expected Result

A single non-interactive invocation completes through nemoclaw onboard, regardless of whether the user was already in the docker group.

Actual Result

Installer exits 0 after Docker install, prompting:

[INFO]  Docker group membership is not active in this shell yet. To finish:
[INFO]    1) Run: newgrp docker   (or log out and log back in)
[INFO]    2) Re-run: curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash

User must manually re-login SSH and re-invoke the installer to proceed.

Logs

[INFO]  Your user 'ubuntu' is not in the docker group.
[INFO]  NemoClaw needs Docker access. On personal Linux development machines, adding your user to the docker group is the standard way to run Docker without sudo.
...
[INFO]  Docker group membership is not active in this shell yet. To finish:
[INFO]    1) Run: newgrp docker   (or log out and log back in)
[INFO]    2) Re-run: curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash

(EXIT=0 — but install is only ~30% complete)

NVB#6234553

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA Teamarea: packagingPackages, images, registries, installers, or distributionplatform: containerAffects Docker, containerd, Podman, or imagesplatform: ubuntuAffects Ubuntu Linux environments

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions