Subject: snapper doesn't take timeline snapshots

From: Leon <[email-masked]>
Date: Mon, 30 Dec 2024 20:45:28 +0100

Package: Snapper

Version: 0.10.4-1

When I set up a snapper config and configure a timeline it does not
automatically snapshots.
The apt hook works though and snapshots are always created pre and post
running an apt operation.
Snapper works fine on Artix
https://packages.artixlinux.org/packages/world/x86_64/snapper/ without
systemd as well as gentoo, so the problem must lie with how the upstream
debian package is maintained or "deliberately broken".
I suppose it is somehow configured for systemd timers.

I would be happy to help but don't know what to look for. I tried
comparing some of the config files and one thing the artix package does
is it creates the script /etc/cron.hourly/snapper.
Manually placing it there on the devuan system did nothing.
Best regards

---

From: Mark Hindley <[email-masked]>
Date: Tue, 31 Dec 2024 08:04:35 +0000

Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/976888

Leon,

> When I set up a snapper config and configure a timeline it does not

Leon,

This appears to be Debian #976888. Devuan doesn not fork src:snapper and uses
Debian's packages directly without recompilation.

I have no direct experience of snapper. I suggest you add your voice to the
Debian bug.

A possible alternative if you are feeling adventurous is to try utrans which can
translate systemd timers to cron snippets.

Mark

---

From: Mark Hindley <[email-masked]>
Date: Tue, 31 Dec 2024 09:12:14 +0000

Leon,

I have just had a quick look and the cron scripts are still in the source

 https://salsa.debian.org/debian/snapper/-/blob/debian/sid/scripts/snapper-daily
 https://salsa.debian.org/debian/snapper/-/blob/debian/sid/scripts/snapper-hourly

Do they work?

Mark