From owner-freebsd-jail@FreeBSD.ORG Fri Aug 23 14:13:51 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 028E16FB for ; Fri, 23 Aug 2013 14:13:51 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8C5A22A87 for ; Fri, 23 Aug 2013 14:13:50 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id n15so317662ead.16 for ; Fri, 23 Aug 2013 07:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=TDJVPhZZOtKnXh04cBQ9RTG/pGksSkOxb9QIM11qmpQ=; b=vN4LCNoFUYoh+9LxuuCAnIRekDosm029ZOKCWuEjcJYoQIdyFH8ZhZ3vWR0jgl0wE0 s+IVhOJqgzc8Obu/ozwBXfZfsCd+R/XMZaKB+5726osaGyM/3WoH7JRmIsvApImAjdn4 lSvjFdcWjJER6uCgTJPW6bMyHcYh8LkI6th1iltYZEN80H1dvZU4GcoVkRNvFlim9I/E WysqbrmPnQBG+bf5rO5hR6UDqRwMAm6C+GU4/aqEWqNp7WJVPZtmFanJyNtbYsaL5hyh EWfdM5Eiz4ebb9a3qZwjBNaBoCKrTgkbQxh8KXt45uQ/Nlp+DW5GhTePmnufrn/D732L 1jtA== X-Received: by 10.15.100.198 with SMTP id bn46mr32720eeb.11.1377267228360; Fri, 23 Aug 2013 07:13:48 -0700 (PDT) Received: from [10.10.50.70] (84.106.136.95.rev.vodafone.pt. [95.136.106.84]) by mx.google.com with ESMTPSA id a6sm15565eei.10.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 07:13:47 -0700 (PDT) Message-ID: <52177C19.6040909@gmail.com> Date: Fri, 23 Aug 2013 15:13:29 +0000 From: "Mike C." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130813 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-jail@freebsd.org Subject: connect -1 errno 1 Operation not permitted with specific user (nagios) X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 14:13:51 -0000 I'm having a problem with nagios under a jail... commands works has root and another normal user I created (its not even in the wheel group) running commands such has "check_http" get me a Operation not permited, with ktrace I was able to confirm the probelm: connect -1 errno 1 Operation not permitted The thing is this only happens with the user nagios and I can not figure out why! I'm very new to jails, so I'm user I'm possibly missing something trivial, but I would appreciate an help! What could be different about the user to not allow "connect" ? Many thanks