Record refused APT readiness and confirm strict bootstrap metadata cause
Rust development slice / linux (push) Failing after 6s
Rust development slice / linux (push) Failing after 6s
This commit is contained in:
@@ -1,6 +1,27 @@
|
|||||||
"""Operational process state for the three project services; no customer scan."""
|
"""Operational process state for the three project services; no customer scan."""
|
||||||
|
|
||||||
|
|
||||||
|
def apt_install_metadata_keys(payload):
|
||||||
|
"""Read only the fixed bootstrap metadata schemas; never secret contents."""
|
||||||
|
identifier = str(uuid.UUID(payload['id']))
|
||||||
|
base = Path('/var/lib/rmm-apt-transaction')
|
||||||
|
history = Path('/var/lib/rmm-bootstrap-history') / ('post-reboot-apt-readiness-' + identifier)
|
||||||
|
current = base / 'install-metadata.json'
|
||||||
|
previous = history / 'var__lib__rmm-apt-transaction__install-metadata.json'
|
||||||
|
values = []
|
||||||
|
for path in (current, previous):
|
||||||
|
require(not path.is_symlink() and path.stat().st_uid == 0
|
||||||
|
and path.stat().st_mode & 0o077 == 0 and path.stat().st_size < 4096,
|
||||||
|
'fixed private bootstrap metadata')
|
||||||
|
values.append(json.loads(path.read_bytes()))
|
||||||
|
original = {'schema_version', 'provider_sha256', 'hook_sha256', 'unit_sha256'}
|
||||||
|
return dict(current_keys=sorted(values[0]), previous_keys=sorted(values[1]),
|
||||||
|
original_strict_schema=set(values[1]) == original,
|
||||||
|
original_fields_unchanged=all(values[0].get(k) == values[1][k] for k in original),
|
||||||
|
current_sha256=hashlib.sha256(current.read_bytes()).hexdigest(),
|
||||||
|
previous_sha256=hashlib.sha256(previous.read_bytes()).hexdigest())
|
||||||
|
|
||||||
|
|
||||||
def service_processes(payload):
|
def service_processes(payload):
|
||||||
result={}
|
result={}
|
||||||
# Same read-only kernel clock-readiness query required by the runtime;
|
# Same read-only kernel clock-readiness query required by the runtime;
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# Tatsächlicher Implementierungsstand
|
# Tatsächlicher Implementierungsstand
|
||||||
|
|
||||||
|
## APT-Runtimemessung sicher verweigert; Bootstrap-Metadatenfehler
|
||||||
|
|
||||||
|
Der neue post-reboot-Requalifikationslauf stoppte nach versionierter
|
||||||
|
Konfigurations-/Pinmessung beim APT-ExecStartPre, bevor die Pythonprobe anlief.
|
||||||
|
Kein Paketjob, Grant, Markerreset oder neue Wirkung. Privater ursprünglicher
|
||||||
|
post-reboot-apt-readiness.jsoncompletedfalse/stagerepinned_preserved erhalten.
|
||||||
|
Tatsächliche reine Schemaprüfung bestätigt sieben aktuelle Metadatenfelder,
|
||||||
|
aber InstallMetadata verweigert unbekannte Felder und erlaubt exakt vier.
|
||||||
|
Bootstrap ergänzte irrtümlichhelper_sha256/runtime_sha256/apt_config_sha256;
|
||||||
|
diese gehören in Runtime-/Policybelege, nicht in InstallMetadata. Originale
|
||||||
|
vier Werte im versionierten Backup nachweislich unverändert, Schema4Felder.
|
||||||
|
Aktuelle DateiSHAf55a784e…, Original5566bc26…. Agent/General/APT kontrolliert
|
||||||
|
inactive; Root18geschlossen bleibt erhalten. Enge versionierte Metadaten-
|
||||||
|
korrektur und Fortsetzung derselben Readinessprobe werden vorbereitet,
|
||||||
|
keine Wiederholung des Requalifikationsbootstrap/keine erneute Paketabnahme.
|
||||||
|
MVP bleibt bis Abschluss dieser und der MCP-/DoD-Prüfungen offen.
|
||||||
|
|
||||||
## General-Startretry nativ nachgewiesen — 2026-11-13
|
## General-Startretry nativ nachgewiesen — 2026-11-13
|
||||||
|
|
||||||
Einzige dauerhafte UnitänderungRestart=on-failure/RestartSec=5, keinBinary-/
|
Einzige dauerhafte UnitänderungRestart=on-failure/RestartSec=5, keinBinary-/
|
||||||
|
|||||||
Reference in New Issue
Block a user