From nobody Mon Apr 08 19:41:55 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VCzxc0JMZz5HcMR for ; Mon, 8 Apr 2024 19:41:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VCzxb5SrXz4tBb for ; Mon, 8 Apr 2024 19:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712605315; a=rsa-sha256; cv=none; b=kS9Utd4t0+K3PxDvy8JwK/C2kxcS05BzVcgfH0CFXCb8TwE1yiWizH2TE0L205QXACFHC3 HEMzhYMvXVdLa0Wi2tjJYJ0B8Lq/gVYeN6A1l4voPEAcCwLR13e2G9ZwbkGKYffu8HRSF+ u+wMiScLvVA9JmlEtRZitP0NjpBexbTjmooAL0mTuZUwuVXMYJ3XeQYN3QFDIoo4x9vDAk eh0d7neCRecSw/DoLOkR1Wfq32t0g/50oD6savkV3QGoSPzGPAyIs+FPU87rfPmqsLiFG9 idtLJU+HZDuhFAvgXRW4z/pyqRTQ2YE6S5R4omajILpuF3PT4+g6GgVoMGBHhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712605315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qMBV3zkEE3CiMMLMIe1Ywi7WR/Kt5QnFA4qCSkgc/qg=; b=BBNng7qFi5S3F5BI/DhPhiUD8LDMNJWlkhQM463omGwKOk3ITzT2a0BJ+y4gjeqkLznlqt YQ7nvRGbjNeIJEEwPY5SzxUTyqT3iS2gXmPCnTXuUVKxggnFArma+MIwTeCBi8jcxuQaAg Bj9xcbN8KNVwAmQ8zd3GfsOkJIoXXNhQJx9TO3801Z/Ffsn1HZuydUy9RkSVousXW5DQ1s UTR1tfjyWoVZ2skc3zg6SgB/egJJH63eITu8ZoASX/gjdkNum1xliDje1rpe668jinaP9q cVW8WrhdXCfkJmw9lyyywhPXUT/ZqJZy4vcChQkfVR7eUmEb+VlExN8CeEyhfA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VCzxb54ZZzP89 for ; Mon, 8 Apr 2024 19:41:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 438Jft8u059018 for ; Mon, 8 Apr 2024 19:41:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 438Jft2v059011 for bugs@FreeBSD.org; Mon, 8 Apr 2024 19:41:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278265] `route -n monitor' is quiet when redirecting its output Date: Mon, 08 Apr 2024 19:41:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: oleg@pcbtech.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278265 Bug ID: 278265 Summary: `route -n monitor' is quiet when redirecting its output Product: Base System Version: 14.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: oleg@pcbtech.ru Hello It seems to me that this is an error at /sbin/route This works fine [qemu] ~ $ route -n monitor & [1] 1526 [qemu] ~ $ arp -d 10.0.2.2 ; ifconfig gif0 create ; ifconfig gif0 destroy 10.0.2.2 (10.0.2.2) deleted 22:26:45.838 PID 1527 delete neigh 10.0.2.2 state REACHABLE lladdr 52:55:0a:00:02:02 iface em0=20 22:26:45.839 PID 0 add/repl neigh 10.0.2.2 state REACHABLE lladdr 52:55:0a:00:02:02 iface em0=20 22:26:45.840 PID 0 add/repl iface iface#3 gif0 admin DOWN oper DOWN mtu = 1280=20 22:26:45.843 PID 0 add/repl iface iface#3 gif0 admin DOWN oper DOWN mtu = 1280=20 22:26:45.843 PID 0 add/repl iface iface#3 gif0 admin DOWN oper DOWN mtu = 1280=20 22:26:45.843 PID 0 add/repl iface iface#3 gif0 admin DOWN oper DOWN mtu = 1280=20 22:26:45.845 PID 0 delete iface iface#3 gif0 admin DOWN oper DOWN mtu 12= 80=20 but [qemu] ~ $ route -n monitor > temp.log & [1] 1535 [qemu] ~ $ arp -d 10.0.2.2 ; ifconfig gif0 create ; ifconfig gif0 destroy 10.0.2.2 (10.0.2.2) deleted [qemu] ~ $ ll temp.log=20 -rw-r--r-- 1 root wheel 0 Apr 8 22:26 temp.log file is zero length, there's no output from `route -n monitor' if we redire= ct it to file (or pipe within the script) that's seems to be related w/ 14.0-RELEASE when monitor_nl() and NETLINK is used by default as there's no such behaviour in 13.3-RELEASE I've tested it on amd64 GENERIC (under qemu and on real hardware servers). Found it while trying to fix wireguard wg-quick tool (see bug #275026) --=20 You are receiving this mail because: You are the assignee for the bug.=