Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2013 19:37:14 GMT
From:      ShelLuser <pl@catslair.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/182213: kernel configuration doesn't honour nooption syntax as defined by config(5)
Message-ID:  <201309181937.r8IJbE2K024229@oldred.freebsd.org>
Resent-Message-ID: <201309181940.r8IJe0NY077161@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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