Subject: Changing proc.curproc.rlimit.datasize.soft silently fails under NetBSD-3.x, bug or feature?
To: None <current-users@netbsd.org>
From: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
List: current-users
Date: 10/04/2007 08:51:53
Hello.  I just noticed the following behavior under NetBSD-3.x.  Wondering
if anyone can say whether this is a bug or a feature?  I would think that
if the variable is read-only, it should show an error message, yes?  If
it's read-write, why does the change not stick?  Should I report this as a
bug?
-thanks
-Brian

www# sysctl -a |grep 'datasize'
proc.curproc.rlimit.datasize.soft = 134217728
proc.curproc.rlimit.datasize.hard = 2147483647
www# /etc/rc.d/sysctl start
Setting sysctl variables:
proc.curproc.rlimit.datasize.soft: 134217728 -> 268435456
www# !sysctl
sysctl -a | grep 'datasize'
proc.curproc.rlimit.datasize.soft = 134217728
proc.curproc.rlimit.datasize.hard = 2147483647
www# exit