!DBFhtjpqmJNENpLDOv:nixos.org

NixOS Systemd

153 Members
NixOS ❤️ systemd48 Servers

Load older messages


SenderMessageTime
16 Oct 2021
@eyjhb:eyjhb.dkeyJhb *

andi-:

https://www.freedesktop.org/software/systemd/man/networkctl.html

 reload

    Reload .netdev and .network files. If a new .netdev file is found, then the corresponding netdev is created. Note that even if an existing .netdev is modified or removed, systemd-networkd does not update or remove the netdev. If a new, modified or removed .network file is found, then all interfaces which match the file are reconfigured.
15:17:45
@eyjhb:eyjhb.dkeyJhb *

andi-:

https://www.freedesktop.org/software/systemd/man/networkctl.html

reload
Reload .netdev and .network files. If a new .netdev file is found, then the corresponding netdev is created. Note that even if an existing .netdev is modified or removed, systemd-networkd does not update or remove the netdev. If a new, modified or removed .network file is found, then all interfaces which match the file are reconfigured.

Sadly it doesn't delete anything.... :/

15:18:12
17 Oct 2021
@mars:jupiterbroadcasting.commars joined the room.18:53:34
18 Oct 2021
@genofire:matrix.sum7.eugenofireIs there a better network management for containers in a roadmap, it is really hacky to define localAddress and then two times systemd.networks ... (Why is the privatNetwork not eought)14:36:07
@arianvp:matrix.orgArianYes there's an RFC for that15:44:59
@arianvp:matrix.orgArianhttps://github.com/NixOS/rfcs/pull/10815:45:38
20 Oct 2021
@lourkeur:nixos.devlourkeur (Nix OwO) set a profile picture.09:11:15
@lourkeur:nixos.devlourkeur (Nix OwO) changed their display name from Louis Bettens to lourkeur (Nix OwO).11:19:28
@lourkeur:nixos.devlourkeur (Nix OwO) changed their profile picture.13:05:38
@lourkeur:nixos.devlourkeur (Nix OwO) changed their profile picture.13:09:21
@genofire:matrix.sum7.eugenofireIs there a script like `needrestart`, to see if it is nessary to restart? (like kernel or old binaries?)20:57:52
@arianvp:matrix.orgArianrestartIfChanged is what you're looking for21:00:22
@phaer:matrix.orgphaer joined the room.21:02:26
@phaer:matrix.orgphaer
In reply to @arianvp:matrix.org
restartIfChanged is what you're looking for
That just tells services to restart if something changed, but does not allow you to list things which need to be restarted if you prefer/need to do it manually, right? (i.e. because you need to announce service interruption to a third party)
21:07:08
@arianvp:matrix.orgArianAh I misunderstood your question22:11:37
@arianvp:matrix.orgArianI think there is a --dry-run switch that'll tell that22:11:50
@janne.hess:helsinki-systems.deJanne Heß
In reply to @genofire:matrix.sum7.eu
Is there a script like `needrestart`, to see if it is nessary to restart? (like kernel or old binaries?)
NixOS just does that when you switch
22:37:17
@janne.hess:helsinki-systems.deJanne HeßAt least the restart part, not the kernel part22:37:25
@genofire:matrix.sum7.eugenofire
In reply to @janne.hess:helsinki-systems.de
At least the restart part, not the kernel part
And for the kernel?
23:04:55
@genofire:matrix.sum7.eugenofire(Other parts are in autoUpgrade ;) )23:05:17
@janne.hess:helsinki-systems.deJanne HeßThe autoupdater has an option to reboot automatically23:05:17
@janne.hess:helsinki-systems.deJanne Heßyes23:05:22
@genofire:matrix.sum7.eugenofire
In reply to @janne.hess:helsinki-systems.de
The autoupdater has an option to reboot automatically
But a Bad idea with crypted hdds ....
23:05:39
@janne.hess:helsinki-systems.deJanne Heßyou can just do the comparison in an activation snippet23:06:39
@janne.hess:helsinki-systems.deJanne Heß * you can just do the comparison in an activation snippet23:06:43
@janne.hess:helsinki-systems.deJanne Heßand print if the kernels dont match23:06:48
@genofire:matrix.sum7.eugenofire
In reply to @janne.hess:helsinki-systems.de
you can just do the comparison in an activation snippet
How?
23:07:04
@janne.hess:helsinki-systems.deJanne Heß if [ $(readlink -f /run/current-system/kernel) != $(readlink -f $out/kernel) ]; then 23:07:29
@janne.hess:helsinki-systems.deJanne Heßsorry, booted-system of course :D23:07:50
21 Oct 2021
@genofire:matrix.sum7.eugenofire
In reply to @janne.hess:helsinki-systems.de
if [ $(readlink -f /run/current-system/kernel) != $(readlink -f $out/kernel) ]; then
nice - hmm, maybe i write an little node-exporter script for it ;)
13:53:21

There are no newer messages yet.


Back to Room List