| 13 Aug 2023 |
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 |
| 17 Aug 2023 |
void | so what to do in the meanwhile? | 13:16:36 |
void | any ideas, in the master openssh is update but nix is still 2.17 | 13:16:50 |
void | nix_2_17 = common {
version = "2.17.0";
hash = "sha256-QMYAkdtU+g9HlZKtoJ+AI6TbWzzovKGnPZJHfZdclc8=";
};
| 13:17:07 |
void | maybe I can manually add the balsoft patch to nix | 13:17:34 |
void | * maybe I can manually apply the balsoft patch to nix | 13:22:28 |
void | * any ideas, in the master openssh is updated but nix is still 2.17 | 17:54:38 |
Jeff | if i get bored i'll probably change all my deployment.targetHost entries to add a unique prefix and the change my ssh config to add an entry to strip off the prefix and turn off the ControlMaster | 20:36:58 |
Jeff | a bit of a hack but i think that it should work | 20:37:10 |
| 18 Aug 2023 |
| @sfkvso:matrix.org joined the room. | 13:19:54 |
| @beect:matrix.org left the room. | 13:55:48 |
| rendakuenthusiast⚡️ joined the room. | 20:06:14 |
rendakuenthusiast⚡️ | is this matrix room deliberately not in the nix matrix space, or is my client messed up? | 20:07:15 |
@sumner:nevarro.space | In reply to @test-user:c.imperishable.name is this matrix room deliberately not in the nix matrix space, or is my client messed up? are you in #community-rooms:nixos.org ? | 20:35:08 |
@sumner:nevarro.space | In reply to @test-user:c.imperishable.name is this matrix room deliberately not in the nix matrix space, or is my client messed up? * are you in the #community-rooms:nixos.org subspace ? | 20:35:14 |