From nobody Sat Apr 02 18:50:42 2022 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 CD6041A50D3D for ; Sat, 2 Apr 2022 18:50:42 +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 4KW5hf3sbHz4c5H for ; Sat, 2 Apr 2022 18:50:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 633AB680E for ; Sat, 2 Apr 2022 18:50:42 +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 232Iogp2043538 for ; Sat, 2 Apr 2022 18:50:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 232Iog1p043537 for bugs@FreeBSD.org; Sat, 2 Apr 2022 18:50:42 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 263011] /usr/sbin/mountd warning "No mask specified for network, using out-of-date default" Date: Sat, 02 Apr 2022 18:50:42 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pmc@citylink.dinoex.sub.org 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 attachments.created 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648925442; 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=l+9cWQgf/N8aY7mqMai3A6KFrKftzlyH8oB8Q+BeH4U=; b=B2v4Tzq1GYpgebaP6thlop9ioHcJi4EuZSm/J3N3SNSjo+SS7KE3/09capJ1I5jZ+USkFV Q4rukrqPFeuj94pjXp+jxgDjxeGykVDGnzrmVJUlK4tr5SMsiDKEQwrek+M17UgDn0+cJc 6OWiEks3KrSN5JK6sG3jo0ju++hGYaDeCW3T29hpzsdhVIITAtorSjUH56BGSPib6FnT6z ThI7SMEE9CH1KmDTkSjoyG1yrAzzzlGGiEVPG3uFUjeKT7BdeJI9jXqgax6n4FSTa4YSjU FAVwn2ume72wUkp8KSDvOajMaZYQP6SngdD/Sn9mY3I1PNLI7KCa5sNfixKz9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648925442; a=rsa-sha256; cv=none; b=W8ChX9dkWMAr6SQDuYTqqmfbgRhvDdWico9wHUc//z8ohAZ1yvSYBeKyBwFXe0k/VivhSi THNksi6+1NeFIJL5cDU2TtdBxxQEq4YIN6A3v2J9fP4Oif3lodsvDVam6rmF3AngAWaHet skl2ZsG9q6IFhtboZ5aevXG+XVJw7xiSkovki7C6ZXsjTI4TZE788tLgQMl1R8A26HQkjQ CFl7/uIBiSpsgVAwfEnpJGIkKGVMbKsy+3/lpnVrivXvFpZgr29qJ3gINIZfF6cDUusfSP e4lvE4WvBAVCS7FoLV42zgtlE5d/BqfB35ofQJk8NtNhyiMS9HQfUEKiSiWqtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263011 Bug ID: 263011 Summary: /usr/sbin/mountd warning "No mask specified for network, using out-of-date default" Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pmc@citylink.dinoex.sub.org Created attachment 232902 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232902&action= =3Dedit place warning later The warning was introduced per 92aebdeaff5 But it is not always true.=20 This one is okay, as expected: /ext -network=3D192.168.99.1/27 This one gives the warning, not as expected: /ext -network=3D192.168.99.1 -mask=3D255.255.255.240 But swapping the parameters, it gets accepted: /ext -mask=3D255.255.255.240 -network=3D192.168.99.1 The behaviour is obvious from the source. There is no effective harm done, only the warning is quite imperative, so t= hat one will search for a mistake where assumably none is. I tried a quick fix, as attached. --=20 You are receiving this mail because: You are the assignee for the bug.=