Skip to main content

Questions tagged [namespace]

Questions relating to Linux namespaces, including commands such as: unshare and ip netns. Namespaces support isolation of filesystems, system names, IPC, processes, networks, and users. Closely related to the docker and lxc tags; use those tags instead of this one if you are simply using docker or lxc to implement namespaces.

1 vote
1 answer
83 views

If there are no sessions (eg tmux a returns "no sessions") a call to start tmux under a namespace (eg sudo ip netns exec ns1 tmux new -s test) will have the shells within (even newly spawned ...
Hashbrown's user avatar
  • 214
0 votes
1 answer
77 views

I once asked how Linux namespaces could be disabled without recompiling. One of the comments asked if I meant without building with CONFIG_USER_NS=n and the answer my question received said to set to ...
Melab's user avatar
  • 4,496
1 vote
1 answer
100 views

I'm trying to run nebula (an overlay networking tool) as a systemd user service, NOT as a system service with user and group defined in the unit file. All examples about running a service with ...
user31422095's user avatar
3 votes
1 answer
199 views

For a while, Linux has been supporting ID-mapped mounts. The mount(1) manpage tells us that these can be set up using the X-mount.idmap option. But how can we view the ID mapping of an existing mount? ...
F30's user avatar
  • 601
0 votes
0 answers
43 views

Suppose mount namespace A looks like / lower/ overlay/ upper/ work/ and we run mount -o upperdir=/upper,lowerdir=/lower,workdir=/work -t overlay overlay /overlay and we copy the mount at /...
Melab's user avatar
  • 4,496
1 vote
0 answers
44 views

I was reading about mount namespaces and encountered something that seemed odd to me. I'm using Ubuntu22.04 I have a USB device connected to my machine: ubuntu@ubuntu-2204:/media/ubuntu$ cat /proc/...
EL_9's user avatar
  • 111
2 votes
1 answer
219 views

I’m trying to understand how cgroup namespaces work, but I’m stuck on something that doesn’t make sense to me. My understanding is that a cgroup namespace should virtualize the cgroup hierarchy for a ...
Liric Ramer's user avatar
2 votes
1 answer
104 views

I've created two Linux network namespaces (ns1 and ns2), and inside each, I have: A bridge (ns1-br0, ns2-br0) A TAP device (tap0, tap1) connected to the respective bridge Each TAP device gets an IP ...
Bhautik Chudasama's user avatar
0 votes
0 answers
71 views

I have a physical network with several VLANs. One of my computers (my main workstation) is connected to two different VLANs on this network, one tagged, the other not. I have successfully set this ...
Omnifarious's user avatar
  • 1,412
1 vote
1 answer
88 views

I would like to use unshare to create a new unprivileged user/mount namespace, with the goal of making a specific file appear at a specific location inside the child namespace. For example, assume ...
Jason R's user avatar
  • 657
0 votes
0 answers
51 views

I'm running a Kubernetes cluster with RKE2 v1.30.5+rke2r1 on Linux nixos 6.6.56 amd64, using Cilium CNI. Here's the setup: I have two pods (yaml manifests at the bottom): Pod A (xfrm-pod) is running ...
rrekaF's user avatar
  • 1
-1 votes
3 answers
504 views

A security rule of RHEL 8 must disable the use of user namespaces. states Discussion: It is detrimental for operating systems to provide, or install by default, functionality exceeding requirements ...
ron's user avatar
  • 9,198
2 votes
1 answer
189 views

I'm trying to understand whether it's possible to map two users from a user namespace to two different users on the host. The goal is to replicate the same permissions I have on my host inside a ...
Liric Ramer's user avatar
0 votes
0 answers
83 views

I have a process which is running in a container I want to debug. To debug it, I want to modify that mount namespace (most importantly: I want to mount my toolkit root into it). How to do that from a ...
peterh's user avatar
  • 10.5k
0 votes
1 answer
101 views

I am trying to comprehend some man7.org documentation about the User Namespace and the /bin/unshare command. I started by reading this page: https://man7.org/linux/man-pages/man7/user_namespaces.7....
learningtech's user avatar

15 30 50 per page
1
2 3 4 5
21