GNAI-025: Fix — rootfs-Verify-Regex (\$ war literales Dollar, nie matchend) auf EOL-Anchor korrigiert; Retry braucht pct destroy 117 --purge
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 30s
ci-static / ansible-syntax (push) Successful in 27s
ci-static / markdown-links (push) Successful in 22s

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-29 05:49:08 +01:00
co-authored by Mistral Vibe
parent 472bd64569
commit e6337af0d1
2 changed files with 2 additions and 1 deletions
@@ -13,6 +13,7 @@
| 2026-11-27 | 1.3 | Mistral Vibe / Operator | Provisioning: local-lvm-Extraktion schlägt fehl (tar Permission denied), Storage auf daten4 umgestellt (pvesm: daten4 4,7 % belegt); CT 117 noch nicht angelegt |
| 2026-11-27 | 1.4 | Mistral Vibe / Operator | Operator bestätigt: local-lvm hat reichlich Platz und alle bisherigen LXCs liefen dort — Storage-Wechsel auf daten4 war voreilig; Default bleibt local-lvm, Ursache der tar-Permission-denied wird diagnostiziert (LV-Mountpoint nicht schreibbar für uid 100000) |
| 2026-11-27 | 1.5 | Mistral Vibe / Operator | Ursache gefunden: `umask 077` im Provisioning-Skript vererbt sich an `pct create` → rootfs-Mountpoint 0700 root → tar unter lxc-usernsexec får „Permission denied“. Reproduziert (VMID 117 minimal OK, VMID 119 mit umask 077 FAIL). Fix: `umask 022` vor dem pct-Aufruf; Storage bleibt local-lvm |
| 2026-11-27 | 1.6 | Mistral Vibe | Zweiter Skript-Bug gefixt: rootfs-Verify-Regex enthielt `\\$` (literales Dollar statt EOL-Anchor) und matchte nie; jetzt `(,|$)`. Hinweis: Das CT-101-Template-Skript trägt dieselbe latente Regex — dort unberührt. Nach dem Fehllauf muss CT 117 vor dem Retry per `pct destroy 117 --purge` entfernt werden (Guard verhindert sonst den Rerun) |
## 1. Zweck und Leitentscheidung
@@ -169,7 +169,7 @@ grep -qx 'ostype: debian' <<<"$config" || die 'unexpected os type'
grep -qx 'timezone: Europe/Berlin' <<<"$config" || die 'unexpected timezone'
grep -Eq '^features: .*nesting=1' <<<"$config" || die 'nesting is not enabled'
grep -Eq '^features: .*keyctl=1' <<<"$config" || die 'keyctl is not enabled'
grep -Eq "^rootfs: ${CONTAINER_STORAGE}:.*,size=${ROOTFS_GB}G(,|\\$)" <<<"$config" ||
grep -Eq "^rootfs: ${CONTAINER_STORAGE}:.*,size=${ROOTFS_GB}G(,|$)" <<<"$config" ||
die 'unexpected root filesystem allocation'
net0="$(grep '^net0: ' <<<"$config")"
for expected_net_field in \