Re: [vserver] Linux 3.13.1 Patch for Testing ...

From: Arkadiusz Miśkiewicz <arekm_at_maven.pl>
Date: Sat 01 Feb 2014 - 18:00:12 GMT
Message-Id: <201402011900.12776.arekm@maven.pl>

On Saturday 01 of February 2014, Herbert Poetzl wrote:

> Back to positive thinking and good news: a first patch [2]
> for 3.13.1 is now available for testing, please let me
> know if you encounter any issues or hit any specific
> problems with it.

Works here (3.13.1 vs2.3.6.10 patch):

Linux carme 3.13.1-0.1 #1 SMP Sat Feb 1 12:53:10 CET 2014 x86_64
Intel(R)_Xeon(R)_CPU___________X5355__@_2.66GHz PLD Linux

but the /proc problem when using pid namespace exists.

Reproducer:

[root@carme ~]# unshare -p --mount-proc --fork bash
[root@carme ~]# ls -l /proc/ | head -n 5
ls: cannot access /proc/1: No such file or directory
ls: cannot access /proc/14: No such file or directory
ls: cannot access /proc/15: No such file or directory
total 0
?????????? ? ? ? ? ? 1
?????????? ? ? ? ? ? 14
?????????? ? ? ? ? ? 15
dr-xr-xr-x 2 root root 0 Feb 1 18:53 acpi

(so some entries are half-hidden, fileterd somewhere in vserver code for
stat() and friends but not getdents() which fools some apps badly)

while on vanilla kernel this is working:

[root@t400 ~]# ls -l /proc/ | head -n 10
razem 0
dr-xr-xr-x 9 root root 0 02-01 18:58 1
dr-xr-xr-x 9 root root 0 02-01 18:58 18
dr-xr-xr-x 9 root root 0 02-01 18:58 19
dr-xr-xr-x 4 root root 0 02-01 18:58 acpi
dr-xr-xr-x 6 root root 0 02-01 18:58 asound
-r--r--r-- 1 root root 0 02-01 18:58 buddyinfo
dr-xr-xr-x 4 root root 0 02-01 18:58 bus
-r--r--r-- 1 root root 0 02-01 18:58 cgroups
-r--r--r-- 1 root root 0 02-01 18:58 cmdline
[root@t400 ~]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 133740 2636 pts/7 S 18:58 0:00 bash
root 20 0.0 0.0 125972 1200 pts/7 R+ 18:58 0:00 ps aux

-- 
Arkadiusz Miśkiewicz, arekm / maven.pl
Received on Sat Feb 1 18:00:23 2014
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 01 Feb 2014 - 18:00:23 GMT by hypermail 2.1.8