I have a script file thus to automatically mount some smb shares:

#!/bin/bash
# Mount our Samba shares
smbmount //linux/public /mnt/public -o username="",password="",workgroup=workgroup,uid=michael,gid=michael
smbmount //linux/shared /mnt/shared -o username="",password="",workgroup=workgroup,uid=michael,gid=michael
smbmount //linux/backups /mnt/backups -o username="",password="",workgroup=workgroup,uid=michael,gid=michael


When I execute the above commands (as su) manually one at a time they work every time. When I run them from a script it will hang somewhere almost every time. When I execute them from /etc/rc.local my box won't finish booting and hangs. /var/log/messages shows nothing nor dmesg.

Sometimes the first one hangs, sometimes the second, sometimes the third. Wierd thing is, when one of the commands hang, the mount succeeds and is usable, but the command just never returns.

The server is a RH9 box and I've set all the shares wide open for now. I don't suspect the server because it works great from other Win boxes on the LAN. I've seen this symptom before tho from other RH9 clients on the LAN.

Any help appreciated,
Michael



_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to