!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
19 Feb 2023
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea next thing is too look at the logs22:36:08
@lily:lily.flowers@lily:lily.flowersIf you want to push to a public branch, I might have time to tinker with it too. I'm assuming you're doing this in a nixosTest22:36:18
@elvishjerricco:matrix.org@elvishjerricco:matrix.org kind of 22:36:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I just added a sleep 5 && networkctl status command to the end of a nixos test and have been observing that output :p 22:37:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.orger, to the end of the service I made to bring down interfaces22:37:49
@elvishjerricco:matrix.org@elvishjerricco:matrix.org so it definitely happens in initrd after the networkctl down commands are run 22:38:40
@elvishjerricco:matrix.org@elvishjerricco:matrix.organd they still show as configured..22:38:50
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * and they still show as configured...22:38:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Hm but this would be a good test to have. Due to... particulars, I would have to make an ExecStopPost line that would trigger emergency should it fail 22:41:00
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
and they still show as configured...
I mean they'll still show as configured after going down, right? Just the operational state would change I think
22:41:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh, that's news to me22:42:20
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I thought down would bring them to an unconfigured state, releasing their DHCP leases and whatnot 22:42:37
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI have a system to test that on... one sec22:42:45
@lily:lily.flowers@lily:lily.flowers Ah, confusingly configured is also an operational state 22:42:53
@lily:lily.flowers@lily:lily.flowers But it should show off for the op state 22:43:12
@lily:lily.flowers@lily:lily.flowersI would think22:43:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.org yea, so when I bring the interface down on my machine, it says off for the op state 22:44:02
@lily:lily.flowers@lily:lily.flowersI swapped my system from networkd to networkmanager (somewhat reluctantly...) a few weeks ago or I'd test22:44:08
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
yea, so when I bring the interface down on my machine, it says off for the op state
Okay cool, I'm assuming setup state is still configured too right? What op state was it showing in your test?
22:44:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthat's true, yea22:45:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgop is off, setup is configured22:45:47
@lily:lily.flowers@lily:lily.flowersAh, so it is working then?22:45:56
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgPretty sure22:46:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI'll try to get this written into a test and commit the feature so I can demonstrate it more precisely :P22:47:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.orggtg for now though22:47:24
@elvishjerricco:matrix.org@elvishjerricco:matrix.org(I think I just saw what I did wrong and it's very stupid but I'll be back later)22:53:12
20 Feb 2023
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deSeeing https://github.com/NixOS/nixpkgs/pull/215381, do you people think my dream of an interpreter-less initrd is achievable?09:03:57
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de(I know I'm asking for the opposite :D)09:04:08
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Janne Heß: Can you explain that dream? 09:04:34
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgDo you just mean no bash or python or any other shebang-isms required?09:04:47

Show newer messages


Back to Room ListRoom Version: 6