| 12 Aug 2023 |
Wanja Hentze | If you're going to pretend things never go wrong, might as well not have rollback either | 22:35:44 |
Wanja Hentze | In reply to @raitobezarius:matrix.org Magic rollback should be part of NixOS to a certain extent the rollback part yes (and it is), but the "can I still use my deployment tool on this machine" part depends on the deployment tool | 22:38:20 |
raitobezarius | In reply to @whentze:matrix.org If you're going to pretend things never go wrong, might as well not have rollback either that's the goal | 22:38:43 |
raitobezarius | trying to rollback is already defeat | 22:38:51 |
Wanja Hentze | we have that today | 22:38:57 |
raitobezarius | In reply to @whentze:matrix.org the rollback part yes (and it is), but the "can I still use my deployment tool on this machine" part depends on the deployment tool right | 22:39:02 |
raitobezarius | In reply to @whentze:matrix.org we have that today checkmate myself | 22:39:38 |
Wanja Hentze | the ostrich algorithm is already full implemented 😎 | 22:41:38 |
Wanja Hentze | * the ostrich algorithm is already fully implemented 😎 | 22:42:26 |
| 13 Aug 2023 |
| @10leej:matrix.org joined the room. | 01:25:57 |
| ofungus joined the room. | 19:25:50 |
void | i just need something like touch /tmp/doing_switching; nixos-rebuild switch; while [ -f /tmp/doing_switch ]; sleep 5; done; if [ ! -f /tmp/done_switching ]; then nixos-rebuild switch --rollback; | 23:06:18 |
void | * i just need something like
touch /tmp/doing\_switching;
nixos-rebuild switch;
sleep 5;
if \[ ! -f /tmp/done\_switching \]; then nixos-rebuild switch --rollback;
| 23:06:57 |
void | * i just need something like
nixos-rebuild switch;
sleep 5;
if [ ! -f /tmp/done\_switching ]; then nixos-rebuild switch --rollback;
| 23:07:18 |
void | * i just need something like
nixos-rebuild switch;
sleep 5;
if [ ! -f /tmp/done\_switching ]; then nixos-rebuild switch --rollback; fi;
| 23:07:27 |
void | colmena will ssh touch /tmp/done_switching; | 23:17:20 |
void | * colmena will ssh touch /tmp/done_switching; for instance in the test section. | 23:18:26 |
void | this will save me from pretty much all the mistakes I make (too hot here 33 deg cel during the day, can't concentrate sometimes) | 23:19:25 |
Wanja Hentze | yep, it's quite low-tech | 23:53:04 |
Wanja Hentze | can be built out of an activation script and a "post-apply" script on colmena's end | 23:53:30 |
| 15 Aug 2023 |
| Christina Sørensen changed their profile picture. | 14:57:57 |
| @10leej:matrix.org left the room. | 19:34:24 |
| 16 Aug 2023 |
Jeff | In reply to @winterqt:nixos.dev issue is i can reproduce it consistently, and it only happens when using it via Colmena :/ I've been seeing the same thing with Colmena recently, trying to re-use the master socket just hangs. The only thing that fixes it is if the master socket gets closed, either explicity, though a timeout, or if the remote system reboots. | 00:19:49 |
Jeff | Only happens with Colmena, never have a problem with the ssh client. | 00:22:21 |
Jeff | I wonder if the recent update of openssh to 9.3p2 or 9.4p1 is part of the problem. | 01:35:20 |
Zhaofeng Li | Quickly looked, and it appears that the underlying problem may be https://github.com/NixOS/nix/issues/8329 | 05:14:50 |
Zhaofeng Li | I'll try to reproduce with nix-copy-closure on an older Nix version tomorrow. Should have looked earlier when I first encountered the problem myself 😐 | 05:16:33 |
| @rendakuenthusiast:imperishable.name left the room. | 09:44:29 |
| @lab-cat:ag-link.xyz joined the room. | 10:02:58 |
Jeff | In reply to @zhaofeng:zhaofeng.li Quickly looked, and it appears that the underlying problem may be https://github.com/NixOS/nix/issues/8329 Looks like this is fixed in Nix 2.16 but that will take some time to roll out. A workaround would be a way to disable ControlMaster for Colmena/Nix connections but I don't know how you'd accomplish that. | 14:47:49 |