From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 18 19:40:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CC226468 for ; Wed, 18 Sep 2013 19:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AA66C2185 for ; Wed, 18 Sep 2013 19:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8IJe0Hb077162 for ; Wed, 18 Sep 2013 19:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8IJe0NY077161; Wed, 18 Sep 2013 19:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 18 Sep 2013 19:40:00 GMT Resent-Message-Id: <201309181940.r8IJe0NY077161@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ShelLuser Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 58BCF411 for ; Wed, 18 Sep 2013 19:37:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 46256216E for ; Wed, 18 Sep 2013 19:37:15 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8IJbEcb024232 for ; Wed, 18 Sep 2013 19:37:14 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8IJbE2K024229; Wed, 18 Sep 2013 19:37:14 GMT (envelope-from nobody) Message-Id: <201309181937.r8IJbE2K024229@oldred.freebsd.org> Date: Wed, 18 Sep 2013 19:37:14 GMT From: ShelLuser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/182213: kernel configuration doesn't honour nooption syntax as defined by config(5) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Sep 2013 19:40:01 -0000 >Number: 182213 >Category: kern >Synopsis: kernel configuration doesn't honour nooption syntax as defined by config(5) >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: Wed Sep 18 19:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: ShelLuser >Release: 9.1-RELEASE-P7 >Organization: >Environment: FreeBSD smtp2.losoco.com 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #3 r255465: Wed Sep 11 03:35:14 CEST 2013 root@smtp2.losoco.com:/usr/obj/usr/src/sys/SMTP2 amd64 >Description: I'm building a custom kernel based on the GENERIC kernel configuration. Because I'm using a VPS I don't need many of the options & devices so these get disabled. While building the kernel I get the following error: config: /usr/src/sys/amd64/conf/SECKERNEL:16: syntax error *** [buildkernel] Error code 1 Line 16: nooptions UFS_ACL, UFS_DIRHASH, UFS_GJOURNAL If I change line 16 to its own block like so it'll work: nooptions UFS_ACL nooptions UFS_DIRHASH nooptions UFS_GJOURNAL However, this goes directly against the definition in the config(5) manualpage: nooption name [, name [...]] nooptions name [, name [...]] The reason I suspect a bug is because the 'nodevice' directive does behave as expected. >How-To-Repeat: Use the following kernel configuration file and try using "make buildkernel": ## Start of config include GENERIC ident TESTKERNEL nooptions UFS_ACL, UFS_DIRHASH, UFS_GJOURNAL ## End of config >Fix: >Release-Note: >Audit-Trail: >Unformatted: