Package: crun
Version: 1.26-1
Severity: important
X-Debbugs-Cc: [email protected]

crun run with a minimal config fails.  The trigger is "terminal": true.
It can also be worked around by setting "readonly": false.

| % crun run --bundle=. test
| 2026-01-17T21:31:35.109406Z: unlink `/dev/console`: Read-only file system
| % cat config.json
| {
|   "ociVersion": "1.0.1",
|   "process": {
|     "args": ["/bin/false"],
|     "cwd": "/",
|     "terminal": true
|   },
|   "root": {
|     "path": ".",
|     "readonly": true
|   },
|   "linux": {
|     "namespaces": [
|       {
|         "type": "mount"
|       },
|       {
|         "type": "user"
|       }
|     ]
|   },
|   "mounts": [
|     {
|       "destination": "/dev/pts",
|       "type": "devpts"
|     }
|   ]
| }

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable-debug'), (500, 
'stable-updates'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 
'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.18.3+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages crun depends on:
ii  libc6        2.42-7
ii  libcap2      1:2.75-10+b5
ii  libseccomp2  2.6.0-2+b1
ii  libsystemd0  259-1
ii  libyajl2     2.1.0-5.1

Versions of packages crun recommends:
pn  libcriu2  <none>

Versions of packages crun suggests:
pn  libwasmedge0  <none>

-- no debconf information

Reply via email to