[OmniOS-discuss] LX Zone DTrace

Dan McDonald danmcd at omniti.com
Mon Jan 16 17:02:39 UTC 2017


> On Jan 15, 2017, at 2:21 PM, Mini Trader <miniflowtrader at gmail.com> wrote:
> 
> Here is the strace.  Which shows the underlying libc call failing.  chdir would have failed if the directory was not there.  Maybe a race condition going on here?  Does this now become a Linux bug?
> 
> I've even made a call to pwd in the exception and it does not fail.
> 
> lstat("ParameterSet", {st_mode=S_IFDIR|0777, st_size=4, ...}) = 0
> chdir("ParameterSet")                   = 0
> write(1, "'/main/documents/oneofmydirectories"..., 101'/main/documents/oneofmydirectories/ParameterSet'
> ) = 101
> getcwd(0x7fffffefebc0, 1026)            = -1 ENOENT (No such file or directory)
> write(1, "[Errno 2] No such file or direct"..., 36[Errno 2] No such file or directory
> ) = 36
> 

I see you have more on this later, but if this is something manifesting only in an LX zone, it's either a bug-for-bug compatibility with Linux, a bug in the LX code itself, or a bug in greater illumos that for some reason only LX zones expose.

More when I get to the other mail you sent, Mini.

Dan



More information about the OmniOS-discuss mailing list