From owner-freebsd-questions@FreeBSD.ORG Wed Jun 29 17:53:24 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 D6AF716A41C for ; Wed, 29 Jun 2005 17:53:24 +0000 (GMT) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC37643D49 for ; Wed, 29 Jun 2005 17:53:24 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1DngkV-0005No-LN; Wed, 29 Jun 2005 11:53:24 -0600 In-Reply-To: <42C2A14A.7010906@os.lv> 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: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Wed, 29 Jun 2005 11:53:20 -0600 To: Casper X-Mailer: Apple Mail (2.730) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on hobbiton.shire.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_50, GREYLIST_ISWHITE autolearn=disabled version=3.0.3 X-SA-Exim-Version: 4.2 (built Mon May 30 00:43:02 MDT 2005) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) Cc: 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 17:53:25 -0000 On Jun 29, 2005, at 7:25 AM, Casper wrote: > > I don`t know what this script doing... :) > I don`t know what to try reproduce by myself... > > ln /dev/log ? I was wondering myself so I did a little research. 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 Chad > > Casper > > Bernhard Fischer wrote: > >> On Tuesday 28 June 2005 19:24, Casper wrote: >> >>> Hi, >>> >>> I have setup 2 jails in FreeBSD 5.4 >>> when they start, abouth have some error for /dev/log... >>> like that: >>> #jail /jail/mail/ mail 127.0.0.2 /bin/sh /etc/rc >>> Loading configuration files. >>> mail >>> Setting hostname: mail. >>> ln: /dev/log: Operation not permitted >>> Starting syslogd. >>> ... >>> >>> Abouth jails seems to work ok, but I can`t debug them from logs or >>> somewhere, where is problem... what is that? >>> >>> tnx, >>> Casper >>> >>> >> Try creating the link from outside the jail. >> Regards, >> bh >> > > _______________________________________________ > 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" > --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net