Tue, 4 Feb 2025 16:58:50 GMT Message-Id: <202502041658.514Gwo4I049201@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: ecccb638d494 - main - mountd: Promote missing netmask log to LOG_ERR List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ecccb638d494f2642f1e2eae8ad932ba70567ccc Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ecccb638d494f2642f1e2eae8ad932ba70567ccc commit ecccb638d494f2642f1e2eae8ad932ba70567ccc Author: Ed Maste AuthorDate: 2025-02-01 13:16:47 +0000 Commit: Ed Maste CommitDate: 2025-02-04 16:58:41 +0000 mountd: Promote missing netmask log to LOG_ERR Historical network classes are deprecated, but currently still supported in mountd with a LOG_WARNING-priority message added by Mike Karels in 2021. Upgrade the log to LOG_ERR well in advance of this becoming a fatal error. Reviewed by: rmacklem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48795 --- usr.sbin/mountd/mountd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 4457a925c2ed..19d76b72da10 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -1806,7 +1806,7 @@ get_exportlist_one(int passno) len = endcp - cp; } if (opt_flags & OP_CLASSMASK) - syslog(LOG_WARNING, + syslog(LOG_ERR, "WARNING: No mask specified for %s, " "using out-of-date default", (&grp->gr_ptr.gt_net)->nt_name);