### 06:03:27 rollback 2 (the same 13, simulated clean before)
0 upgraded, 0 newly installed, 13 downgraded, 0 to remove and 0 not upgraded.
0 upgraded, 0 newly installed, 13 downgraded, 0 to remove and 0 not upgraded.
audit rc=0
06:03:42 agent felhom-agent 0.144.1; daemon pid 2571767; kept copies before: 0
KILLED at 06:04:00.258: the pass + the daemon (apt-get was running)
bash: line 10: 2582951 Killed                  nohup sudo -u felhom-agent /usr/local/bin/felhom-agent --config /etc/felhom-agent/agent.json --selftest=os-update -vmid 9201 > /root/r868-pass2.log 2>&1
06:04:20 wrapper finished; kept copy: report-20261005T060342Z-guest-apply.json 
daemon now active restarts 1
audit rc=0
bind9-libs:amd64	1:9.20.29-1~deb13u1
openssl	3.5.7-1~deb13u3
python3.13	3.13.5-2+deb13u5
Oct 05 08:02:59 demo-hp felhom-os-apply[2580370]: os-apply: BUNDLE DONE agent=0.144.1 written=1 same=20 self-check=ok signers-created=False
Oct 05 08:03:54 demo-hp felhom-os-apply[2583726]: os-apply: PLAN upgrade=13 already=0 not-installed=0 from-snapshot=0
Oct 05 08:04:12 demo-hp felhom-os-apply[2585855]: os-apply: DONE rc=0 seconds=9.4 upgraded=13 restart-needed=containerd-shim,cron,dbus-daemon,sshd,systemd,systemd-journal,systemd-logind,systemd-network reboot-needed=yes
### 06:09:09 the copy is gone
Oct 05 08:04:05 demo-hp felhom-agent[2584482]: time=2026-10-05T08:04:05.487+02:00 level=INFO msg="felhom-agent daemon starting" version=0.144.1 host_id=demo-hp-bb76ea hub_url=https://hub.felhom.eu interval_s=900
Oct 05 08:09:05 demo-hp felhom-agent[2584482]: time=2026-10-05T08:09:05.492+02:00 level=INFO msg="osupdate: sending a report the agent never sent (the agent stopped mid-pass, R-868)" run=20261005T060342Z layer=guest vmid=9201 ring=0 trigger=debug path=/var/lib/felhom-agent/os/report-20261005T060342Z
Oct 05 08:09:05 demo-hp felhom-agent[2584482]: time=2026-10-05T08:09:05.492+02:00 level=INFO msg="osupdate: DONE" run=20261005T060342Z layer=guest vmid=9201 ring=0 trigger=debug outcome=applied healthy=true reason="sent after the agent stopped mid-pass (R-868)" upgraded=13 pending=0 not_covered=0 re
Oct 05 08:09:05 demo-hp felhom-agent[2584482]: time=2026-10-05T08:09:05.558+02:00 level=INFO msg="osupdate: sent kept report(s)" count=1
--- hub os_reports (demo-hp, newest 2)
(63, '2026-10-05 06:09:05', 'debug', 'apply', 'applied', 1, 'guest', '20261005T060342Z', 13)
(59, '2026-10-05 02:59:56', 'debug', 'apply', 'nothing', 1, 'docker', '20261005T025842Z', None)
