Re: new jail(8) ignoring devfs_ruleset?

2013-05-10 Thread Jamie Gritton
On 05/09/13 22:42, Dewayne Geraghty wrote: An ugly workaround to complete the jail closure, when relying on jail.conf, is to: jail -r $JAILNAME umount /$LOCATION_OF_JAILS/$JAILNAME/dev || true The only problem with devfs I'm aware of is it not catching the right ruleset when starting in the

Re: new jail(8) ignoring devfs_ruleset?

2013-05-09 Thread Jamie Gritton
On 05/09/13 03:17, Jeremie Le Hen wrote: On Thu, Mar 21, 2013 at 06:46:57PM -0600, Jamie Gritton wrote: It's not fixed anywhere yet - it sometimes works in current, and sometimes doesn't. I've been meaning to patch it up, but it the problem is what I think it is, the patching up is a pretty

Re: new jail(8) ignoring devfs_ruleset?

2013-03-21 Thread Jamie Gritton
On 03/21/13 17:59, Miroslav Lachman wrote: Jeremie Le Hen wrote: On Mon, Feb 18, 2013 at 09:54:42AM +0100, Harald Schmalzbauer wrote: schrieb Jamie Gritton am 16.02.2013 00:40 (localtime): On 02/15/13 09:27, Harald Schmalzbauer wrote: Hello, like already posted, on 9.1-R, I highly

Re: new jail(8) ignoring devfs_ruleset?

2013-03-21 Thread Jamie Gritton
On 03/21/13 18:20, Miroslav Lachman wrote: Jamie Gritton wrote: On 03/21/13 17:59, Miroslav Lachman wrote: Jeremie Le Hen wrote: On Mon, Feb 18, 2013 at 09:54:42AM +0100, Harald Schmalzbauer wrote: schrieb Jamie Gritton am 16.02.2013 00:40 (localtime): On 02/15/13 09:27, Harald Schmalzbauer

Re: new jail(8) ignoring devfs_ruleset?

2013-02-19 Thread Jamie Gritton
On 02/18/13 09:29, Mateusz Guzik wrote: On Mon, Feb 18, 2013 at 09:26:42AM -0700, Jamie Gritton wrote: On 02/18/13 01:54, Harald Schmalzbauer wrote: schrieb Jamie Gritton am 16.02.2013 00:40 (localtime): On 02/15/13 09:27, Harald Schmalzbauer wrote: Hello, like already posted, on 9.1-R

Re: new jail(8) ignoring devfs_ruleset?

2013-02-18 Thread Jamie Gritton
On 02/18/13 01:54, Harald Schmalzbauer wrote: schrieb Jamie Gritton am 16.02.2013 00:40 (localtime): On 02/15/13 09:27, Harald Schmalzbauer wrote: Hello, like already posted, on 9.1-R, I highly appreciate the new jail(8) and jail.conf capabilities. Thanks for that extension

Re: new jail(8) ignoring devfs_ruleset?

2013-02-18 Thread Jamie Gritton
On 02/18/13 09:29, Mateusz Guzik wrote: On Mon, Feb 18, 2013 at 09:26:42AM -0700, Jamie Gritton wrote: On 02/18/13 01:54, Harald Schmalzbauer wrote: schrieb Jamie Gritton am 16.02.2013 00:40 (localtime): On 02/15/13 09:27, Harald Schmalzbauer wrote: Hello, like already posted, on 9.1

Re: new jail(8) ignoring devfs_ruleset?

2013-02-15 Thread Jamie Gritton
On 02/15/13 09:27, Harald Schmalzbauer wrote: Hello, like already posted, on 9.1-R, I highly appreciate the new jail(8) and jail.conf capabilities. Thanks for that extension! Accidentally I saw that devfs_ruleset seems to be ignored. If I list /dev/ I see all the hosts disk devices etc. I

Re: problem stoping jails with jail(8), jail.conf and mount.fstab

2013-02-12 Thread Jamie Gritton
On 02/12/13 07:47, Harald Schmalzbauer wrote: Hello, on 9.1-R, I highly appreciate the new jail(8) and jail.conf capabilities. Thanks for that extension! But I have one problem: If I want to stop a jail with 'jaill -r jailname', I get umount: unmount of /.jail.jailname failed: Device busy

Re: The problem with starting/stopping of jail in the last 9-STABLE.

2012-05-31 Thread Jamie Gritton
On 05/31/12 07:56, Serg R wrote: At system startup, a message: Starting jails: cannot start jail test: -1 # /etc/rc.d/jail start Starts jail successfully. # ee /var/run/jail_test.id Setting hostname: test. # /etc/rc.d/jail stop Stopping jails: test # jls JID IP Address Hostname

Re: Jail startup/shutdown broken on latest 9-STABLE

2012-05-28 Thread Jamie Gritton
On 05/24/12 16:30, Mateusz Guzik wrote: On Thu, May 24, 2012 at 06:20:15PM -0400, Mike Jakubik wrote: On Fri, 2012-05-25 at 00:13 +0200, Mateusz Guzik wrote: On Thu, May 24, 2012 at 06:06:50PM -0400, Mike Jakubik wrote: On Thu, 2012-05-24 at 23:22 +0200, Mateusz Guzik wrote: On Thu, May 24,

