You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/2025-06-27-lix-critical-bug.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,24 +16,39 @@ If you have already upgraded and built your system, **read below carefully**. If
16
16
17
17
We are deeply sorry for the disruption. We are working on a fix, which will undergo approximately **72 hours of testing** before we declare it safe. This post will be updated with progress.
18
18
19
+
Lix versions which are affected are the following ones:
20
+
21
+
- Lix 2.91.2
22
+
- Lix 2.92.3
23
+
- Lix 2.93.1
24
+
25
+
This problem has been witnessed on Linux, the root cause is platform independent and we believe it can occur on Darwin as well.
26
+
19
27
## What to do now
20
28
21
29
To avoid further breakage:
22
30
23
31
***Stop the Nix garbage collector**:
24
32
25
33
```bash
26
-
systemctl stop nix-gc.service nix-gc.timer
34
+
systemctl stop nix-gc.service nix-gc.timer# On Linux
systemctl stop nix-daemon.service nix-daemon.socket# On Linux
33
41
```
34
42
35
43
***Download a static Nix binary**, e.g. using `curl`, without relying on the broken interpreter. This will help you run recovery commands without making things worse.
36
44
45
+
Here are options from https://hydra.nixos.org -- the official build farm of the Nixpkgs project.
**Note** : If you do not have a `nix-store` binary in your static build, you can always obtain one by symlinking the main binary `nix`, i.e. `ln -s nix nix-store`.
70
+
**Note 2** : `--check-contents` is not required because this bug *deletes* paths and does not *corrupt* them. The verification can be very fast even on moderately sized stores.
71
+
**Note 3** : the previous command will not log explicit success, but will log any corruption or failures. If you do not see anything wrong, you are safe.
72
+
54
73
This might take a while but should warn you about any missing or corrupted paths.
55
74
56
75
To attempt recovery of a missing path:
@@ -119,6 +138,7 @@ Note that our Gerrit instance returns patches encoded in base64.
***2025-06-28**: Confirmed and acknowledged by Lix team. Investigation and patching underway.
141
+
***2025-06-28 15:30 CEST** : Added links to known trustable static builds from Nixpkgs. Added affected Lix versions. Added more details on recovery section.
0 commit comments