Bug #910

mountall thinks smbfs filesystems are local

Added by Gordon Ross about 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2011-04-17
Priority:Low Due date:
Assignee:Gordon Ross % Done:

0%

Category:- Spent time: -
Target version:-
Difficulty:Medium Tags:needs-triage

Description

This was originally:
http://bugs.opensolaris.org/view_bug.do?bug_id=6795819

If you have smbfs mounts in /etc/vfstab, the "fs-local"
service will have errors during startup, i.e.:

mount_smbfs: service "svc:/network/smb/client:default" not enabled.
svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 3
Mounting ZFS filesystems: (9/9)
Apr 17 22:17:17 svc.startd[10]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Apr 17 22:17:17 svc.startd[10]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)

Basically, mountall tries to mount smbfs entries found in vfstab
during the "mount local filesystems" phase. This does not work
because smbfs needs services that won't run until long after the
local filesystem mounts are done.

The mountall script should treat smbfs like nfs, and then
smbfs mounts in vfstab should work.

This issue is for the mountall part of this problem.
See issue 911 for the mount_smbfs parts.

History

Updated by Gordon Ross about 3 years ago

There were fixes published for this in:
http://cr.opensolaris.org/~gwr/jk-vfstab/
but never integrated.

Updated by Gordon Ross almost 3 years ago

  • Status changed from New to Resolved

13349:06962a3446ee

Also available in: Atom PDF