Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2024 05:22:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279850] wireguard: wg(8) fails on INET6-only kernel
Message-ID:  <bug-279850-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279850

            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 B=
ST
2024=20=20=20=20
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()                                      =3D 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) =3D 75 (0x4b)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279850-227>