Date: Tue, 18 Mar 2003 11:18:24 -0500 From: Edmond Baroud <SoHo@admin.fido.ca> To: "Brian Szymanski" <bks10@cornell.edu> Cc: freebsd-stable@FreeBSD.ORG, christopher@indymedia.org Subject: Re: setting kern.ngroups Message-ID: <20030318111824.6f70b763.SoHo@admin.fido.ca> In-Reply-To: <4394.192.168.1.5.1048003806.squirrel@wuhjuhbuh.afraid.org> References: <4394.192.168.1.5.1048003806.squirrel@wuhjuhbuh.afraid.org>
next in thread | previous in thread | raw e-mail | index | archive | help
is your kern.securelevel set to 1 or 2? Ed. On Tue, 18 Mar 2003 11:10:06 -0500 (EST) "Brian Szymanski" <bks10@cornell.edu> wrote: > Hi, > > I'm having some trouble setting the (read-only) sysctl value kern.ngroups. > athlon system, running 4.x-stable. The reason I need to modify this value > is for some software that requires user www to be in a lot of different > groups, and the default value of 16 is insufficient. > > As per handbook section 6.9.1 "sysctl(8) read only", I've tried to modify > the value by adding the line kern.ngroups="256" in > /boot/loader.conf.local. When this boots up, I do a manual sysctl > kern.ngroups, and it tells me 16 still... So I tried throwing the value > straight in to /boot/defeaults/loader.conf... When I boot up, kern.ngroups > is still at 16. I even tried editing /usr/src/sys/sys/syslimits.h and > setting kern.ngroups to be 256 in the source. However, this results in > some sort of bug in the kernel - when I reboot to a kernel compiled in > this way, my machine dies trying to mount_msdos. I'm assuming that this is > a sign of bad things happening in the kernel. I didn't actually try to > boot further with this kernel. > > So, the question of the day is, what is the best way to set kern.ngroups? > And, is 256 for some reason a "bad" value to set it to? If so, what value > should I choose? I've also tried 128 with no success, and am working my > way down to 16, but I'm not sure if I trust the kernel that I might get by > compiling in such a way... > > Any help would be greatly appreciated. Thanks for reading, > Brian Szymanski > bks10@cornell.edu > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Edmond Baroud UNIX Systems Admin mailto:SoHo@admin.fido.ca Fingerprint 140F 5FD5 3FDD 45D9 226D 9602 8C3D EAFB 4E19 BEF9 "UNIX is very user friendly, it's just picky about who its friends are." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030318111824.6f70b763.SoHo>