Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Apr 2022 18:50:42 +0000
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"
Message-ID:  <bug-263011-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



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