Andy Johnson <johnsonzjo@xxxxxxxxx> writes: > Thanks. > Copy ans paste of that line: > unshare --pid -- /bin/sh -c /bin/bash > > still gave: > ./unshare --pid -- /bin/sh -c /bin/bash > bash: fork: Cannot allocate memory > > also tried to tweak a bit and it did not help > I am using latest git linux-util on fedora 18 with > 3.8.4-202.fc18.x86_64 kernel How weird. It works here. My hunch would be that my /bin/sh is dash, and fedora likes to use bash. It looks like your /bin/sh is exec'ing /bin/bash instead of forking and execing it. You can look in another window and confirm that you don't have two processes doing the work only one. When it works echo $$ returns 1. Shrug. Eric -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html