How to run firefox in a namespace
by Shaggy1 from LinuxQuestions.org on (#6GJ2X)
Code:$ cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)Hi
I want to run up firefox in a namespace, but have somehow managed to get myself in a chicken and situation.
What's happening now is the following:
I create the namespace as root like this:
Code:$ ip netns add dummyThen attempt to run firefox in the namespace using the following command:
Code:$ ip netns exec dummy firefoxIf I run as root I get this error:
Quote:
If I run as the local user I get this error:
Quote:
The first time I did this, however, it worked for me - as in I managed somehow to run firefox in the namespace, though with current problems I'm not sure how I did it.
I think I managed to simply run firefox as root.
Does anyone have any idea how I can get to a point where I can run firefox in a namespace ?
CentOS Linux release 7.6.1810 (Core)Hi
I want to run up firefox in a namespace, but have somehow managed to get myself in a chicken and situation.
What's happening now is the following:
I create the namespace as root like this:
Code:$ ip netns add dummyThen attempt to run firefox in the namespace using the following command:
Code:$ ip netns exec dummy firefoxIf I run as root I get this error:
Quote:
Running firefox as root in a regular users session is not supported ... |
Quote:
setting the network namespace "dummy" failed: Operation not permitted |
The first time I did this, however, it worked for me - as in I managed somehow to run firefox in the namespace, though with current problems I'm not sure how I did it.
I think I managed to simply run firefox as root.
Does anyone have any idea how I can get to a point where I can run firefox in a namespace ?