!UNVBThoJtlIiVwiDjU:nixos.org

Staging

405 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen132 Servers

Load older messages


SenderMessageTime
29 Jun 2026
@k900:0upti.meK900I need sleep21:41:43
30 Jun 2026
@k900:0upti.meK900OK great09:37:34
@k900:0upti.meK900 Building 260.2 in a nix-shell bootctl update also fails 09:37:52
@9hp71n:matrix.orgghpzin As mentioned before I am pretty sure it is just systemd-boot-builer picking "fallback" file as installed_version.
The easiest is just a 1 line fix for filtering it out from bootctl status output before matching, ie:
--- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
+++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
@@ -488,6 +488,8 @@
             stdout=subprocess.PIPE,
         ).stdout

+        installed_out = "\n".join([line for line in installed_out.splitlines() if "fallback" not in line])
+
         # See status_binaries() in systemd bootctl.c for code which generates this
         # Matches
         # Available Boot Loaders on ESP:
09:43:14
@k900:0upti.meK900No, it's not09:48:40
@k900:0upti.meK900Actually wait09:49:25
@k900:0upti.meK900Ugh09:49:26
@k900:0upti.meK900I see the problem09:49:29
@k900:0upti.meK900It is that but not in the way I thought09:49:41
@k900:0upti.meK900 We just didn't call bootctl update if our own update check succeeded 09:49:52
@k900:0upti.meK900Which is honestly kinda bad09:49:57
@k900:0upti.meK900Yeah OK this is so stupid09:51:15
@k900:0upti.meK900Ughhhhh the varlink interface works09:53:22
@k900:0upti.meK900But we can't rely on it09:53:24
@k900:0upti.meK900
❯ sudo varlinkctl call /run/systemd/io.systemd.BootControl io.systemd.BootControl.Install '{"operation":"update"}'
Method call io.systemd.BootControl.Install() failed: Stale file handle
{
        "origin" : "linux",
        "errno" : 116,
        "errnoName" : "ESTALE"
}
09:54:25
@k900:0upti.meK900 ESTALE here means "nothing to do" 09:54:34
@k900:0upti.meK900I wonder if it makes sense to just do varlink09:56:23
@k900:0upti.meK900And fall back to a direct bootctl invocation09:56:30
@k900:0upti.meK900The only situation it should matter is in a chroot09:57:03
@k900:0upti.meK900 ElvishJerricco need your thonk 09:59:03
@k900:0upti.meK900Also anyone else want to bash their head against paperless10:00:16
@k900:0upti.meK900Or should I just rip a bisect10:00:20
@k900:0upti.meK900And get back to you in 3-5 business days10:00:27
@flashonfire:lithium.ovhguillaumeI can start a bisect10:21:24
@k900:0upti.meK900Ahead of you10:21:43
@k900:0upti.meK900Unfortunately,
Download Unfortunately,
10:21:59
@csanthiago:matrix.orgcSanthiago

I don't wanna bother, I see you are doing a lot of work on this merge, this is the first one I am trying to follow up... I am failing to understand how you pick the packages to fix.
I try to look on asnible, but at the end it looks like is failing just becouse one dependancy in queued, and ansible is missing it.
If it is a complex answer I can ask again after the merge is done.

10:40:36
@k900:0upti.meK900 The answer is mostly "things that break a lot of other things" 10:41:04
@k900:0upti.meK900 And also, realistically, "things we personally use" 10:41:13
@csanthiago:matrix.orgcSanthiago

(L)

10:41:30

Show newer messages


Back to Room ListRoom Version: 6