!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

906 Members
Declaratively manage your switching, routing, wireless, tunneling and more.271 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Jul 2025
@hexa:lossy.networkhexa* not sure why this part doesn't work22:53:13
@zhaofeng:zhaofeng.liZhaofeng Liyeah, saw that22:53:29
@zhaofeng:zhaofeng.liZhaofeng Li using socket-name = "/run/private/kea/dhcp4.sock"; works, curious 22:53:31
@zhaofeng:zhaofeng.liZhaofeng Li the source does if (::stat(path.c_str(), &statbuf) < 0) for the permission check which should follow symlinks, looking 22:54:19
@hexa:lossy.networkhexahuh22:56:28
@zhaofeng:zhaofeng.liZhaofeng Liyeah, this sandbox is weird... let me just nsenter into it I guess23:09:48
@zhaofeng:zhaofeng.liZhaofeng Lithe log spam is killing me, is there a way to suppress the serial output from the interactive driver? 🫠23:22:28
@zhaofeng:zhaofeng.liZhaofeng Li

anyways, it appears that kea is actually right that it does not have the correct permissions

In [29]: print(router.succeed("nsenter -a -t 761 ls -lah /run/kea/"))
router: must succeed: nsenter -a -t 761 ls -lah /run/kea/
router: (finished: must succeed: nsenter -a -t 761 ls -lah /run/kea/, in 0.02 seconds)
total 56K
drwxr-xr-x 2 kea  kea  100 Jul  8 23:19 .
23:22:50
@hexa:lossy.networkhexahuh, 755 instead of 75023:23:33
@hexa:lossy.networkhexawild23:23:34
@zhaofeng:zhaofeng.liZhaofeng Li but I don't get how /run/private/kea/dhcp4.sock worked then (the real directory is 755 too), maybe something changed the permission 23:24:47

Show newer messages


Back to Room ListRoom Version: 6