!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

81 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5126 Servers

Load older messages


SenderMessageTime
15 Jan 2023
@k900:0upti.meK900https://github.com/systemd/systemd/blob/main/src/basic/path-util.c#L111611:37:10
@k900:0upti.meK900Doesn't look obviously wrong11:37:14
@nickcao:nichi.co@nickcao:nichi.coDon't our systemd have debug symbols?12:05:05
@k900:0upti.meK900I think it should?12:06:03
@nickcao:nichi.co@nickcao:nichi.cogdb finds nothing?12:06:24
@k900:0upti.meK900With debuginfod?12:06:39
@nickcao:nichi.co@nickcao:nichi.coLet me see12:06:49
@k900:0upti.meK900Or dwarffs12:07:26
@nickcao:nichi.co@nickcao:nichi.coOh I worked around that12:09:24
@nickcao:nichi.co@nickcao:nichi.co0x7fffffffbd50: "/nix/store/fgn0li69rvhggzzyq7vzi4s0ka9wxvsw-tpm2-tss-3.2.0/lib/libtss2-tcti-device.so.0"12:09:28
@nickcao:nichi.co@nickcao:nichi.co(The content of fn)12:09:34
@nickcao:nichi.co@nickcao:nichi.coWe should patch that check out, It's not happy with absolute filenames.12:10:01
@nickcao:nichi.co@nickcao:nichi.coOr shall we instead setting these dlopened libs to RPATH or whatever search pathes.12:11:16
@k900:0upti.meK900Wait what12:11:55
@k900:0upti.meK900 How does it get an absolute path from fn = strjoina("libtss2-tcti-", driver, ".so.0"); 12:12:28
@nickcao:nichi.co@nickcao:nichi.coThat line is patched12:12:39
@k900:0upti.meK900Oof12:12:47
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Nick Cao: there's intentional code in the nix expression for replacing these dlopen expressions with ones that use absolute paths 12:12:52
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIIRC it's very much not easy to get it to work any other way12:13:20
@k900:0upti.meK900 So I guess that line should be path_is_valid 12:13:36
@nickcao:nichi.co@nickcao:nichi.co
In reply to @k900:0upti.me
So I guess that line should be path_is_valid
I doubt whether upstream would accept this.
12:14:08
@k900:0upti.meK900We can just patch it more12:14:17
@k900:0upti.meK900Since we're doing that anyway12:14:23
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh wait ok, sorry I didn't realize you were saying the following check was the problem. That's what I get for reading these messages on my phone without reading the links :P12:17:34
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwe probably need to come up with some better agreement with the systemd folks for how to live with all this dlopen crap12:19:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * we probably need to eventually come up with some better agreement with the systemd folks for how to live with all this dlopen crap12:19:56
@k900:0upti.meK900Why can't we just add those to rpath/12:21:00
@k900:0upti.meK900 * Why can't we just add those to rpath?12:21:02
@arianvp:matrix.org@arianvp:matrix.org flokli: didn't u find this dlopen thingy that valve uses? 12:21:04
@arianvp:matrix.org@arianvp:matrix.org
In reply to @k900:0upti.me
Why can't we just add those to rpath?
We could actually
12:21:49

Show newer messages


Back to Room ListRoom Version: 6