Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 23:33:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255286] net/wireguard wg-quick up wg0 runs 2 times
Message-ID:  <bug-255286-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 255286
           Summary: net/wireguard wg-quick up wg0 runs 2 times
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: decke@FreeBSD.org
          Reporter: chris@cretaforce.gr
          Assignee: decke@FreeBSD.org
             Flags: maintainer-feedback?(decke@FreeBSD.org)

"wg-quick up wg0" runs 2 times when I start wireguard and when I stop wireg=
uard
one instance still runs.

----

root@backup1:~ # service wireguard start
[#] ifconfig wg create name wg0
[#] wg setconf wg0 /dev/stdin
[#] ifconfig wg0 inet 192.168.1.1/32 alias
[#] ifconfig wg0 mtu 1420
[#] ifconfig wg0 up
[#] route -q -n add -inet 192.168.2.1/32 -interface wg0
[+] Backgrounding route monitor

----

root@backup1:~ # ps -aux | grep wg0
root  28326    0.0  0.0 12868 2004  1  S+   02:27        0:00.00 grep wg0
root  60342    0.0  0.0 14836 4208  1  S    02:27        0:00.00
/usr/local/bin/bash /usr/local/bin/wg-quick up wg0
root  94427    0.0  0.0 14836 4204  1  S    02:27        0:00.00
/usr/local/bin/bash /usr/local/bin/wg-quick up wg0

----

root@backup1:~ # service wireguard stop
[#] ifconfig wg0 destroy

----

root@backup1:~ # ps -aux | grep wg0
root  33140    0.0  0.0 12868 2004  1  S+   02:27        0:00.00 grep wg0
root  94427    0.0  0.0 14836 4204  1  I    02:27        0:00.00
/usr/local/bin/bash /usr/local/bin/wg-quick up wg0

--=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-255286-7788>