Re: [systemd-devel] Setting up a VPN daemon as a Portable Service

2022-10-06 Thread Arian van Putten
Afaik Portable services run in an isolated root and dont have access to the hosts rootfs. You'd have go include iptables and all its dependencies in the portable services directory. If you don't want to do that you'd have to use BindReadOnlyPaths= to give the service access to the required host pa

Re: [systemd-devel] networkd : ipv6 prefix delegation

2022-09-05 Thread Arian van Putten
Just thinking out loud here but aren't RA messages are sent as link local multicast messages? How can it send them if you disable link local addressing? On Mon, 5 Sept 2022, 19:14 Ede Wolf, wrote: > Am 05.09.22 um 18:34 schrieb Ede Wolf: > > Hello, > > > > For a simple setup, I've tried to repla

Re: [systemd-devel] homectl error: "System does not support selected file system"

2022-08-16 Thread Arian van Putten
Systemd-homed Support is not available yet in NixOS but there are some active PRs. I think we can better assist you in the #nixos-systemd channel in the NixOS matrix than on the systemd mailing list. Care to drop questions there? Happy to assist. On Tue, 16 Aug 2022, 18:03 Doron Behar, wrote:

Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-02 Thread Arian van Putten
I've seen this a lot with docker/containerd. It seems as if for some reason systemd doesn't wait for their cgroups to cleaned up on shutdown. It's very easy to reproduce. Start a docker container and then power off the machine. Since the move to cgroups V2 containerd should be using systemd to man

Re: [systemd-devel] [EXT] Question about timestamps in the USER_RECORD spec

2021-10-28 Thread Arian van Putten
correct. Even when reading the RFC by the letter. On Thu, Oct 28, 2021 at 9:21 AM Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote: > >>> Arian van Putten schrieb am 26.10.2021 um > 10:41 in > Nachricht > : > > Hey list, > > > > I'm reading t

[systemd-devel] Question about timestamps in the USER_RECORD spec

2021-10-26 Thread Arian van Putten
Hey list, I'm reading the https://systemd.io/USER_RECORD/ spec and I have a question There are some fields in the USER_RECORD spec which are described as "unsigned 64 bit integer values". Specifically the fields describing time. However JSON lacks integers and only has doubles [0]; which would

Re: [systemd-devel] Upgraded multiple systems to systemd 249.3 and all had eth1 not started / configured

2021-08-18 Thread Arian van Putten
https://github.com/systemd/systemd-stable/pull/111 has not landed in a v249 point release yet. v249.3 was tagged 12 days ago; and that fix was only merged 8 days ago. On Wed, Aug 18, 2021 at 8:56 AM Amish wrote: > Hello > > Further to my previous email: > > I see that there is already an *extr

Re: [systemd-devel] systemd services running on VM nodes 1 and 2 in High Availability Mode.

2021-08-17 Thread Arian van Putten
Heya! Currently systemd doesn't have this kind of distributed scheduler . Though I think it would be very interesting to explore (systemd-distributed seems to be a fun name). At some point coreos had a distributed version of systemd that did sort of exactly what you want https://github.com/coreos

Re: [systemd-devel] How to restart my socket activated service safely ?

2021-07-28 Thread Arian van Putten
If your service gracefully exits and flushes buffers on SIGTERM then no requests will be lost. (That means. Finish off processing any requests that have been accept()'d before exiting). Any requests you didn't accept() yet will simply queue up whilst the service is down and you pick up where you l

Re: [systemd-devel] A start job is running for /dev/gpt-auto-root

2021-04-27 Thread Arian van Putten
way! On Sat, Apr 24, 2021 at 5:03 PM Arian van Putten wrote: > Dear list, > > I've been working on trying to integrate systemd-gpt-auto and > systemd-cryptsetup into NixOS's stage-1 init. > > Everything was working great on 246; but when I updated from kernel 5.4 &g

Re: [systemd-devel] RFC: Moving fully to OpenSSL (aka. stopping support for gnutls/gcrypt)?

2020-12-10 Thread Arian Van Putten
peed up things > now, though. > > Lennart > > -- > Lennart Poettering, Berlin > ___ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- Aria

Re: [systemd-devel] How can I simply check that a service has been restarted ?

2020-11-10 Thread Arian Van Putten
t; > dbus is overkill for my little bash script. > > -- > Francis > ___ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- Arian van Putten l

Re: [systemd-devel] Any published books on systemd? A cookbook?

2020-08-31 Thread Arian Van Putten
I can recommend the "Systemd for Administrators" series on http://0pointer.net/blog/archives.html as a good cookbook introduction to systemd On Fri, Aug 28, 2020 at 4:47 PM Tom Browder wrote: > I want to create a service file that has to consider other services. I > have looked at the man pages

[systemd-devel] Does automatic boot assessment work for Type #2 EFI Unified Kernel Images?

2020-08-05 Thread Arian Van Putten
Hey List, I am reading https://systemd.io/BOOT_LOADER_SPECIFICATION/ and https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/ I want to use Type 2 unified images because of SecureBoot. But I want a 2-partition model a-la CoreOS, where I rollback when the node isn't healthy. I wanted to use automatic bo

Re: [systemd-devel] How to use systemd-repart partitions?

2020-05-20 Thread Arian Van Putten
> gpt-auto is not enough. I will want to set up pretty complex things like dm/crypto/etc. Note that gpt-auto-generator will detect if the partition is a LUKS partition or has dm-verity, and will set up a `/dev/mapper/root` device automatically. But I don't think more complex devicemapper setups ar

[systemd-devel] What is the point of making timesyncd bus-activatible?

2020-05-19 Thread Arian Van Putten
Hey list, systemd-timesyncd has an Alias=dbus-org.freedesktop.timesync1.service and an accompanying dbus service file too. It is started in early boot; `Before=sysinit.target` so why would making it dubs-activatible ever make sense? It is always started way before dbus.service itself is started

[systemd-devel] why is systemd-remount-fs.service needed in stage-2?

2020-05-03 Thread Arian Van Putten
Hey list, I'm in the process of experimenting with a systemd-based initrd. However I have two questions concerning the boot process that came up whilst reading the documentation. If I understand "man 7 bootup" correctly so far the initrd mounts /sysroot based on either the root= kernel parameter