Mailinglist Archive: opensuse-bugs (10803 mails)
| < Previous | Next > |
[Bug 546825] New: cifs/smbfs startup script hides mount errors
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 14 Oct 2009 05:03:00 -0600
- Message-id: <bug-546825-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxx
ReportedBy: gernot@xxxxxxxxxx
QAContact: samba-maintainers@xxxxxxx
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.
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@xxxxxxx
ReportedBy: gernot@xxxxxxxxxx
QAContact: samba-maintainers@xxxxxxx
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.
| < Previous | Next > |