Re: Jail startup/shutdown broken on latest 9-STABLE

2012-05-24 Thread Jamie Gritton
On 05/24/12 16:30, Mateusz Guzik wrote: On Thu, May 24, 2012 at 06:20:15PM -0400, Mike Jakubik wrote: On Fri, 2012-05-25 at 00:13 +0200, Mateusz Guzik wrote: On Thu, May 24, 2012 at 06:06:50PM -0400, Mike Jakubik wrote: On Thu, 2012-05-24 at 23:22 +0200, Mateusz Guzik wrote: On Thu, May 24,

Re: Jail startup/shutdown broken on latest 9-STABLE

2012-05-24 Thread Jamie Gritton
On 05/24/12 16:59, Mateusz Guzik wrote: On Thu, May 24, 2012 at 04:46:52PM -0600, Jamie Gritton wrote: I'll get the patch to jail(8) in - thanks for catching that. But I wonder about the patch to /etc/rc.d/jail. It looks correct, but I'm going to see if it's /etc/rc.d/jail that needs changing

Re: Jail startup/shutdown broken on latest 9-STABLE

2012-05-24 Thread Jamie Gritton
On 05/24/12 19:23, Mateusz Guzik wrote: On Thu, May 24, 2012 at 06:47:30PM -0600, Jamie Gritton wrote: On 05/24/12 16:59, Mateusz Guzik wrote: On Thu, May 24, 2012 at 04:46:52PM -0600, Jamie Gritton wrote: I'll get the patch to jail(8) in - thanks for catching that. But I wonder about

Re: Fighting with vnet / jails epair and so on

2012-01-20 Thread Jamie Gritton
On 01/19/12 16:08, Bjoern A. Zeeb wrote: On 19. Jan 2012, at 22:33 , Philipp Huebner wrote: On 19/01/12 18:22, Denny Schierz wrote: hi, Am 18.01.2012 um 23:21 schrieb Philipp Huebner: I use 9.0.0 release for host and jail and a generic kernel with OPTIONS VIMAGE being the only

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-21 Thread Jamie Gritton
On 08/20/11 19:19, Steven Hartland wrote: - Original Message - From: Andriy Gapon a...@freebsd.org on 20/08/2011 23:24 Steven Hartland said the following: - Original Message - From: Steven Hartland Looking through the code I believe I may have noticed a scenario which could

Re: debugging frequent kernel panics on 8.2-RELEASE

2011-08-21 Thread Jamie Gritton
On 08/21/11 05:01, Steven Hartland wrote: - Original Message - From: Jamie Gritton ja...@freebsd.org The problem isn't with the conditional locking of tpr in prison_deref. That locking is actually correct, and there's no race condition. Are you sure? I do think that unlocking the mtx

Re: 8.0-RC1: kernel page fault in NLM master thread (VIMAGE or ZFS related?)

2009-10-07 Thread Jamie Gritton
Rick Macklem wrote: On Sun, 27 Sep 2009, Robert Watson wrote: On Fri, 25 Sep 2009, Jamie Gritton wrote: It seems to be NFS related. I think the null pointer in question is from the export's anonymous credential. Try the patch below and see if it helps (which I guess means run it overnight

Re: 8.0-RC1: kernel page fault in NLM master thread (VIMAGE or ZFS related?)

2009-09-25 Thread Jamie Gritton
Marcel Moolenaar wrote: All, I just got this overnight on my server: Fatal trap 12: page fault while in kernel mode fault virtual address= 0x90 fault code= supervisor read, page not present instruction pointer= 0x20:0xc05ba39d stack pointer= 0x28:0xf31077bc frame

Re: regression with jexec?

2009-07-26 Thread Jamie Gritton
Bjoern A. Zeeb wrote: On Sun, 26 Jul 2009, Kostik Belousov wrote: On Sat, Jul 25, 2009 at 09:06:34PM -0400, Michael Butler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jamie Gritton wrote: Michael Butler wrote: i...@aaron:/home/imb sudo jexec 5 tcsh jexec: Unable to parse jail ID

Re: regression with jexec?

2009-07-26 Thread Jamie Gritton
Kostik Belousov wrote: On Sun, Jul 26, 2009 at 08:28:05AM -0600, Jamie Gritton wrote: Bjoern A. Zeeb wrote: On Sun, 26 Jul 2009, Kostik Belousov wrote: On Sat, Jul 25, 2009 at 09:06:34PM -0400, Michael Butler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jamie Gritton wrote

Re: regression with jexec?

2009-07-26 Thread Jamie Gritton
Kostik Belousov wrote: On Sun, Jul 26, 2009 at 08:50:15AM -0600, Jamie Gritton wrote: All true - and I'll add the check you mention to my patch. But what about the malloc case? Is it equally valid to say that errno should not be set when no error occurred? Or are non-syscall libc functions

Re: regression with jexec?

2009-07-25 Thread Jamie Gritton
Michael Butler wrote: After a clean rebuild ('rm -rf /usr/obj/*') .. i...@aaron:/home/imb uname -a FreeBSD aaron.protected-networks.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jul 25 05:39:55 EDT 2009 i...@aaron:/home/imb jls JID IP Address Hostname Path [ .. ]