!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

611 Members
NixOS ❤️ systemd166 Servers

Load older messages


SenderMessageTime
18 Aug 2021
@arianvp:matrix.orgAriando we know watch patch introduced this breaking behaviour?11:22:03
@figgyc:figgyc.ukfiggyc joined the room.12:03:07
@andi:kack.itandi-Yeah and it is actually a good patch. I just quickly hacked together a patch that fixed our edge case.17:25:48
@andi:kack.itandi-The question is just what cases I did miss :D17:26:11
@andi:kack.itandi-https://github.com/andir/systemd/commit/6a0378ef75fe6c683ff3347290e4f58e55ddd27d17:29:05
@andi:kack.itandi-I must say I really enjoy working with the systemd "stdlib" again. They have functions that are harder to use in the wrong way :-)17:36:12
@andi:kack.itandi-Pending some installer tests to succeed hydra seems to be happy with that patch: https://hydra.nixos.org/eval/1697090#tabs-now-succeed18:08:19
@arianvp:matrix.orgArianNice18:17:24
@andi:kack.itandi-rebased, cleaned up the history, running another hydra build and finally dinner :-) Would welcome any reviews of the work that went into this so far.18:27:39
@andi:kack.itandi-https://github.com/NixOS/nixpkgs/pull/13161818:27:45
@roosemberth:orbstheorem.chRoos left the room.18:45:07
@arianvp:matrix.orgArianI suppose we'll keep the patch in our tree for now so we don't block the bump?18:51:19
@arianvp:matrix.orgArianAnd then upstream it later if need d?18:51:29
@mic92:nixos.devMic92for the C folks a quick review please: https://github.com/NixOS/patchelf/pull/300/files18:58:57
@mic92:nixos.devMic92Same here (but this is more c++ specific): https://github.com/NixOS/patchelf/pull/30218:59:17
@andi:kack.itandi-
In reply to @arianvp:matrix.org
I suppose we'll keep the patch in our tree for now so we don't block the bump?
I actually want to open PR straight away to gather feedback. If they say it is okay but they don't want it we just keep it. If they accept it we pick it ..
19:21:40
19 Aug 2021
@andi:kack.itandi-Has anyone ever built a portable service image with Nix? I want to create an image that is shippable somewhere and just does what it is supposed to do without having to resort to stuff like docker.00:14:03
@andi:kack.itandi-aarch64-linux is also fine with the new version and the small test set. I opened a PR for my new patch but haven't received any feedback yet: https://github.com/systemd/systemd/pull/2047909:11:42
@arianvp:matrix.orgArian
In reply to @andi:kack.it
Has anyone ever built a portable service image with Nix? I want to create an image that is shippable somewhere and just does what it is supposed to do without having to resort to stuff like docker.
No but my previous job did do something very similar to it. Extracted a systemd service and a /nix/store bundle and start that up on ubuntu
10:20:28
@arianvp:matrix.orgArianJust ship the /nix/store and have /nix/store path in the systemd unit et voila10:21:06
@arianvp:matrix.orgArian (I think we even used the RootDirectory= option) 10:21:44
@arianvp:matrix.orgArian We didnt use portablectl as it didnt exist yet back then... Also I noticed portablectl doesnt work on NixOS for some unknown reason 10:22:07
@andi:kack.itandi-I am thinking of shipping services (preferably as self-contained image) to non-nixos users and to users that shouldn't care or see if the service is using Nix.10:36:30
@andi:kack.itandi-There is a stupid enterprisy "zero-trust VPN" that I want to contain in such a service and ship it to machines without ever exposing it to much of the host or vice versa.10:37:03
@vxern:envs.netvxern joined the room.12:13:47
@gdamjan:spodeli.orggdamjan andi-: oh, I have yes 17:37:22
@gdamjan:spodeli.orggdamjanhttps://github.com/gdamjan/tt-rss-service17:37:44
@gdamjan:spodeli.orggdamjanone of my TODO items is to add a generic make-portable-service function to Nix, similar to the ones that build docker images etc.17:38:33
@gdamjan:spodeli.orggdamjanI'm hosting this image on Ubuntu currently, and works fine for a while17:39:27
@gdamjan:spodeli.orggdamjanI'm also trying to make a nextcloud portable service in similar vain, but I didn't have time to investigate and fix the issues17:40:18

Show newer messages


Back to Room ListRoom Version: 6