From owner-freebsd-questions@FreeBSD.ORG Sun Feb 16 23:37:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org 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 ESMTPS id AB25B7FF for ; Sun, 16 Feb 2014 23:37:19 +0000 (UTC) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7E6461950 for ; Sun, 16 Feb 2014 23:37:19 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id g10so14107040pdj.30 for ; Sun, 16 Feb 2014 15:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xhqCg3xnAxIiA9Z3yX910XXDOx2/mzLKjOO6Z8e2xME=; b=vzh984a5u6Y2Bp4zgKTk6JAjVOG4y/F95Xan/Sfd76L9AixNsHTaTUPJ1BmHH7N1RB 0n1tzOwrF24HVpbKFzzAmoBSvrv3lOtQ98zXZnbmdNK7TLyuahz6QV3xIv9TYvPp6LLS ybebaLLMqn7/grbvsIOsALVBOFeKiGtAVED55q1N6ecPoEfoQzerAt15JOvOar+7q5kZ g66d4O/gTh0z2+dTIWUhoQdHdywb4sUmcICrCbQhyc0yokiUsWYM2Y2CZb80cNaN2Sql mio5usA0Kg6eZv4gBsBGC9+2bM2f3ruJPQG1EC6+22daIPIZv1QgCb2ZRn4B6GlZH8H2 V0Sg== MIME-Version: 1.0 X-Received: by 10.68.136.162 with SMTP id qb2mr23219880pbb.88.1392593839138; Sun, 16 Feb 2014 15:37:19 -0800 (PST) Received: by 10.70.55.7 with HTTP; Sun, 16 Feb 2014 15:37:19 -0800 (PST) In-Reply-To: <530146A5.30006@web.de> References: <530146A5.30006@web.de> Date: Sun, 16 Feb 2014 17:37:19 -0600 Message-ID: Subject: Re: security.jail.param.allow.socket_af=1 From: Adam Vande More To: =?ISO-8859-1?Q?Frank_Wi=DFmann?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2014 23:37:19 -0000 On Sun, Feb 16, 2014 at 5:15 PM, Frank Wi=DFmann w= rote: > On 16.02.2014 22:15, alexus wrote: > >> I'm trying to change following and for whatever reason it won't allow me >> to >> do so: >> >> root@fx:~ # sysctl security.jail.param.allow.socket_af=3D1 >> security.jail.param.allow.socket_af: 0 -> 0 >> root@fx:~ # >> >> any ideas? >> Thanks! >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> >> > Hi! > To change sysctls you have to place it in /etc/sysctl.conf. This is completely incorrect. > The manpages of sysctl and sysctl.conf will give you more hints about the > syntax. Then you need to reboot your system to take the changes effect. > Or you could just issue a /etc/rc.d/sysctl restart Greetings > > Frank > > Regarding security.jail.param.allow.socket_af some sysctl's are only settable at boot time. Try putting security.jail.param.allow.socket_af=3D1 in /boot/loader.conf and rebooting to see what happens. --=20 Adam