mountall thinks smbfs filesystems are local
|Assignee:||Gordon Ross||% Done:||
This was originally:
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: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95. Apr 17 22:17:17 svc.startd: 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.
Updated by Gordon Ross almost 4 years ago
There were fixes published for this in:
but never integrated.