summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Warfield <mhw@samba.org>1999-02-18 04:33:06 +0000
committerMichael Warfield <mhw@samba.org>1999-02-18 04:33:06 +0000
commit894a8240414d751ca802b80ac08c4fd97dca50c2 (patch)
treec6c4bd5017a43b23c9ed0d0029753cf0580836fe /source3
parent52fb07aea26cc3041e571fafdc843622f1741a19 (diff)
downloadsamba-894a8240414d751ca802b80ac08c4fd97dca50c2.tar.gz
samba-894a8240414d751ca802b80ac08c4fd97dca50c2.tar.bz2
samba-894a8240414d751ca802b80ac08c4fd97dca50c2.zip
Got to the bottom of another weird one...
Piping the output of smbmount back to autofs/automount was causing the automount process to hang. Reason was that automount was depending on the pipe to close to continue on, rather than detecting the child signal. This occured with debug enabled and the daemon process was not closing the stdout process. Disabling debuging avoids the problem. Debugging is turned off in the cvs repository and a warning placed over the debugging option. (This used to be commit 329ceaee49fa0175f78873433bd942865309f633)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/smbmount.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index c3f05fd8e6..4b0cd7dff7 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -40,7 +40,11 @@ static struct smb_conn_opt conn_options;
#endif
/* Uncomment this to allow debug the smbmount daemon */
-#define SMBFS_DEBUG 1
+/* WARNING! This option is incompatible with autofs/automount because
+ it does not close the stdout pipe back to the automount
+ process, which automount depends on. This will cause automount
+ to hang! Use with caution! */
+/* #define SMBFS_DEBUG 1 */
pstring cur_dir = "\\";
pstring cd_path = "";