Skip to content

fix: ensure /etc/openshell directory exists before chown in nemoclaw#29

Merged
drew merged 4 commits into
mainfrom
fix/ensure-openshell-dir-exists
Mar 13, 2026
Merged

fix: ensure /etc/openshell directory exists before chown in nemoclaw#29
drew merged 4 commits into
mainfrom
fix/ensure-openshell-dir-exists

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented Mar 13, 2026

Summary

  • Fixes CI build failure from fix: rename /etc/navigator policy paths to /etc/openshell #28 where chown -R sandbox:sandbox /etc/openshell fails because the directory doesn't exist yet
  • The /etc/openshell/ directory is created by the openclaw base image's COPY policy.yaml /etc/openshell/policy.yaml instruction, but during CI the published base image still has the old /etc/navigator path
  • Adds mkdir -p /etc/openshell before the chown to guarantee the directory exists regardless of base image state

Failing job

https://github.com/NVIDIA/OpenShell-Community/actions/runs/23066071527/job/67004779894

chown: cannot access '/etc/openshell': No such file or directory

drew added 4 commits March 13, 2026 12:18
The nemoclaw Dockerfile chowns /etc/openshell which is created by the
openclaw base image's COPY instruction. When the base image hasn't been
rebuilt yet, the directory doesn't exist. Add mkdir -p to guarantee it.
@drew drew merged commit e8030cb into main Mar 13, 2026
5 checks passed
alessandro-festa added a commit to alessandro-festa/OpenShell-Community that referenced this pull request Apr 24, 2026
…4 credential hygiene

US-303 — OpenClaw sandbox on SLE BCI 16:
- sandboxes/openclaw-suse/Dockerfile: builds FROM the SUSE base image
  (registry.suse.com/bci/bci-base:16.0 via sandboxes/suse/) using
  ARG BASE_IMAGE, installs openclaw@2026.3.11, copies policy.yaml and
  openclaw-start.sh — identical feature set to sandboxes/openclaw/ but
  on a SUSE foundation. No upstream PR (hybrid shipping model).
- sandboxes/openclaw-suse/README.md: describes the four-sandbox matrix
  (Ubuntu base, Ubuntu openclaw, SUSE base, SUSE openclaw).
- .github/workflows/openclaw-suse.yml: build + Trivy scan + ghcr.io
  publish; also triggers when sandboxes/suse/ changes (base rebuild).

US-304 — App Collection credential hygiene:
- Makefile: dev-creds target that validates a caller-supplied credentials
  file and instructs the developer to source it. Credentials are never
  stored in the repo; CI uses only secrets.GITHUB_TOKEN (built-in).
- .github/workflows/secret-scan.yml: gitleaks action scans full git
  history on every push/PR to detect accidental credential commits.

Closes NVIDIA#28 NVIDIA#29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant