def METHOD_NAME(require, temp_dir):
    require({'privileged_user': True})
    isolation = {'rootfs': temp_dir, 'automount': {'procfs': False}}
    client.load('ns_inspect', isolation=isolation)
    assert not (
        client.getjson(url='/?path=/proc/self')['body']['FileExists']
    ), 'no /proc/self'
    isolation['automount']['procfs'] = True
    client.load('ns_inspect', isolation=isolation)
    assert client.getjson(url='/?path=/proc/self')['body'][
        'FileExists'
    ], '/proc/self'