Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #85329

Bug#1094787: iproute2: Who is responsible for creating /run/netns?

From Christophe Lohr <christophe.lohr@cegetel.net>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1094787: iproute2: Who is responsible for creating /run/netns?
Date 2025-01-31 10:10 +0100
Message-ID <KaVcd-dgyQ-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: iproute2
Version: 6.13.0-1
Severity: minor
X-Debbugs-Cc: christophe.lohr@cegetel.net

Dear Maintainer,
I'm taking my first steps with the network namespace concept. Please 
excuse the naivety of my question.

Following the manual page (and other tutorials), I make:

     $ ip netns add ns0
     mkdir /run/netns failed: Permission denied

Of course, a normal user cannot create a subdirectory in /run
Who's supposed to prepare it? A systemd component? Something else? Did I 
miss something?

Best regards


-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'oldstable-updates'), (500, 
'oldoldstable-updates'), (500, 'oldoldstable'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.10-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iproute2 depends on:
ii debconf [debconf-2.0] 1.5.89
ii libbpf1 1:1.5.0-2
ii libc6 2.40-6
ii libcap2 1:2.66-5+b1
ii libcap2-bin 1:2.66-5+b1
ii libdb5.3t64 5.3.28+dfsg2-9
ii libelf1t64 0.192-4
ii libmnl0 1.0.5-3
ii libselinux1 3.7-3+b1
ii libtirpc3t64 1.3.4+ds-1.3+b1
ii libxtables12 1.8.11-2

iproute2 recommends no packages.

Versions of packages iproute2 suggests:
ii python3 3.13.1-2

-- debconf information:
iproute2/setcaps: false

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1094787: iproute2: Who is responsible for creating /run/netns? Christophe Lohr <christophe.lohr@cegetel.net> - 2025-01-31 10:10 +0100

csiph-web