| 31 Mar 2026 |
Sergei Zimmerman (xokdvium) | This seems like a smoking gun:
client: waiting for Password: to appear on screen
server # [ 356.772255] sshd[897]: Timeout before authentication for connection from 2001:db8:1::1 to 2001:db8:1::2, pid = 1023
| 08:30:38 |
Jens Petersen | I am getting this warning/error on Fedora with nix-2.34:
warning: unable to download 'https://channels.nixos.org/flake-registry.json': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: ; using cached version Any ideas? (nix-2.33 seems okay) | 10:00:16 |
Sergei Zimmerman (xokdvium) | Hm, that’s with the release binaries, right? Wonder why the path is empty | 10:43:38 |
Jens Petersen | Sergei Zimmerman (xokdvium): no it is a fedora build | 11:15:45 |
Jens Petersen | Okay thanks Sergei Zimmerman (xokdvium) - seems i need to set ssl-cert-file now | 11:29:57 |
Sergei Zimmerman (xokdvium) | For onlookers, Jens shared that fedora 44 is removing the default PEM certs https://fedoraproject.org/wiki/Changes/droppingOfCertPemFile | 11:42:22 |
Sergei Zimmerman (xokdvium) | Not a nix change | 11:42:55 |
| caverav joined the room. | 18:24:06 |
| 1 Apr 2026 |
| caverav set a profile picture. | 00:27:04 |
| Azad Satkarni changed their display name from 7karni to Azad Satkarni. | 06:40:40 |
dramforever | so if i have multiple nix processes on the same --store that each may build stuff and/or run gc, are these supposed to be synchronized? | 15:17:05 |
dramforever | i've been playing around with gc races and i'm getting all sorts of exciting errors by doing this, even with https://github.com/NixOS/nix/pull/15469 applied | 15:17:36 |
dramforever | the recipe:
- run two of
while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ build --no-link nixpkgs#pkgsCross.riscv64.hello ; do : ; done
- run one of
while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ store gc; do : ; done put them each in a tmux pane and watch the chaos unfold
| 15:21:30 |
dramforever | * the recipe:
- run two of
while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ build --no-link nixpkgs#pkgsCross.riscv64.hello ; do : ; done
- run one of
while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ store gc; do : ; done
put them each in a tmux pane and watch the chaos unfold
| 15:21:37 |
Sergei Zimmerman (xokdvium) | In reply to @dramforever:matrix.org so if i have multiple nix processes on the same --store that each may build stuff and/or run gc, are these supposed to be synchronized? Yeah that’s the idea. What’s exactly breaking? | 15:30:53 |
Sergei Zimmerman (xokdvium) | Pathlocks being messed up? | 15:31:48 |
dramforever | so firstly if the autogc thread is still running when the main thread exits the logger crashes. i've hacked this https://fars.ee/b2go to make it less likely to crash | 15:35:31 |
dramforever | and secondly... uh, readdir is not thread safe | 15:35:41 |
Sergei Zimmerman (xokdvium) | Hm where are we doing readdir on the same fd? | 15:36:08 |
Sergei Zimmerman (xokdvium) | * Hm where are we doing readdir on the same fd from different threads? | 15:36:18 |
dramforever | oh, it's not thread safe in posix (yet) | 15:36:36 |
dramforever | but should be fine on glibc, so scratch that | 15:36:43 |
Sergei Zimmerman (xokdvium) | Hm I did see a crash in runtime roots scanning | 15:39:11 |
dramforever | secondly i'm getting a sigsegv on this boost::regex_match https://github.com/NixOS/nix/blob/b8b3e37b38d2bcc4a4633bf2c7d67e60603308a6/src/libstore/local-gc.cc#L74 | 15:39:41 |
dramforever | i don't know why | 15:39:43 |
Sergei Zimmerman (xokdvium) | Yeah that’s what I got too. It’s strange. Since it’s const surely there’s no way it’s not thread-safe right? | 15:40:26 |
Sergei Zimmerman (xokdvium) | Right???? | 15:40:33 |
dramforever | oh, i can't tell if the first hunk here is necessary | 15:40:53 |
dramforever | anyway i made that if (procDir && false) | 15:42:06 |
dramforever | it shouldn't matter, right? builder should do their own temproots | 15:42:14 |