>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     r...@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:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to