!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

105 Members
Another day, another cert renewal46 Servers

Load older messages


SenderMessageTime
17 Oct 2022
@winterqt:nixos.devWinter (she/her)I noticed the stamp file seems to be holding an mtime from a few hours ago, and isn't being updated by these runs.03:34:11
@winterqt:nixos.devWinter (she/her)Weird!03:34:12
@winterqt:nixos.devWinter (she/her)Wonder what happens if I delete it and reboot.03:34:31
@winterqt:nixos.devWinter (she/her)It gets recreated as expected, gonna reboot again. I assume it won't be updated.03:37:26
@winterqt:nixos.devWinter (she/her)Yup, isn't updated, timer still fires at reboot.03:38:49
@hexa:lossy.networkhexa
In reply to @winterqt:nixos.dev
Definitely weird how it fires every reboot no matter what, though.
that is likely Persist=yes, it will run on reboot if it should have run in the meantime
08:03:22
@hexa:lossy.networkhexathough every reboot sounds wrong08:03:56
@hexa:lossy.networkhexaare you maybe not persisting some statedir?08:04:04
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
are you maybe not persisting some statedir?

look at the other messages where i talk about the stamp file, that's what i'm talking about.

even if the stamp file says the service ran minutes before, a reboot will make it run again, which is obviously wrong. :/

11:10:58
@winterqt:nixos.devWinter (she/her)it's so weird11:11:08
@hexa:lossy.networkhexado you have a setup with non-persistent mountpoints?11:11:49
@winterqt:nixos.devWinter (she/her)though that's definitely an issue i considered, and maybe there's some race condition or something11:11:53
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
do you have a setup with non-persistent mountpoints?
what do you mean by that? (probably not, but want to clarify what you mean)
11:12:09
@hexa:lossy.networkhexayeah, the wording is weird11:12:17
@hexa:lossy.networkhexauhm, erase your darlings blogpost11:12:22
@hexa:lossy.networkhexalike data below / is not persistent, but instead tmpfs or zfs with rollbacks to a clean state11:12:47
@hexa:lossy.networkhexaI'm wondering whether some state that tracks whether a timer has execute is not being persisted11:13:26
@hexa:lossy.networkhexaand with Persist=yes it thinks it has to rerun everytime11:13:35
@winterqt:nixos.devWinter (she/her)it's bring persisted11:20:29
@winterqt:nixos.devWinter (she/her)that's the stamp file i'm talking about11:20:42
@winterqt:nixos.devWinter (she/her)
In reply to @winterqt:nixos.dev
It gets recreated as expected, gonna reboot again. I assume it won't be updated.
here i show that my path is being persisted correctly, but systemd isn't stamping the file at boot after that initial creation
11:21:49
@winterqt:nixos.devWinter (she/her)maybe it's nginx depending on the renewal target 🤔11:35:40
@winterqt:nixos.devWinter (she/her)that would make sense lmfao11:40:35
19 Oct 2022
@m1cr0man:m1cr0man.comm1cr0manDepending on the renewal target in nginx shouldn't be triggering the timer? Unless, the timer is aware of when the unit last ran? Maybe I'm wrong though.22:57:28
20 Oct 2022
@hjulle:matrix.orghjulle joined the room.12:04:33
24 Oct 2022
@andreas.schraegle:helsinki-systems.deAndreas Schräglethe acme nixos test broke recently https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.acme.x86_64-linux / https://hydra.nixos.org/log/hv4qwbrhmnxf6h0fq70m8lxy5an0xf89-vm-test-run-acme.drv logs indicate minica being denied a system call, if I'm not reading them wrong. any ideas why this might be happening?08:30:55
@arianvp:matrix.orgArianodd08:32:13
@arianvp:matrix.orgArianseems both minica and lego dumped core08:33:26
@arianvp:matrix.orgArianthis is really odd. maybe the go package broke?08:34:10
@arianvp:matrix.orgArianaaah wait08:34:45

Show newer messages


Back to Room ListRoom Version: 6