Questions tagged [namespaces]
75 questions
0
votes
0 answers
Resolve network name resolution inside a namespace
I have managed to set up a namespace.
I was able to PING with the namespace.
$ ip netns exec myNS ping 8.8.4.4
However, my PING is unsuccessful when I perform the following instruction:
$ ip netns exec myNS ping google.com
The error returned…

kogepan
- 1
0
votes
0 answers
How do CPUShares work across parent and children cgroups?
Redhat has a great blog post describing CPUShares, but it assumes processes reside in leaf CGroups, and doesn't discuss how CPU time is calculated for processes that reside in branch CGroups.
For example: what is the CPU usage for each of these…

Lawrence Wagerfield
- 47
- 9
0
votes
0 answers
Deal with systemd-journald namespaces
I am trying to find out how the namespace mechanism of systemd's journald operates.
How to configure it, whether journal namespaces are equal to unix / linux namespaces and how to attach my custom processes to such a namespace to make them able to…

woodz
- 136
- 3
0
votes
0 answers
Openstack VM not accessible from Local network
I am new to Openstack and trying to deploy Openstack environment to instantiate VM for Customer Demo. I am able to instantiate VM and multiple VM are able to PING/SSH each other from console (accessed from Horizon) but i am not able to reach to…

raghav18185
- 1
- 1
0
votes
1 answer
Docker: mapping container UID to an "non-existing" UID on host
I am tinkering with Linux namespaces to better understand how Docker (or rather, runc) interacts with them.
By default, Docker does not create a user namespace for a container, meaning that UID 0 inside the container also means UID 0 on the…

Blizzard7469
- 1
- 1
0
votes
1 answer
Is it possible to confine SSH users to a new mount namespace on Login?
Users logging into our shared servers over SSH currently always enter into the root mount namespace, which for example allows all users to see the same /var/tmp directory, making it a contended resource which is shared by all users (and the root…

JamesHannah
- 1,731
- 2
- 11
- 24
0
votes
1 answer
Force new process to use the specific network interface (using netns/network namespaces)
I have a number of interfaces available on Ubuntu 20.04 machine. Among others enx0c5b8f279a64 and usb0 with the later being used as the default one. I want to make sure that a particular process started in terminal will use only one of these…

Kira
- 11
- 4
0
votes
1 answer
Get resources across all namespaces by name - clusterrole vs all other resources
May be the wrong forum for such a question, but I am wondering why:
k get daemonsets.apps sysdig-agent -A
returns:
error: a resource cannot be retrieved by name across all namespaces
while
k get clusterrole sysdig-agent -A
returns:
NAME …

Dobhaweim
- 3
- 3
0
votes
0 answers
Error: Connection activation failed: Failed to find a compatible device for this connection
Hi linux newbie here pardon any mistakes.
I have configured a network namespace local-routeTable and have brought up interface eth3 inside the namespace:
# ip netns exec local-routeTable ifconfig
eth3: flags=4163 mtu…

nguns
- 3
- 5
0
votes
1 answer
Disable mount namespaces in Apache/PHP-FPM
For a web GUI to manage NFS mount points, we've run into a problem after migrating to Centos 8.
JS Billings noted that:
CentOS8 runs httpd in a private namespace (with its own private /tmp).
Since it's such a terrible idea to give httpd the ability…

Danny
- 235
- 3
- 10
-1
votes
1 answer
Hosts cannot ping in two name spaces using Open Vswitch
I have two name spaces red and blue. Red is connected to host1, and blue is connected to host2,
but these two hosts cannot ping each other. Here is the commands that I put:
ip link add host1 type veth peer name virt1
ip link add host2 type veth peer…

secret
- 99
- 2
-1
votes
1 answer
Dovecot: autocreate public mailboxes?
Currently I have a problem with my understanding of public mailboxes with dovecot.
What is currently running is postfix together with dovecot (also with dovecot's sasl).
Whenever an e-mail reaches my server, one or more userdb-lookups (against my…

randomnickname
- 513
- 2
- 11
-1
votes
1 answer
Build a multitenant managed control plane for kubernetes
I noticed that there are some cloud providers that offer a managed solution for kubernetes, I'm wondering what are the various components involved in this offering.
My gut feeling is telling me there would be some components involved, like,…

Paco V.
- 3
- 2
-2
votes
1 answer
Domain without Nameservers- how to find them
I am a bit new to the servers. I still want to ask one question, and yes I know its a noob question but still... So I bought one domain from amazon AWS. The domain name is droni-bg.eu. Do you know how can I check the correct namespaces and SOA for…

strash
- 99
- 6
-2
votes
2 answers
How to run a program in a new PID namespace
How to run a program in a new PID namespace? All tutorials on the internet show writing some custom C code in order to do it. Is there a command instead for that?

Ivan
- 179
- 1
- 8