]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount.nfs4: Remove checks for idmapd and gssd running.
authorNeil Brown <neilb@suse.de>
Fri, 11 May 2007 03:28:53 +0000 (13:28 +1000)
committerNeil Brown <neilb@suse.de>
Fri, 11 May 2007 03:28:53 +0000 (13:28 +1000)
While it is nice to have the checks, nothing in this package
creates the files that are checked, so we shouldn't check them
yet.

utils/mount/nfs4mount.c

index 8aa13c6cf76f7655c158ec44b7762f79e257f868..2a58d0ae08e1208479d85f0c72987022f01bd97c 100644 (file)
@@ -352,6 +352,10 @@ int nfs4mount(const char *spec, const char *node, int *flags,
        /*
         * Give a warning if the rpc.idmapd daemon is not running
         */
+#if 0
+       /* We shouldn't have these checks as nothing in this package
+        * creates the files that are checked
+        */
        idmapd_check();
 
        if (num_flavour == 0)
@@ -362,6 +366,7 @@ int nfs4mount(const char *spec, const char *node, int *flags,
                 */
                gssd_check();
        }
+#endif
        data.auth_flavourlen = num_flavour;
        data.auth_flavours = pseudoflavour;