On 02/10/2015 07:48 PM, Marc Phillips via smartos-discuss wrote:
I'm tasked with doing the following:

Expose /some/software/sockets UDS to each of the non-global zones

I have no idea how to do that or what that means, exactly, in the context of 
SmartOS.

I have a PCI card supported by SmartOS which utilies UDS.  Said card and 
supporting software is working
as expected within the global zone.

One thing that would make said software work better would be if I could add a 
generic user/group to the global zone.

Any pointers would be appreciated.
On 02/10/2015 08:51 PM, Garrett D'Amore via smartos-discuss wrote:
Generally, you can create UNIX domain sockets in the global zone, and if you 
put the path to them in a filesystem that is mounted inside the local zone, 
then that local zone will be able to attach.  This is a kind of way to enable 
communication between the GZ and the local zone.

Note that generally zones don’t share filesystems, so typically you can’t use 
this to get between to distinct local zones.  There may be some tricks to make 
even that work, but to be honest I’ve not tried — it seems like it would be a 
bad idea.

I suspect that setting up a lofs mounted filesystem for the zones at provision time that mounts in the path where the unix sockets are being created would do the trick.

Search the vmadm man page for "lofs".

-Nahum


-------------------------------------------
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