Bug #910
mountall thinks smbfs filesystems are local
Start date:
2011-04-17
Due date:
% Done:
0%
Estimated time:
Difficulty:
Tags:
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 over 8 years ago
There were fixes published for this in:
http://cr.opensolaris.org/~gwr/jk-vfstab/
but never integrated.