!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

574 Members
NixOS ❤️ systemd158 Servers

Load older messages


SenderMessageTime
3 Feb 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Bruxelles) to SomeoneSerge (Gand St. Pieters).13:40:32
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (FOSDEM) to pbsds.16:25:44
@lukts30:matrix.orglukts30 joined the room.19:40:29
@arianvp:matrix.orgArianWe really should expose the systemd-repart call in bootspec or something21:28:22
@arianvp:matrix.orgArianSo you can one shot nixos-install21:28:39
4 Feb 2025
@arianvp:matrix.orgArian

Anybody any idea why we are patching systemdsystemunitdir all over the place in nixpkgs?

https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20systemdsystemunitdir&type=code

I expected pkg-config to do the right thing here due to prefix=$out. Do we have some bug in mkDerivation?

18:49:32
@arianvp:matrix.orgArian in my mind this should just work: https://github.com/systemd/systemd/blob/060676871e3a576219ee6f1b1967cca43754eaca/src/core/systemd.pc.in#L28 18:49:56
@arianvp:matrix.orgArian This definitely works for libraries. Maybe because systemd.pc is not a library we’re screwing this up? 18:54:35
@arianvp:matrix.orgArianOr am I misremembering18:54:54
@qyliss:fairydust.spaceAlyssa RossIt's necessary if systemd is unavailable20:55:44
@qyliss:fairydust.spaceAlyssa Rossoh also systemd.pc points into systemd's output path20:56:12
@qyliss:fairydust.spaceAlyssa Rossyou can't have a relative path in a .pc file20:56:35
@qyliss:fairydust.spaceAlyssa Rossthe prefix in the .pc is systemd's prefix20:57:50
@qyliss:fairydust.spaceAlyssa Rossnot the prefix of the package being built20:58:20
@arianvp:matrix.orgArianah21:18:35
5 Feb 2025
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Anyone have any idea why losetup would work, but mount -o loop would say "Failed to setup loop device"? 01:03:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgtrying to do fancy loop things with systemd initrd01:04:14
@arianvp:matrix.orgArianYou need loop kernel module for the mount -o loop01:19:34
@arianvp:matrix.orgArianIs it available?01:19:44
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea, turns out I did something dumb01:22:35
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwell, only a little dumb.01:22:45
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I was trying to mount an erofs image that has the immutable bit set in the file system, so mount was trying to set up the loop device as writable because I didn't pass the ro option. 01:23:18
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * I was trying to mount an erofs image that has the immutable bit set in the file system, and mount was trying to set up the loop device as writable because I didn't pass the ro option. 01:23:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.org now I'm trying and failing to get dyndbg output on the overlay module 01:36:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Thought options overlay dyndbg=+pflm in modprobe.d would do it but nope 01:37:16
@gdamjan:spodeli.orggdamjanI think you can mount erofs without loop these days12:32:58
@gdamjan:spodeli.orggdamjanhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb176750266a12:36:49
6 Feb 2025
@jeff:ocjtech.usJeff changed their profile picture.06:03:00
@rvdp:infosec.exchangeRamses 🇵🇸 Does anyone know how you can actually mount an erofs image directly on a recent kernel? Just doing mount -t erofs <img> <mountpoint> seems to always use a loop device 10:26:44
@arianvp:matrix.orgArianWill probably need userspace support in mount11:30:30

Show newer messages


Back to Room ListRoom Version: 6