Skip to content

Commit 2c319f3

Browse files
author
Raito Bezarius
committed
content/blog: expand affected versions, put links to static builds
Signed-off-by: Raito Bezarius <[email protected]>
1 parent 15f73e2 commit 2c319f3

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

content/blog/2025-06-27-lix-critical-bug.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,39 @@ If you have already upgraded and built your system, **read below carefully**. If
1616

1717
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.
1818

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+
1927
## What to do now
2028

2129
To avoid further breakage:
2230

2331
* **Stop the Nix garbage collector**:
2432

2533
```bash
26-
systemctl stop nix-gc.service nix-gc.timer
34+
systemctl stop nix-gc.service nix-gc.timer # On Linux
2735
```
2836

2937
* **Stop the Nix daemon**:
3038

3139
```bash
32-
systemctl stop nix-daemon.service nix-daemon.socket
40+
systemctl stop nix-daemon.service nix-daemon.socket # On Linux
3341
```
3442

3543
* **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.
3644

45+
Here are options from https://hydra.nixos.org -- the official build farm of the Nixpkgs project.
46+
47+
- [x86_64 Linux](https://hydra.nixos.org/job/nixpkgs/trunk/lixStatic.x86_64-linux/latest/download-by-type/file/binary-dist)
48+
- [ARM64 Linux](https://hydra.nixos.org/job/nixpkgs/trunk/lixStatic.aarch64-linux/latest/download-by-type/file/binary-dist)
49+
50+
macOS has no known working static builds unfortunately.
51+
3752
* **Do NOT run**:
3853

3954
```bash
@@ -51,6 +66,10 @@ NIX_REMOTE=local /path/to/static-nix/bin/nix-store --verify --repair
5166

5267
Run this as `root`.
5368

69+
**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+
5473
This might take a while but should warn you about any missing or corrupted paths.
5574

5675
To attempt recovery of a missing path:
@@ -119,6 +138,7 @@ Note that our Gerrit instance returns patches encoded in base64.
119138
* **2025-06-24**: CVE embargo lifted, patches published.
120139
* **2025-06-27**: Issue [#883](https://git.lix.systems/lix-project/lix/issues/883) reported.
121140
* **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.
122142

123143
---
124144

0 commit comments

Comments
 (0)