mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 06:17:25 +00:00
Main run 43828138456, job Blender#0 (centos, host deploy) failed at
"Let Blender name and create its user addons directory": on centos the
role installs Blender from Flathub, so running blender starts flatpak,
and bubblewrap could not create a user namespace on the CI runner
("bwrap: Creating new namespace failed: Permission denied"). The rescue
diagnostics dmesg shows the AppArmor denial of userns_create for bwrap
at that second.
The addons dir is now named by files/python/user_addons_dir.py, fed to
python3 over stdin. For a Flathub launcher it never starts Blender: it
builds ~/.var/app/<app-id>/config/blender/<X.Y>/scripts/addons, taking
X.Y from the version dir of the blender.org archive in the flatpak
deploy, following the layout Blender documents and the XDG_CONFIG_HOME
flatpak sets. A distribution Blender still names the dir itself.
Evidence: a real Blender 5.2.2 run with the flatpak XDG_CONFIG_HOME
returns the derived path exactly, and the native path matches its own
answer. test_user_addons_dir.py: 10 passed; it records process starts
through a subprocess.Popen spy. Negative controls: the file fails at
HEAD (script absent), restoring the old start of the launcher fails 3
tests with the CI stderr, and a silent start of the Flathub launcher
fails the never-started test. An independent review held.
Gate: make quality-high green (quality-high-267, all test and lint
targets passed).
Security: MEDUSA 90 %. One open medium, bandit B603 (subprocess call
without shell) at roles/dsk-blender/files/python/user_addons_dir.py:59:
the native branch runs the Blender found on PATH with an argv list, as
the old Ansible command task did. One high stays under its acceptance
of 2026-11-11: MEDUSA-INFRA-SCAN-016 at
roles/dsk-blender/tasks/addons/mcp-for-blender.yml:6.
🎯 Fix: 90 %
💥 Break: 4 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 90 %
🏆 Score: 78
🚦 Gate: ⚠️ security 90 % < 100: ask the operator before the commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>