GNAI-025: Fix — rootfs-Verify-Regex (\$ war literales Dollar, nie matchend) auf EOL-Anchor korrigiert; Retry braucht pct destroy 117 --purge
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user