Print this page
Revert "OS-871 zone stuck in shutting_down - waiting for kernel thread nfsauth_refresh_thread to terminate"
This reverts commit 887d2a84c612cea61b6ad544f54cf790cfb9de3e.
        
@@ -19,11 +19,10 @@
  * CDDL HEADER END
  */
 
 /*
  * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2012 Joyent, Inc. All rights reserved.
  * Copyright (c) 2012, 2016 by Delphix. All rights reserved.
  * Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
  */
 
 /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */
@@ -484,17 +483,10 @@
             can_do_mlp ? PRIV_NET_BINDMLP : NULL, NULL) == -1) {
                 (void) fprintf(stderr,
                     "%s: must be run with sufficient privileges\n",
                     argv[0]);
                 exit(1);
-        }
-
-        /* Mountd cannot run in a non-global zone. */
-        if (getzoneid() != GLOBAL_ZONEID) {
-                (void) fprintf(stderr, "%s: can only run in the global zone\n",
-                    argv[0]);
-                exit(1);
         }
 
         if (getrlimit(RLIMIT_NOFILE, &rl) != 0) {
                 syslog(LOG_ERR, "getrlimit failed");
         } else {