[Bug 279850] wireguard: wg(8) fails on INET6-only kernel
Date: Wed, 19 Jun 2024 05:22:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279850 Bug ID: 279850 Summary: wireguard: wg(8) fails on INET6-only kernel Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lexi.freebsd@le-fay.org when the kernel does not have 'options INET', wg(8) doesn't work: # uname -v FreeBSD 15.0-CURRENT #1 lf/main-n269054-1557b4dd4096: Tue Jun 18 02:22:42 BST 2024 srcmastr@daphne.eden.le-fay.org:/src/obj/src/freebsd/lf/main/arm64.aarch64/sys/LFV6 # wg Unable to list interfaces: Address family not supported by protocol family # truss: socket(PF_INET,SOCK_DGRAM,0) ERR#47 'Address family not supported by protocol family' issetugid() = 0 (0x0) fstatat(AT_FDCWD,"/usr/share/nls/C/libc.cat",0x4bf984865b90,0x0) ERR#2 'No such file or directory' fstatat(AT_FDCWD,"/usr/share/nls/libc/C",0x4bf984865b90,0x0) ERR#2 'No such file or directory' fstatat(AT_FDCWD,"/usr/local/share/nls/C/libc.cat",0x4bf984865b90,0x0) ERR#2 'No such file or directory' fstatat(AT_FDCWD,"/usr/local/share/nls/libc/C",0x4bf984865b90,0x0) ERR#2 'No such file or directory' Unable to list interfaces: Address family not supported by protocol family writev(2,[{"Unable to list interfaces",25},{": ",2},{"Address family not supported by "...,47},{"\n",1}],4) = 75 (0x4b) -- You are receiving this mail because: You are the assignee for the bug.