S2 · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts)
Run server, webmail and console with a read-only root filesystem and find every path each one writes (known so far for the server: application bundles, migrations dir, snapshot and backup dirs).
Done when
A list of paths per image, each marked emptyDir-ok or needs a code change
Feeds K-S5, K-W4, K-A1
**S2** · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts)
Run server, webmail and console with a read-only root filesystem and find every path each one writes (known so far for the server: application bundles, migrations dir, snapshot and backup dirs).
**Done when**
- A list of paths per image, each marked emptyDir-ok or needs a code change
- Feeds K-S5, K-W4, K-A1
jcoffey-dev
added this to the 27.1 milestone 2026-11-18 05:14:37 +00:00
only /var/lib/inbuxa (store) in the runs so far; app bundles unpack to std::env::temp_dir() = /tmp unless an unpack directory is set → emptyDir /tmp
webmail rc.6
runs, /api/health ok
nothing outside /tmp seen
console rc.19
exits 1
docker/listen-ipv6.sh rewrites /etc/nginx/conf.d/default.conf; docker/entrypoint.sh (40-api-base-url) rewrites index.html at start
Not yet covered: a server through full first boot with listeners, migrations dir and snapshots (needs the kind lab), and nginx temp paths once the console starts. Console fix carried into inbuxa-admin K-A1.
**Partial result (Docker, 2026-11-17).**
| Image | Read-only root | Writes |
|---|---|---|
| server rc.22 (no file caps) | runs | only `/var/lib/inbuxa` (store) in the runs so far; app bundles unpack to `std::env::temp_dir()` = `/tmp` unless an unpack directory is set → emptyDir `/tmp` |
| webmail rc.6 | runs, `/api/health` ok | nothing outside `/tmp` seen |
| console rc.19 | **exits 1** | `docker/listen-ipv6.sh` rewrites `/etc/nginx/conf.d/default.conf`; `docker/entrypoint.sh` (40-api-base-url) rewrites `index.html` at start |
Not yet covered: a server through full first boot with listeners, migrations dir and snapshots (needs the kind lab), and nginx temp paths once the console starts. Console fix carried into inbuxa-admin K-A1.
jcoffey-dev
self-assigned this 2026-11-18 06:28:54 +00:00
Result. Every path each image writes is either an emptyDir or nothing at all. None needs a code change any more.
Image
Writes
In the chart
server
/var/lib/inbuxa (scratch; everything that lasts is in the data store), /tmp (app bundles unpack there)
emptyDir for each
webmail
only SESSION_FILE, which the chart sets empty (sealed-cookie sessions)
/tmp emptyDir as a courtesy. IMMUTABLE=1 checks the root at start (K-W4)
console
/tmp/inbuxa-admin (the rendered listener and index.html), /var/cache/nginx
emptyDir for /tmp and /var/cache/nginx. The fix shipped in console 27.1-rc.20 (K-A1)
All three run with a read-only root in the chart and under Pod Security restricted, enforced in the lab (K-C4, K-L3). The server ran that way through first boot, the seed, the 2→3 layout crossing in the upgrade test, and mail in and out. Snapshot and backup runs haven't been exercised read-only yet; that belongs to the backup work (K-S5 stays open until it is).
**Result.** Every path each image writes is either an emptyDir or nothing at all. None needs a code change any more.
| Image | Writes | In the chart |
|---|---|---|
| server | `/var/lib/inbuxa` (scratch; everything that lasts is in the data store), `/tmp` (app bundles unpack there) | emptyDir for each |
| webmail | only `SESSION_FILE`, which the chart sets empty (sealed-cookie sessions) | `/tmp` emptyDir as a courtesy. `IMMUTABLE=1` checks the root at start (K-W4) |
| console | `/tmp/inbuxa-admin` (the rendered listener and `index.html`), `/var/cache/nginx` | emptyDir for `/tmp` and `/var/cache/nginx`. The fix shipped in console 27.1-rc.20 (K-A1) |
All three run with a read-only root in the chart and under Pod Security restricted, enforced in the lab (K-C4, K-L3). The server ran that way through first boot, the seed, the 2→3 layout crossing in the upgrade test, and mail in and out. Snapshot and backup runs haven't been exercised read-only yet; that belongs to the backup work (K-S5 stays open until it is).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
S2 · size S · part of inbuxa for Kubernetes (tracking issue in inbuxa-charts)
Run server, webmail and console with a read-only root filesystem and find every path each one writes (known so far for the server: application bundles, migrations dir, snapshot and backup dirs).
Done when
Partial result (Docker, 2026-11-17).
/var/lib/inbuxa(store) in the runs so far; app bundles unpack tostd::env::temp_dir()=/tmpunless an unpack directory is set → emptyDir/tmp/api/healthok/tmpseendocker/listen-ipv6.shrewrites/etc/nginx/conf.d/default.conf;docker/entrypoint.sh(40-api-base-url) rewritesindex.htmlat startNot yet covered: a server through full first boot with listeners, migrations dir and snapshots (needs the kind lab), and nginx temp paths once the console starts. Console fix carried into inbuxa-admin K-A1.
Folded into the checklist on inbuxa/inbuxa-charts#14 to keep the issue list short. The details stay here; reopen this when work on it starts.
Reopened: work on this is in progress.
Result. Every path each image writes is either an emptyDir or nothing at all. None needs a code change any more.
/var/lib/inbuxa(scratch; everything that lasts is in the data store),/tmp(app bundles unpack there)SESSION_FILE, which the chart sets empty (sealed-cookie sessions)/tmpemptyDir as a courtesy.IMMUTABLE=1checks the root at start (K-W4)/tmp/inbuxa-admin(the rendered listener andindex.html),/var/cache/nginx/tmpand/var/cache/nginx. The fix shipped in console 27.1-rc.20 (K-A1)All three run with a read-only root in the chart and under Pod Security restricted, enforced in the lab (K-C4, K-L3). The server ran that way through first boot, the seed, the 2→3 layout crossing in the upgrade test, and mail in and out. Snapshot and backup runs haven't been exercised read-only yet; that belongs to the backup work (K-S5 stays open until it is).