Print this page
Revert "OS-871 zone stuck in shutting_down - waiting for kernel thread nfsauth_refresh_thread to terminate"
This reverts commit 887d2a84c612cea61b6ad544f54cf790cfb9de3e.

@@ -18,11 +18,10 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2012, Joyent, Inc. All rights reserved.
  */
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T         */
 /*        All Rights Reserved   */
 

@@ -174,17 +173,10 @@
             can_do_mlp ? PRIV_NET_BINDMLP : NULL, NULL) == -1) {
                 (void) fprintf(stderr, "%s should be run with"
                     " sufficient privileges\n", av[0]);
                 exit(1);
         }
-
-        /* Nfsd cannot run in a non-global zone. */
-        if (getzoneid() != GLOBAL_ZONEID) {
-                (void) fprintf(stderr, "%s: can only run in the global zone\n",
-                    av[0]);
-                exit(1);
-        }
 
         (void) enable_extended_FILE_stdio(-1, -1);
 
         /*
          * Read in the values from SMF first before we check