From owner-freebsd-questions@FreeBSD.ORG Wed Jun 29 18:03:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2EEC16A41C for ; Wed, 29 Jun 2005 18:03:45 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A3B43D1D for ; Wed, 29 Jun 2005 18:03:45 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout02/MantshX 4.0) with ESMTP id j5TI3eEC020834; Wed, 29 Jun 2005 11:03:41 -0700 (PDT) Received: from [10.1.1.209] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id j5TI3cHq006287; Wed, 29 Jun 2005 11:03:39 -0700 (PDT) In-Reply-To: References: <42C187D2.4060505@os.lv> <200506290823.11302.bernhard.fischer@fh-stpoelten.ac.at> <42C2A14A.7010906@os.lv> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <25CAE85D-638D-44E0-983A-E36396B40B77@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 29 Jun 2005 14:03:31 -0400 To: "Chad Leigh -- Shire.Net LLC" X-Mailer: Apple Mail (2.730) Cc: Casper , freebsd-questions@freebsd.org Subject: Re: Jail error ln operation not permitted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 18:03:45 -0000 On Jun 29, 2005, at 1:53 PM, Chad Leigh -- Shire.Net LLC wrote: > It appears that the syslogger does a link (ln -s) from /var/run/log > to /dev/log and that inside a jail you cannot do this. However, > you can set it in the base system's version of the jail file > system. I don't know if it stays around after reboots or what and > what the effect is -- probably m akes jail messages go into its own > log file but I have not done more than make the link and try to > google (without a lot of success) on the issue syslogd -l can set up additional logging sockets: -l Specify a location where syslogd should place an additional log socket. The primary use for this is to place additional log sockets in /var/run/log of various chroot filespaces. File per- missions for socket can be specified in octal representation before socket name, delimited with a colon. Path to socket loca- tion must be absolute. If you are using jails, I would gather that you normally would be running a separate syslogd within that jail, but this approach provides another option... -- -Chuck