conditionally reattach to user namespace