!UNVBThoJtlIiVwiDjU:nixos.org

Staging

317 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%3Aopen109 Servers

Load older messages


SenderMessageTime
7 Oct 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)not sure16:09:19
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)tbh i am tempted to just force the have_asan check to fail, so it'll just build without asan and all the issues disappear16:11:46
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)not sure whether thats a good idea though16:11:53
@qyliss:fairydust.spaceAlyssa Rosswhat does gentoo do?16:13:56
@vcunat:matrix.orgVladimír ČunátI'd expect that they have security reasons.16:16:44
@vcunat:matrix.orgVladimír ČunátLike, let asan crash some failures just to be safe.16:17:10
@dramforever:matrix.orgdramforeverbut this only happens if the executable is built with asan right16:17:39
@dramforever:matrix.orgdramforeverotherwise it's just asan compatible16:17:58
@vcunat:matrix.orgVladimír ČunátWell, it looks like at least the tests in our builds do run with ASAN.16:19:03
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)nether gentoo nor fedora do anything special related to asan16:19:11
@vcunat:matrix.orgVladimír Čunát* Well, it looks like at least the tests in our audit builds do run with ASAN.16:19:14
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)the whole thing is built with asan, turns out16:19:27
@pyrox:pyrox.devdish [Fox/It/She]https://github.com/nixos/nixpkgs/pull/449548 btw, tested fine for me on x86_64-linux and hexa is working on the aarch builds16:31:01
@pyrox:pyrox.devdish [Fox/It/She]* https://github.com/nixos/nixpkgs/pull/449548 btw, built fine for me on x86_64-linux and hexa is working on the aarch builds16:31:18
@pyrox:pyrox.devdish [Fox/It/She]python 3.13.816:31:24
@vcunat:matrix.orgVladimír ČunátI'm not too fond of redoing darwin stdenvs from scratch, but better now than later, if it should be this staging-next iteration.16:33:59
@vcunat:matrix.orgVladimír Čunát * I'm not too fond of redoing darwin stdenvs from scratch, but better now than later, if it should be in this staging-next iteration. 16:34:30
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) tbh i can't reproduce the issue and i am not familiar enough with pie+asan to judge the impact of just force-disabling asan in audit. unless anyone else has any ideas and/or strong opinions, i'll leave it as is. Willi Butz would you maybe open an upstream issue report? 16:34:39
@willi:butz.cloudWilli Butzcurrently trying to repro on a local machine that I just switched to _hardened16:35:14
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)ah 👍️16:35:24
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)yeah a solid reproducer would be good16:35:32
@willi:butz.cloudWilli Butzbut please don't block because of some weird setup. if hydra is fine and the tests pass I see no reason for that. I just asked because I couldn't make out why the tests fail ^^16:37:01
@k900:0upti.meK900I am rebuilding all of Qt, again16:39:01
@k900:0upti.meK900HOPEFULLY this is the last one16:39:48
@dramforever:matrix.orgdramforever
In reply to @grimmauld:grapevine.grimmauld.de
tbh i can't reproduce the issue and i am not familiar enough with pie+asan to judge the impact of just force-disabling asan in audit. unless anyone else has any ideas and/or strong opinions, i'll leave it as is. Willi Butz would you maybe open an upstream issue report?
how about disabling pie
16:40:32
@dramforever:matrix.orgdramforeverthen we go back to what we had in the 25.05 era16:40:47
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)thats also a decent proposal16:40:52
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i'd probably feel better about that, disabled pie does at least mean probably no runtime crashes of the actual audit userspace16:41:28
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)
diff --git a/pkgs/by-name/au/audit/package.nix b/pkgs/by-name/au/audit/package.nix
index 215cda4ba459..71bedbc56352 100644
--- a/pkgs/by-name/au/audit/package.nix
+++ b/pkgs/by-name/au/audit/package.nix
@@ -75,6 +75,9 @@ stdenv.mkDerivation (finalAttrs: {
     libcap_ng
   ];
 
+  # audit is built with asan, and asan breaks with pie on some kernels
+  hardeningDisable = [ "pie" ];
+
   configureFlags = [
     # z/OS plugin is not useful on Linux, and pulls in an extra openldap
     # dependency otherwise

Willi Butz could you try this one too maybe (on the machine that breaks)?

16:43:15
@willi:butz.cloudWilli Butzsure16:43:31

Show newer messages


Back to Room ListRoom Version: 6