@@ -33,13 +33,20 @@ nix/test-guest/
3333├── cache-lib.sh
3434├── cache-seal.sh
3535├── distros/
36- │ ├── ubuntu.nix
36+ │ ├── ubuntu-24-04.nix
37+ │ ├── ubuntu-26-04.nix
3738│ ├── centos.nix
3839│ ├── fedora.nix
3940│ └── rocky.nix
4041└── configuration/
4142 ├── docker.yml
42- ├── podman.yml
43+ ├── podman-rootless.yml
44+ ├── tasks/
45+ │ ├── podman-common.yml
46+ │ └── podman-rootless/
47+ │ ├── fedora.yml
48+ │ ├── shared.yml
49+ │ └── ubuntu.yml
4350 └── selinux.yml
4451```
4552
@@ -56,22 +63,26 @@ The root [`flake.nix`](../../flake.nix) exposes this directory as the `test-gues
5663
5764## Supported configurations
5865
59- | Distro | Docker | Podman | SELinux | Package format |
66+ | Distro | Docker | Rootless Podman | SELinux | Package format |
6067| --- | --- | --- | --- | --- |
61- | Ubuntu 24.04 | Yes | Yes | No | ` .deb ` |
62- | CentOS Stream 10 | No | Yes | Yes | ` .rpm ` |
68+ | Ubuntu 24.04 | Yes | No | No | ` .deb ` |
69+ | Ubuntu 26.04 | Yes | Yes | No | ` .deb ` |
70+ | CentOS Stream 10 | No | No | Yes | ` .rpm ` |
6371| Fedora 44 | No | Yes | Yes | ` .rpm ` |
64- | Rocky Linux 9 | Yes | Yes | Yes | ` .rpm ` |
72+ | Rocky Linux 9 | Yes | No | Yes | ` .rpm ` |
6573
6674The ` snapd ` configuration is available for Ubuntu and prepares snapd for
6775local Snap lifecycle experiments. It does not install Docker, because the Snap
6876gateway reproduction uses the Docker ** Snap** and its ` docker:docker-daemon `
6977interface rather than the host-package Docker configuration.
7078
71- The Ubuntu 24.04 Podman configuration is available for runtime and packaging
72- checks, but its Podman 4 release does not provide the ` pasta ` rootless network
73- helper required by OpenShell sandbox callbacks. OpenShell Podman E2E runs use
74- the Fedora guest, which provides Podman 5 and ` pasta ` .
79+ ` podman-rootless ` configures the explicit rootless Podman guest setup used by
80+ OpenShell tests. It supports Fedora and Ubuntu 26.04 or later. Ubuntu adds the
81+ AppArmor rule that permits ` pasta ` to receive Podman stop signals. Fedora
82+ installs the subordinate-ID utilities and rootless storage and network helpers.
83+ Both configurations verify rootless mode and the ` pasta ` network helper
84+ required by OpenShell sandbox callbacks. Ubuntu 24.04 ships Podman 4, which
85+ does not provide that helper.
7586
7687List the available distros and configurations:
7788
@@ -84,30 +95,30 @@ nix run .#test-guest -- --list
8495Boot a base Ubuntu VM:
8596
8697``` shell
87- nix run .# test-guest -- --distro ubuntu
98+ nix run .# test-guest -- --distro ubuntu-24-04
8899```
89100
90101Apply the Docker configuration before opening the SSH session:
91102
92103``` shell
93- nix run .# test-guest -- --distro ubuntu --with docker
104+ nix run .# test-guest -- --distro ubuntu-24-04 --with docker
94105```
95106
96107Other combinations use the same interface:
97108
98109``` shell
99110nix run .# test-guest -- --distro rocky --with docker
100- nix run .# test-guest -- --distro centos --with podman
101- nix run .# test-guest -- --distro fedora --with podman
111+ nix run .# test-guest -- --distro ubuntu-26-04 --with podman-rootless
112+ nix run .# test-guest -- --distro fedora --with podman-rootless
102113```
103114
104115Configurations are repeatable:
105116
106117``` shell
107118nix run .# test-guest -- \
108- --distro ubuntu \
119+ --distro ubuntu-24-04 \
109120 --with docker \
110- --with podman
121+ --with podman-rootless
111122```
112123
113124Ensure SELinux is enforcing on CentOS, Fedora, or Rocky:
@@ -138,7 +149,7 @@ The `test-guest-cache` app ensures a prepared disk exists for one exact distro,
138149
139150``` shell
140151nix run .# test-guest-cache -- \
141- --distro ubuntu \
152+ --distro ubuntu-24-04 \
142153 --with docker
143154```
144155
@@ -147,7 +158,7 @@ backing cache:
147158
148159``` shell
149160nix run .# test-guest-cache -- \
150- --distro ubuntu \
161+ --distro ubuntu-24-04 \
151162 --with docker \
152163 --repository ghcr.io/nvidia/openshell/test-guest-cache \
153164 --digest sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
@@ -157,7 +168,7 @@ The command never publishes implicitly. Add `--push` after authenticating ORAS t
157168
158169``` shell
159170nix run .# test-guest-cache -- \
160- --distro ubuntu \
171+ --distro ubuntu-24-04 \
161172 --with docker \
162173 --repository ghcr.io/nvidia/openshell/test-guest-cache \
163174 --push
@@ -184,8 +195,8 @@ The default cache directory is `${XDG_CACHE_HOME:-$HOME/.cache}/openshell/test-g
184195Cache command options:
185196
186197``` text
187- --distro NAME Base distro: ubuntu, centos, fedora, or rocky
188- --with NAME Apply docker, podman, or selinux ; repeatable
198+ --distro NAME Base distro: ubuntu-24-04, ubuntu-26-04 , centos, fedora, or rocky
199+ --with NAME Apply docker, podman-rootless, selinux, or snapd ; repeatable
189200--repository REF OCI repository without a tag
190201--digest DIGEST Trusted OCI manifest digest required for pulls
191202--cache-dir PATH Override the local prepared-disk cache directory
@@ -209,7 +220,7 @@ Install the package in an Ubuntu VM and run a command:
209220
210221``` shell
211222nix run .# test-guest -- \
212- --distro ubuntu \
223+ --distro ubuntu-24-04 \
213224 --with docker \
214225 --install artifacts/openshell_0.0.0-local_arm64.deb \
215226 -- openshell --version
@@ -226,7 +237,7 @@ guest file preserves the source's ordinary permission bits:
226237
227238``` shell
228239nix run .# test-guest -- \
229- --distro ubuntu \
240+ --distro ubuntu-24-04 \
230241 --copy ./openshell:/usr/local/bin/openshell \
231242 -- openshell --version
232243```
@@ -241,7 +252,7 @@ gateway. On each failure it prints snapd and gateway journals.
241252
242253``` shell
243254nix run .# test-guest -- \
244- --distro ubuntu \
255+ --distro ubuntu-24-04 \
245256 --with snapd \
246257 --keep \
247258 --copy ./openshell_* .snap:/tmp/openshell.snap \
@@ -259,8 +270,8 @@ The destination must be an absolute guest path. Copied files are installed with
259270## Runner options
260271
261272``` text
262- --distro NAME Base distro: ubuntu, centos, fedora, or rocky
263- --with NAME Apply docker, podman, or selinux ; repeatable
273+ --distro NAME Base distro: ubuntu-24-04, ubuntu-26-04 , centos, fedora, or rocky
274+ --with NAME Apply docker, podman-rootless, selinux, or snapd ; repeatable
264275--install PATH Install a .deb or .rpm package; repeatable
265276--copy SRC:DEST Copy a regular file into the guest, preserving its host mode;
266277 repeatable
0 commit comments