Date: Tue, 5 Jun 2001 07:32:12 +1000 (EST) From: Phil Homewood <pdh@moreton.com.au> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/27878: [PATCH] mountd has incorrect usage output Message-ID: <200106042132.f54LWCx25243@bofh.internal.moreton.com.au>
next in thread | raw e-mail | index | archive | help
>Number: 27878 >Category: bin >Synopsis: [PATCH] mountd has incorrect usage output >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 04 14:40:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Phil Homewood >Release: FreeBSD 4.3-STABLE i386 >Organization: >Environment: System: FreeBSD bofh.internal.moreton.com.au 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu May 24 09:36:06 EST 2001 root@bofh.internal.moreton.com.au:/usr/obj/usr/src/sys/BOFH i386 >Description: mountd gives incorrect usage instructions when given a bad exports file >How-To-Repeat: tail -f /var/log/messages & echo "/foo 192.168.0.0 -mask 255.255.255.0" > /etc/exports" killall -HUP mountd echo "/foo -net 192.168.0.0 -mask 255.255.255.0" > /etc/exports" killall -HUP mountd >Fix: --- mountd.c.orig Fri Jun 1 19:32:10 2001 +++ mountd.c Tue Jun 5 07:26:39 2001 @@ -2089,7 +2089,7 @@ return (1); } if ((opt_flags & OP_MASK) && (opt_flags & OP_NET) == 0) { - syslog(LOG_ERR, "-mask requires -net"); + syslog(LOG_ERR, "-mask requires -network"); return (1); } if ((opt_flags & OP_ALLDIRS) && dp->dp_left) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106042132.f54LWCx25243>