From 887d2a84c612cea61b6ad544f54cf790cfb9de3e Mon Sep 17 00:00:00 2001 From: Jerry Jelinek Date: Fri, 13 Jan 2012 15:24:22 +0000 Subject: OS-871 zone stuck in shutting_down - waiting for kernel thread nfsauth_refresh_thread to terminate --- usr/src/uts/common/fs/nfs/nfs_server.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr/src/uts/common/fs/nfs') diff --git a/usr/src/uts/common/fs/nfs/nfs_server.c b/usr/src/uts/common/fs/nfs/nfs_server.c index ad2fed01dc..8473788d8a 100644 --- a/usr/src/uts/common/fs/nfs/nfs_server.c +++ b/usr/src/uts/common/fs/nfs/nfs_server.c @@ -21,6 +21,7 @@ /* * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2011 Bayard G. Bell. All rights reserved. + * Copyright (c) 2012 Joyent, Inc. All rights reserved. */ /* @@ -2520,6 +2521,9 @@ nfs_srvinit(void) { int error; + if (getzoneid() != GLOBAL_ZONEID) + return (EACCES); + error = nfs_exportinit(); if (error != 0) return (error); -- cgit v1.2.3