http://bugzilla.novell.com/show_bug.cgi?id=546825 Summary: cifs/smbfs startup script hides mount errors Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86 OS/Version: openSUSE 11.1 Status: NEW Severity: Minor Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: gernot@hillier.de QAContact: samba-maintainers@SuSE.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1.2 Firefox/3.0.14 The current CIFS startup script /etc/init.d/smbfs calls "mount" in the background and thus hides any mount error. The only case which is handled cleanly is "mount point already in use". All other mount problems are hidden and can only be found in /var/log/messages. This problem was already described at the end of bug 425058, but seemingly got lost somewhere. A first, easy solution would be to remove the redirection to /dev/null for both mount calls (fstab, smbfstab). This would at least print the error, but still leave the overall status wrong. To get a clean error status, I think mount has to be either called in foreground (why is this complicated background mechanism implemented at all?) or wait has to be used. This is a cosmetical problem - however quite confusing as can be seen e.g. in bug 425058 or bug 373075 as the user thinks mount has succeeded but the share isn't accessible. Reproducible: Always Steps to Reproduce: 1. Enter wrong share name or similar to fstab 2. Call /etc/init.d/smbfs start 3. Output will be "done" - the error is only visible in /var/log/message -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.