On Sun, 04 Dec 2022 22:26:17 -0000, "Joe Salmeri" <jmscdba@gmail.com> wrote:
The snapper-cleanup.service appears as a failed service listed by systemd --failed
Manually running the command which the service runs:
/usr/lib/snapper/systemd-helper --cleanup
running cleanup for 'home'. running number cleanup for 'home'. running timeline cleanup for 'home'. running empty-pre-post cleanup for 'home'. running cleanup for 'root'. running number cleanup for 'root'. Failure (error.something). number cleanup for 'root' failed. running timeline cleanup for 'root'. running empty-pre-post cleanup for 'root'.
Note the "Failure (error.something)." which is not real helpful :-)
The only additional info in the journal is:
Dec 04 16:18:09 DadPC.fios-router.home systemd[1]: snapper-cleanup.service: Main process exited, code=exited, status=1/FAILURE Dec 04 16:18:09 DadPC.fios-router.home systemd[1]: snapper-cleanup.service: Failed with result 'exit-code'.
Looking at the snapshots for root and home it DOES appear that the snapshots are actually being cleaned up because the correct number of snapshots for each config is being maintained so it is not clear exactly what it is having a problem with???
Does /var/log/snapper.log show anything? This is not the same, I assume you would have noticed filesystem problems, but check out: "Failure (error.something)." when calling snapper -v cleanup number in a system with broken filesystem #686 https://github.com/openSUSE/snapper/issues/686 -- Robert Webb