myenv_init for read only system