Date: Wed, 29 Jun 2005 11:53:20 -0600 From: "Chad Leigh -- Shire.Net LLC" <chad@shire.net> To: Casper <kl@os.lv> Cc: freebsd-questions@freebsd.org Subject: Re: Jail error ln operation not permitted Message-ID: <F34D7A8A-0765-4B78-AACA-232DA3E82E7E@shire.net> In-Reply-To: <42C2A14A.7010906@os.lv> References: <42C187D2.4060505@os.lv> <200506290823.11302.bernhard.fischer@fh-stpoelten.ac.at> <42C2A14A.7010906@os.lv>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F34D7A8A-0765-4B78-AACA-232DA3E82E7E>