Query for user nobody and exit sandbox if unable to find. Only create homedir if different from "/".
Query for user nobody and exit sandbox if unable to find.
Only create homedir if different from "/".

Fixes issue #481.

--
Change-Id: I240ea02974dfaafa07d1c9772baf372d5ea7755b
Reviewed-on: https://bazel-review.googlesource.com/#/c/2650/
MOS_MIGRATED_REVID=111686914

ButterflyNetwork/bazel,snnn/bazel,zhexuany/bazel,aehlig/bazel,safarmer/bazel,dslomov/bazel,variac/bazel,abergmeier-dsfishlabs/bazel,abergmeier-dsfishlabs/bazel,mikelikespie/bazel,meteorcloudy/bazel,damienmg/bazel,perezd/bazel,bazelbuild/bazel,cushon/bazel,ButterflyNetwork/bazel,dslomov/bazel-windows,whuwxl/bazel,iamthearm/bazel,mikelalcon/bazel,dinowernli/bazel,kchodorow/bazel,katre/bazel,abergmeier-dsfishlabs/bazel,aehlig/bazel,abergmeier-dsfishlabs/bazel,kchodorow/bazel,dinowernli/bazel,variac/bazel,hhclam/bazel,dropbox/bazel,cushon/bazel,juhalindfors/bazel-patches,juhalindfors/bazel-patches,ulfjack/bazel,hhclam/bazel,Asana/bazel,kchodorow/bazel,mrdomino/bazel,dslomov/bazel,dslomov/bazel-windows,spxtr/bazel,hermione521/bazel,katre/bazel,juhalindfors/bazel-patches,abergmeier-dsfishlabs/bazel,anupcshan/bazel,ButterflyNetwork/bazel,mrdomino/bazel,ulfjack/bazel,LuminateWireless/bazel,dslomov/bazel-windows,twitter-forks/bazel,dinowernli/bazel,dinowernli/bazel,aehlig/bazel,kchodorow/bazel-1,anupcshan/bazel,UrbanCompass/bazel,kchodorow/bazel-1,mbrukman/bazel,spxtr/bazel,variac/bazel,spxtr/bazel,whuwxl/bazel,dropbox/bazel,anupcshan/bazel,werkt/bazel,ulfjack/bazel,ButterflyNetwork/bazel,kchodorow/bazel,spxtr/bazel,damienmg/bazel,variac/bazel,bazelbuild/bazel,variac/bazel,juhalindfors/bazel-patches,juhalindfors/bazel-patches,akira-baruah/bazel,aehlig/bazel,dslomov/bazel,akira-baruah/bazel,safarmer/bazel,mrdomino/bazel,dinowernli/bazel,safarmer/bazel,werkt/bazel,meteorcloudy/bazel,bazelbuild/bazel,whuwxl/bazel,kchodorow/bazel-1,safarmer/bazel,UrbanCompass/bazel,zhexuany/bazel,spxtr/bazel,damienmg/bazel,mikelalcon/bazel,katre/bazel,dslomov/bazel-windows,hhclam/bazel,Asana/bazel,perezd/bazel,zhexuany/bazel,werkt/bazel,kchodorow/bazel-1,davidzchen/bazel,snnn/bazel,twitter-forks/bazel,twitter-forks/bazel,mrdomino/bazel,werkt/bazel,perezd/bazel,LuminateWireless/bazel,variac/bazel,meteorcloudy/bazel,ulfjack/bazel,bazelbuild/bazel,anupcshan/bazel,dinowernli/bazel,Asana/bazel,kchodorow/bazel,whuwxl/bazel,perezd/bazel,perezd/bazel,akira-baruah/bazel,safarmer/bazel,katre/bazel,dslomov/bazel,werkt/bazel,dslomov/bazel,snnn/bazel,davidzchen/bazel,hermione521/bazel,LuminateWireless/bazel,hhclam/bazel,damienmg/bazel,mrdomino/bazel,iamthearm/bazel,mbrukman/bazel,LuminateWireless/bazel,mikelikespie/bazel,mrdomino/bazel,mikelikespie/bazel,kchodorow/bazel-1,Asana/bazel,bazelbuild/bazel,davidzchen/bazel,mbrukman/bazel,spxtr/bazel,perezd/bazel,damienmg/bazel,mbrukman/bazel,hhclam/bazel,juhalindfors/bazel-patches,perezd/bazel,meteorcloudy/bazel,ButterflyNetwork/bazel,LuminateWireless/bazel,hermione521/bazel,cushon/bazel,hhclam/bazel,zhexuany/bazel,iamthearm/bazel,cushon/bazel,snnn/bazel,LuminateWireless/bazel,anupcshan/bazel,kchodorow/bazel,mikelikespie/bazel,snnn/bazel,whuwxl/bazel,spxtr/bazel,twitter-forks/bazel,mikelikespie/bazel,hermione521/bazel,cushon/bazel,katre/bazel,anupcshan/bazel,iamthearm/bazel,whuwxl/bazel,meteorcloudy/bazel,hermione521/bazel,dropbox/bazel,aehlig/bazel,mbrukman/bazel,twitter-forks/bazel,iamthearm/bazel,mikelalcon/bazel,rohitsaboo/bazel,ulfjack/bazel,Asana/bazel,bazelbuild/bazel,zhexuany/bazel,kchodorow/bazel,meteorcloudy/bazel,aehlig/bazel,mbrukman/bazel,ButterflyNetwork/bazel,dslomov/bazel-windows,dropbox/bazel,akira-baruah/bazel,dropbox/bazel,hermione521/bazel,abergmeier-dsfishlabs/bazel,dslomov/bazel-windows,ulfjack/bazel,akira-baruah/bazel,meteorcloudy/bazel,kchodorow/bazel-1,cushon/bazel,UrbanCompass/bazel,ulfjack/bazel,UrbanCompass/bazel,UrbanCompass/bazel,dslomov/bazel,Asana/bazel,rohitsaboo/bazel,rohitsaboo/bazel,UrbanCompass/bazel,Asana/bazel,aehlig/bazel,werkt/bazel,rohitsaboo/bazel,mikelalcon/bazel,iamthearm/bazel,dropbox/bazel,mikelikespie/bazel,davidzchen/bazel,akira-baruah/bazel,davidzchen/bazel,davidzchen/bazel,mikelalcon/bazel,twitter-forks/bazel,zhexuany/bazel,safarmer/bazel,damienmg/bazel,rohitsaboo/bazel,damienmg/bazel,davidzchen/bazel,juhalindfors/bazel-patches,rohitsaboo/bazel,twitter-forks/bazel,dslomov/bazel,snnn/bazel,mikelalcon/bazel,snnn/bazel,variac/bazel,katre/bazel