Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704220 - net-vpn/wireguard-tools-0.0.20191226 : wg-quick: nft -f /dev/fd/63 fails
Summary: net-vpn/wireguard-tools-0.0.20191226 : wg-quick: nft -f /dev/fd/63 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-29 23:06 UTC by tea
Modified: 2019-12-30 07:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tea 2019-12-29 23:06:39 UTC
After updating to 0.0.20191226, I get the error:
/dev/fd/63:5:1-123: Error: Could not process rule: No such file or directory

I've tested with net-firewall/nftables 0.9.0-r5, 0.9.1-r2, 0.9.2-r2 and 0.9.3-r1 (USE="gmp modern-kernel readline -debug -doc -json").

Full log:
% sudo wg-quick up mullvad
[#] ip link add mullvad type wireguard
[#] wg setconf mullvad /dev/fd/63
[#] ip -4 address add <IP REDACTED>/32 dev mullvad
[#] ip -6 address add <IP REDACTED>/128 dev mullvad
[#] ip link set mtu 1420 up dev mullvad
[#] resolvconf -a mullvad -m 0 -x
[#] wg set mullvad fwmark 51820
[#] ip -6 route add ::/0 dev mullvad table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] nft -f /dev/fd/63
/dev/fd/63:5:1-123: Error: Could not process rule: No such file or directory

/dev/fd/63:6:1-87: Error: Could not process rule: No such file or directory

/dev/fd/63:7:1-80: Error: Could not process rule: No such file or directory

[#] resolvconf -d mullvad -f
[#] ip -6 rule delete table 51820
[#] ip -6 rule delete table main suppress_prefixlength 0
[#] ip link delete dev mullvad


emerge --info:
Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64)                                                                                            
=================================================================                                     
System uname: Linux-4.19.86-gentoo-x86_64-Intel_Celeron_4x0_-Conroe-Merom_Class_Core_2-with-gentoo-2.6
KiB Mem:     1009516 total,    638228 free
KiB Swap:     921596 total,    921596 free
Timestamp of repository gentoo: Sun, 29 Dec 2019 03:00:01 +0000
Head commit of repository gentoo: e9fa34fe1a645caef3955350adea8d4a53d1675f
Timestamp of repository chaoslab: Sat, 28 Dec 2019 05:25:28 +0000
Head commit of repository chaoslab: 67fb2806a43c48b7c783610c3dc754237b62e757

Timestamp of repository tastytea: Sat, 28 Dec 2019 09:28:33 +0000
Head commit of repository tastytea: bdbe71a518361f958804b7d29fdc7f34e9888dc2

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

chaoslab
    location: /var/db/repos/chaoslab
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/chaoslab.git
    masters: gentoo

tastytea                                                                                              
    location: /var/db/repos/tastytea                                                                  
    sync-type: git                                                                                    
    sync-uri: https://github.com/gentoo-mirror/tastytea.git                                           
    masters: gentoo                                                                                   
                                                                                                      
ACCEPT_KEYWORDS="amd64"                                                                               
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-r
ebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT P
ERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distl
ocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetc
h pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs un
merge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.fau.de/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                     
MAKEOPTS="-j1"                                                                                        
PKGDIR="/var/cache/binpkgs"                                                                           
PORTAGE_CONFIGROOT="/"                                                                                
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --for
ce --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages --exclude=/.git"                                                                  
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri emacs fontconfig fortran gdbm gpg iconv icu idn ipv6 lib
tirpc multilib ncurses nfs nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd tmux unicode x
attr zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiix
p-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 
maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socach
e_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz
_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_
fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_c
onfig logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir us
ertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load m
emory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech a
ivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oce
anserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ub
x" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd4
4780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
 NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler s
oa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POST
GRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python
3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeon
si vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip
 fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOS
T, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 tea 2019-12-30 07:31:07 UTC
I accidentally booted an old kernel, everything is fine. 🤦