!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

293 Members
Kernel, stdenv, low-level hacking, patchelf, … 73 Servers

Load older messages


SenderMessageTime
21 Dec 2021
@andi:kack.itandi-Would be nice to make use of some of the systemd faciilities for "switching ostrees"20:41:11
@mic92:nixos.devMic92 What does switching ostrees do? 20:42:16
@andi:kack.itandi-well they already support a similar to NixOS model20:42:30
@andi:kack.itandi-where you also have atomic system upgrade IIRC. I think fedora silverblue is using that for updates.20:42:50
@andi:kack.itandi-I have never fully looked into it but that is very close to our model.20:43:00
@andi:kack.itandi-IIRC arian checked it out but that had the issue of always restarting all the services?20:43:21
@andi:kack.itandi-They wouldn't (yet) detect that some unit sare identical.20:43:33
@andi:kack.itandi-Thinking about it that could be fixed with my current systemd PR that we carry since about a release or so...20:43:51
@andi:kack.itandi-Looking forward for a few days next week to look into these kinds of things.20:44:01
@jb:vk3.wtfjbedo joined the room.20:49:59
@mic92:nixos.devMic92
In reply to @andi:kack.it
Still. I try to help out in a distro for every day people not research student with access to compute farms ;-)
I just build cntr on an RPI3 with 1GB ram and LTO enabled. I think we are fine.
20:50:36
@andi:kack.itandi-how long did that take? :-)20:50:49
@artturin:matrix.orgArtturin joined the room.20:51:16
@mic92:nixos.devMic92 mhm. I did not measure it. Not too long. It took longer to download the build environment with nix develop 20:51:34
@andi:kack.itandi-ok20:55:27
@lukegb:zxcvbnm.ninjalukegb (he/him) joined the room.21:58:38
@qubasa:gchq.icuQubasaMic92: Kennst du dwarffs? https://github.com/edolstra/dwarffs22:35:51
22 Dec 2021
@fzakaria:matrix.orgfzakaria (Old) Mic92: thanks for your suggestion -- actually started a post on the mailing list about the subject 00:49:54
@fzakaria:matrix.orgfzakaria (Old)some interesting choices between linkers that's not coded in the ELF specification for dynamic objects.00:50:11
@mic92:nixos.devMic92
In reply to @qubasa:gchq.icu
Mic92: Kennst du dwarffs? https://github.com/edolstra/dwarffs
I have seen but not used it.
04:43:48
@tomberek:matrix.orgtomberek Mic92: i've ported the guix "stat storm" approach to Nix to experiment (this is where there are per-package ld.so.cache's and glibc knows to look there. Is this something you are interested in/worked on before? 04:46:45
@mic92:nixos.devMic92
In reply to @tomberek:matrix.org
Mic92: i've ported the guix "stat storm" approach to Nix to experiment (this is where there are per-package ld.so.cache's and glibc knows to look there. Is this something you are interested in/worked on before?
It sounds interesting but I am not so sure how the nix community would feel about the extra packages. Especially now that fzakaria has a promising alternative: https://github.com/NixOS/patchelf/pull/357
04:48:42
@mic92:nixos.devMic92
In reply to @tomberek:matrix.org
Mic92: i've ported the guix "stat storm" approach to Nix to experiment (this is where there are per-package ld.so.cache's and glibc knows to look there. Is this something you are interested in/worked on before?
* It sounds interesting but I am not so sure how the nix community would feel about the extra files. Especially now that fzakaria has a promising alternative: https://github.com/NixOS/patchelf/pull/357
04:48:51
@tomberek:matrix.orgtomberek(yeah, i saw that, hence my question)04:49:04
@mic92:nixos.devMic92I think we would need to test shrinkwrap in a large scale experiement.04:49:30
@mic92:nixos.devMic92To see if there are any major downsides04:49:41
@tomberek:matrix.orgtombereki was under the impression that there was a reason absolute paths would not be desirable. something like it prevents other overloading behavior from working04:51:00
@tomberek:matrix.orgtomberek(i don't recall, but if it works out, great!)04:51:19
@mic92:nixos.devMic92
In reply to @tomberek:matrix.org
i was under the impression that there was a reason absolute paths would not be desirable. something like it prevents other overloading behavior from working
I guess LD_PRELOAD still works for hacks? Would ld.so cache still allow this?
04:52:52
@tomberek:matrix.orgtomberekI believe so.04:53:04

Show newer messages


Back to Room ListRoom Version: 6