Disable snapd systemd timers
maxxer opened this issue · 0 comments
Hi all,
according the latest instruction from https://certbot.eff.org/, certbot package will be installed from snap.
And snap has separate timers - at least on ubuntu 18.04
# systemctl list-timers --all
NEXT LEFT LAST PASSED UNIT ACTIVATES
Fri 2022-02-11 16:27:35 CET 34min left Thu 2022-02-10 16:27:35 CET 23h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Fri 2022-02-11 19:29:19 CET 3h 36min left Fri 2022-02-11 13:14:35 CET 2h 38min ago ua-timer.timer ua-timer.service
Fri 2022-02-11 19:36:31 CET 3h 43min left Fri 2022-02-11 04:43:14 CET 11h ago motd-news.timer motd-news.service
Fri 2022-02-11 19:57:22 CET 4h 4min left Fri 2022-02-11 14:41:35 CET 1h 11min ago apt-daily.timer apt-daily.service
Sat 2022-02-12 02:47:35 CET 10h left Fri 2022-02-11 02:53:35 CET 12h ago renew-letsencrypt.timer renew-letsencrypt.service
Sat 2022-02-12 06:50:39 CET 14h left Fri 2022-02-11 06:23:35 CET 9h ago apt-daily-upgrade.timer apt-daily-upgrade.service
Sat 2022-02-12 07:31:00 CET 15h left Fri 2022-02-11 13:38:14 CET 2h 14min ago snap.certbot.renew.timer snap.certbot.renew.service
Mon 2022-02-14 00:00:00 CET 2 days left Mon 2022-02-07 00:00:35 CET 4 days ago fstrim.timer fstrim.service
n/a n/a n/a n/a snapd.snap-repair.timer snapd.snap-repair.service
n/a n/a n/a n/a ua-license-check.timer ua-license-check.service
n/a n/a n/a n/a ureadahead-stop.timer ureadahead-stop.service
We have just found it the hard way :)
So you have to disable snap.certbot.renew.timer instead
systemctl stop snap.certbot.renew.timer
systemctl disable snap.certbot.renew.timer
Originally posted by @PVi1 in #116 (comment)