!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
11 Jan 2023
@joerg:thalheim.ioMic92tracked here: https://github.com/NixOS/nixpkgs/issues/21021015:00:10
@lily:lily.flowers@lily:lily.flowers joined the room.18:21:30
13 Jan 2023
@joerg:thalheim.ioMic92https://github.com/NixOS/nixpkgs/pull/21050509:23:26
@oxalica:matrix.org@oxalica:matrix.org invited @dramforever:matrix.org@dramforever:matrix.org.16:46:40
@dramforever:matrix.org@dramforever:matrix.org joined the room.16:47:50
15 Jan 2023
@nickcao:nichi.co@nickcao:nichi.co joined the room.11:33:03
@nickcao:nichi.co@nickcao:nichi.coFound a regression in systemd/luks: https://hydra.nixos.org/build/20539753711:33:52
@nickcao:nichi.co@nickcao:nichi.co The offending code is from systemd: src/shared/tpm2-util.c 11:34:25
@nickcao:nichi.co@nickcao:nichi.co
fn = strjoina("libtss2-tcti-", driver, ".so.0");
/* Better safe than sorry, let's refuse strings that cannot possibly be valid driver early, before going to disk. */
if (!filename_is_valid(fn))
    return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "TPM2 driver name '%s' not valid, refusing.", driver);
11:34:42
@nickcao:nichi.co@nickcao:nichi.coIntroduced in https://github.com/systemd/systemd/commit/542dbc623e11:37:01
@nickcao:nichi.co@nickcao:nichi.coNo upstream bug report yet.11:37:08
@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

Show newer messages


Back to Room ListRoom Version: 6