Re: [smartos-discuss] LX binaries in a native zone.

2016-05-16 Thread Robert Mustacchi
On 5/16/16 16:19 , David Preece wrote: > On 17 May 2016 at 10:54:20 AM, Patrick Mooney (patrick.moo...@joyent.com) > wrote: > An LX-branded zone instantiates a significant amount of brand-specific data > in order to "impersonate" the Linux syscall interface for the processes it > contains. It

Re: [smartos-discuss] LX binaries in a native zone.

2016-05-16 Thread David Preece
On 17 May 2016 at 10:54:20 AM, Patrick Mooney (patrick.moo...@joyent.com) wrote: An LX-branded zone instantiates a significant amount of brand-specific data in order to "impersonate" the Linux syscall interface for the processes it contains.  It is possible to run native binaries inside a

Re: [smartos-discuss] LX binaries in a native zone.

2016-05-16 Thread Patrick Mooney
Dave, An LX-branded zone instantiates a significant amount of brand-specific data in order to "impersonate" the Linux syscall interface for the processes it contains. It is possible to run native binaries inside a branded zone thanks to a hook in the elfexec logic which causes the branding to be

Re: [smartos-discuss] LX binaries in a native zone.

2016-05-16 Thread David Preece
On 17 May 2016 at 10:46:12 AM, Ian Collins (i...@ianshome.com) wrote: On 05/17/16 10:39 AM, David Preece wrote: If we can run native binaries in an LX zone, can we run LX binaries in a native zone? No! Why? And why does it not apply in the opposite direction? -Dave

Re: [smartos-discuss] LX binaries in a native zone.

2016-05-16 Thread Ian Collins
On 05/17/16 10:39 AM, David Preece wrote: If we can run native binaries in an LX zone, can we run LX binaries in a native zone? No! -- Ian. --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed:

[smartos-discuss] LX binaries in a native zone.

2016-05-16 Thread David Preece
If we can run native binaries in an LX zone, can we run LX binaries in a native zone? -Dave --- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00

Re: [smartos-discuss] Protect instances from deletion

2016-05-16 Thread Josh Wilsdon
> Is there a way to "protect" a SmartOS zone or KVM from being accidently > deleted? Hi, If you search for the indestructible_zoneroot and indestructible_delegated options in the vmadm man page that might be what you're looking for. Hope that helps, Josh

[smartos-discuss] Protect instances from deletion

2016-05-16 Thread Rickie via smartos-discuss
Hi,Is there a way to "protect" a SmartOS zone or KVM from being accidently deleted?AWS has an option called Termination Protection with their EC2 instances that requires an extra step before deleting the instance.Thanks smartos-discuss | Archives | Modify Your Subscription

[smartos-discuss] Any possibilities in python OSError?

2016-05-16 Thread Fred Liu
Hi, We are running some python scripts in LX brand (CentOS 6.7 20151005). And we get following errors: File "/tool/iqs/bin/execd.py", line 416, in polljob runfiles = [int(f) for f in os.listdir(RUNDIR) if f.isdigit()] exceptions.OSError: [Errno 4] Interrupted system call: '/tool/iqs/run'