Hi,

I've not tested this, but looking at the lx branded tools for systemd it looks 
like you can make your service depend on the 'joyent' service. That seem to be 
responsible for mounting the ZFS datasets.

https://github.com/joyent/sdc-vmtools-lx-brand/blob/b6ac44fe418532033cbd19d33d2071a878735b7f/src/etc/systemd/system/joyent.service
 
<https://github.com/joyent/sdc-vmtools-lx-brand/blob/b6ac44fe418532033cbd19d33d2071a878735b7f/src/etc/systemd/system/joyent.service>
https://github.com/joyent/sdc-vmtools-lx-brand/blob/b6ac44fe418532033cbd19d33d2071a878735b7f/src/lib/smartdc/joyent_rc.local
 
<https://github.com/joyent/sdc-vmtools-lx-brand/blob/b6ac44fe418532033cbd19d33d2071a878735b7f/src/lib/smartdc/joyent_rc.local>


BR
Eric Ripa

> On Oct 11, 2017, at 21:16, Ian Collins <[email protected]> wrote:
> 
> Hello,
> 
> One of my users is reporting problems with services starting in an LX zone 
> before the moutpoints from the zone's delegated dataset are mounted.
> 
> The problem appears to be that the mounted file system shows up as a mount, 
> but it isn't in /etc/fstab so Linux doesn't know how to wait for it to become 
> mounted.
> 
> Thanks,
> 
> --
> Ian.
> 



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to