[OmniOS-discuss] LX chdir bug with steps to reproduce

Dominik Hassler hasslerd at gmx.li
Fri Mar 9 20:37:59 UTC 2018


The fix for the issue you reference (OS-5167) has been integrated in r24
and bloody:

hadfl at bloody-build:/build/illumos-omnios$ git log r151022 --grep "cached
v_path"
hadfl at bloody-build:/build/illumos-omnios$ git log r151024 --grep "cached
v_path"
commit e2fc3408efa6cdfc5e33c73c3567efc8c7592707
Author: Patrick Mooney <pmooney at pfmooney.com>
Date:   Thu Jun 8 21:57:45 2017 +0000

    8376 cached v_path should be kept fresh
    Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
    Reviewed by: Robert Mustacchi <rm at joyent.com>
    Approved by: Gordon Ross <gwr at nexenta.com>
hadfl at bloody-build:/build/illumos-omnios$ git log master --grep "cached
v_path"
commit e2fc3408efa6cdfc5e33c73c3567efc8c7592707
Author: Patrick Mooney <pmooney at pfmooney.com>
Date:   Thu Jun 8 21:57:45 2017 +0000

    8376 cached v_path should be kept fresh
    Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
    Reviewed by: Robert Mustacchi <rm at joyent.com>
    Approved by: Gordon Ross <gwr at nexenta.com>


running your python code on bloody does not seem to be broken.


On 03/09/2018 07:34 PM, Mini Trader wrote:
> This simple python code will break on an LX zone (LTS)
> 
> import os
> import time
> 
> os.chdir('/main/documents/test')
> for i in xrange(2000):
>     print i
>     os.chdir('a')
>     print os.getcwd()
>     os.chdir('..')
> 
> 
> On Fri, Mar 9, 2018 at 1:01 PM, Mini Trader <miniflowtrader at gmail.com
> <mailto:miniflowtrader at gmail.com>> wrote:
> 
>     Would this bug have been fixed in the latest stable version of
>     OmniOS CE?
> 
>     On Mon, Jan 16, 2017 at 5:36 PM, Dan McDonald <danmcd at omniti.com
>     <mailto:danmcd at omniti.com>> wrote:
> 
> 
>         > On Jan 16, 2017, at 5:01 PM, Mini Trader <miniflowtrader at gmail.com <mailto:miniflowtrader at gmail.com>> wrote:
>         >
>         > We definitely need:
>         >
>         > https://smartos.org/bugview/OS-5167
>         <https://smartos.org/bugview/OS-5167> (and probably whatever was
>         done before it).
> 
>         Joyent mentioned that very bug to me earlier this afternoon. 
>         During the bringup of LX zones, I didn't cherrypick it from
>         illumos-joyent, and now I remember why... it unravels a larger
>         ball of yarn.
> 
>         To that end, I'm attempting that unravelling now.  I doubt it'll
>         be backported into r151020, though.  LX is still considered
>         "beta" in 020, and stability of the overall system is why I'm
>         loathe to bring in non-LX fixes for LX problems (as these all
>         are) into a Stable release.
> 
>         I'm going to cut a bloody release this week.  It has lots of new
>         things in it, and if I'm lucky, it may include these Joyent
>         fixes as well.  If you want to help, get a box up to bloody once
>         I cut the release this week.
> 
>         Thanks, and sorry I can't be of IMMEDIATE assistance,
>         Dan
> 
> 
> 
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 


More information about the OmniOS-discuss mailing list