split up create/init shm so we can initiate logging in between