Mounting rclone smb Share using jail fstab

I'm using bastille to create jails and so far it has been just fine. Since freebsd doesn't have a mount.cifs (like linux) the only legitimate option is using rclone. This works great but I noticed that the internal jail fstab doesn't seem to want to mount it even though it mounts just fine when doing it manually.

Code:
server:/downloads /mnt/server/downloads fusefs.rclone late,allow_other,auto,rw,mountprog=/usr/local/bin/rclonefs,args2env,vfs_cache_mode=writes,config=/root/.config/rclone/rclone.conf,uid=99999,gid=99999,cache_dir=/var/cache/rclone 0 0

I am using the above in the jail fstab. The only way I managed to get this working is to add mount /mnt/server/downloads as a @reboot cron job. This doesn't seem to be a good workaround. I also tried setting fusefs.rclone as an ext_netfs in rc.conf. Nothing I seem to be doing is working for this.

Any thoughts?
 
Back
Top