feat(crash): meow_crash 系统级崩溃捕获 (agent-187) — svcd 服务异常退出上报(AF_UNIX best-effort,不崩svcd)+dmesg增量扫segfault/oops; 落盘 TF MeowOS/logs/crash_<bootts>.log 无卡回退/tmp+迁移; CLI dump/tail; S89 预置 crash.conf(主会话补)

meow_crash 62781084; meow_svcd da6ebc66→605646c4(仅+68行上报挂点); 宿主5场景全过(上报链路/dmesg增量/无卡迁移/铁律验证/CLI)
This commit is contained in:
MeowOS committed 2026-08-31 04:39:34 +08:00
1 parent 243148e440
commit cf86cbd387
10 files changed
+885 -1

No files matched your search

+16
View File
@@ -94,6 +94,22 @@ EOF
chmod 644 /usr/data/meow/services.d/meow_svc_power.conf
echo -n "provisioned power.conf "
fi
if [ -f /usr/data/meow/services.d/meow_crash.conf ]; then
echo -n "crash.conf exists "
else
cat > /usr/data/meow/services.d/meow_crash.conf <<'EOF'
exec=/usr/bin/meow_crash
args=
enabled=1
restart=on-fail
backoff_ms=2000
max_restart=5
trigger=boot
cap=
EOF
chmod 644 /usr/data/meow/services.d/meow_crash.conf
echo -n "provisioned crash.conf "
fi
else
echo -n "skip svc confs (/usr/data/meow not writable) "
fi