!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

916 Members
Declaratively manage your switching, routing, wireless, tunneling and more.265 Servers

Load older messages


SenderMessageTime
29 Jun 2025
@hexa:lossy.networkhexa* they will not understand the mapping that they've used though02:35:51
@hexa:lossy.networkhexasure, you can inspect that with the repl02:36:05
@hexa:lossy.networkhexabut who will realistically do that02:36:09
@hexa:lossy.networkhexait would probably be best to provide an alternative to networkd like ifstate and then set a date for 3 years in the future02:37:34
@emilazy:matrix.orgemilyI just generally feel it is better when you can make changes to interface and implementation separately. not always possible. but e.g. a zero-rebuild package refactor PR followed by something that cleans up the actual build process is way better than the two separately IMO02:37:37
@hexa:lossy.networkhexawhen the interface goes away02:37:38
@emilazy:matrix.orgemilybecause you can verify the first part easily, and do not have to treat it as an entire rewrite02:37:54
@hexa:lossy.networkhexaand start warning actively02:37:59
@emilazy:matrix.orgemilyor configuration switching behaviour is a total mess also, but rewriting it bug-for-bug in Rust was the right choice, because we got rid of the Perl with very very little breakage compared to if we had tried to renovate the entire logic02:38:28
@emilazy:matrix.orgemilyand now we have a codebase that is not ancient code in a language nobody wants to touch that improvements to the actual semantics can be iterated on02:38:43
@emilazy:matrix.orgemilyswitching out scripted initrd and cleaning up its exposed interfaces feel good to separate out for similar reasons to me02:39:06
@hexa:lossy.networkhexaI just feel that people will be afraid of touching network related things and fight any deprecation of the networking interfaces02:39:51
@emilazy:matrix.orgemilyI don't know why we need to provide an alternative though. we don't for systemd. if people hate networkd they can always assemble their own thing in their configs. I doubt there's anything scripted networking is good at that networkd is hopeless at, since scripted networking is not that great to begin with02:40:02
@hexa:lossy.networkhexabecause for some reason basic network knowledge is not very common for some reason02:40:06
@emilazy:matrix.orgemilyand NetworkManager already exists/works too02:40:08
@hexa:lossy.networkhexa* because for some reason basic network knowledge is not very common02:40:10
@hexa:lossy.networkhexafair02:40:29
@emilazy:matrix.orgemilyanyway I think most of the friction of the deprecation here just comes from breaking something ~every single commit has for really basic needs02:41:02
@emilazy:matrix.orgemilywhat seems viable to me is switching out the implementation and then incrementally deprecating the gnarlier parts of the shim module02:41:20
@emilazy:matrix.orgemily if useDHCP and basic static IP/routing configuration works, probably we do not need to support openvswitch or whatever 02:41:39
@emilazy:matrix.orgemilyyou can tear those parts out and point to the native networkd options02:41:52
@emilazy:matrix.orgemilyand at the point where it is just a very simple layer for the most basic networking configuration I don't think it would be meaningful tech debt at all, but you still avoided breaking "every config that sets up the most basic network stuff"02:42:35
@emilazy:matrix.orgemily* anyway I think most of the friction of the deprecation here just comes from breaking something ~every single system has for really basic needs02:42:42
@hexa:lossy.networkhexanetworkd has no ovs support, that's why that part is hacky02:42:47
@emilazy:matrix.orgemilyright02:42:57
@hexa:lossy.networkhexaany ovs support should go in a services.openvswitch module though 02:42:59
@hexa:lossy.networkhexabut the ovs package is barely maintained as well02:43:05
@emilazy:matrix.orgemilywell substitute any of the "fancy" stuff in there as an example :p02:43:05
@emilazy:matrix.orgemilyif you are configuring big brain stuff then little basis to object to switching to the native options02:43:21
@emilazy:matrix.orgemilyit's the "I just want DHCP" or "I just want this IP" usecase where it is annoying to break every single user02:43:40

Show newer messages


Back to Room ListRoom Version: 6