Sender | Message | Time |
---|---|---|
4 Dec 2024 | ||
Your /home is on a separate btrfs subvolume. I think it should be fine but maybe it gets mounted too late. Make sure to set `filesystems."/home".neededForBoot = true;` in your config, maybe that can help ensure it gets mounted early. | 12:44:24 | |
In reply to @bjrnmrtns:matrix.orgJust as suspected! | 12:45:29 | |
In reply to @lordkekz:matrix.orgBeware typos tho | 12:46:32 | |
* In reply to @lordkekz:matrix.org Your /home is on a separate btrfs subvolume. I think it should be fine but maybe it gets mounted too late. Make sure to set filesystems."/home".neededForBoot = true; in your config, maybe that can help ensure it gets mounted early. Beware typos tho, since I'm on my phone and just doing it from memory | 12:47:02 | |
In reply to @lordkekz:matrix.orgThat makes a lot of sense. I'm going to try it and report back. Thanks a lot so far! | 12:48:34 | |
In reply to @lordkekz:matrix.org fileSystems."/home".neededForBoot = true; did the trick.Thanks a lot for the help with debugging. I was fighting this problem already a few times, but couldn't find the issue. | 12:57:05 | |
Nice! I'm glad I could help :) | 12:59:27 | |
17:36:44 | ||
Hello, I'm having an issue with agenix and was wondering if anybody has any solutions: I have an OCI container that uses an environment file that's decrypted by agenix. However, agenix seems to always use the same path for that file (/run/agenix/whatever.env ) even when its contents change. This makes it so when I update the env file and rebuild my system, the container doesn't get rebuilt since the path hasn't changed. | 17:38:31 | |
* Hello, I'm having an issue with agenix and was wondering if anybody has any solutions: I have an OCI container that uses an environment file that's decrypted by agenix. However, agenix seems to always use the same path for that file (/run/agenix/whatever.env ) even when its contents change. This makes it so when I update the env file and rebuild my system, the container doesn't get recreated since the path hasn't changed. | 17:42:54 | |
Alright, looks like I was able to work around this by making agenix use a hash of the encrypted file as the file name:
| 19:30:57 | |
not ideal, but seems to do the job for now! | 19:31:09 | |
Yeah.. but why do you need the container to rebuild? If it's just to make it restart on system activation, it should be possible to reload the systemd unit on activation somehow. Not sure which option you need tho. | 19:37:15 | |
Restarting the container doesn't make it pick up new environment variables. It needs to be re-created. | 19:40:13 | |
Ah, I see. Then you the hash thing is probably as good as it gets | 19:43:42 | |
* Ah, I see. Then the hash thing is probably as good as it gets | 19:43:51 | |
Yeah should be fine for now | 19:44:23 | |
Only "real issue" is that it's based on the hash of the encrypted contents and not the plain text contents, which means that the same source file re-encrypted without any changes will cause a re-creation. | 19:45:27 | |
But making it based on the plain text content also reveals that they haven't changed, which is also not great. | 19:45:52 | |
So you know, trade-offs. | 19:45:57 | |
I think usually the re-creation is preferrable; it rebuilding the container doesn't cause a rebuild of the container image, right? | 19:48:51 | |
Ye, it doesn't rebuild the image locally. | 19:49:35 | |
11 Dec 2024 | ||
06:48:46 | ||
14:20:27 | ||
12 Dec 2024 | ||
07:52:39 | ||
22:27:23 | ||
14 Dec 2024 | ||
20:35:54 | ||
19 Dec 2024 | ||
01:48:11 | ||
21 Dec 2024 | ||
21:18:32 | ||
21:56:39 |