[vserver] test on 4.9.133

From: Ghislain Adnet <gadnet_at_aqueos.com>
Date: Mon 15 Oct 2018 - 16:50:58 BST
Message-ID: <d933ceef-ae83-b030-c245-1167659b6d78@aqueos.com>

hi there,

   so after talking with alex in IRC i tested:

4.9.133
+ /vservers/kernel/linux-4.9.133/net/netlink/af_netlink.c.rej corrected
+ http://vserver.13thfloor.at/Experimental/delta-netlink-feat02.diff
(this was a previous fix that do not seems to be in the actual patch i think you had a reason for this)
+ https://pastebin.com/raw/jHqecnBA

it compile, boot, testme testfs on ext4 ok
memory limits are ok
udp do not leak anymore from ss -lnu
127.X.Y.Z do not leak anymore from ss -lun

now i am just one man and knowed to screw stuff up so....

Ghislain.

Linux-VServer FS Test [V0.23] Copyright (C) 2005-2009 H.Poetzl
Linux 4.9.133-vs2.3.9.7aaq x86_64/0.30.216
VCI: 0002:0308 236 13113f11 (ID24)

---
testing ext4 filesystem ...
mke2fs 1.42.12 (29-Aug-2014)
[000]# succeeded.
[001]# succeeded.
mount: /mnt not mounted or bad option
        In some cases useful info is found in syslog - try
        dmesg | tail or so.
[002]# succeeded.
tag related tests ...
[011]# succeeded.
[012]# succeeded.
[014]# succeeded.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[015]# succeeded.
[019]# succeeded.
[020]# succeeded.
[021]# succeeded.
[022]# succeeded.
[023]# succeeded.
[024]# succeeded.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[025]# succeeded.
[026]# succeeded.
tee: /mnt/file_2: Permission denied
tee: /mnt/file_3: Permission denied
[027]# succeeded.
[028]# succeeded.
[033]# succeeded.
[034]# succeeded.
cat: /mnt/file_1: Permission denied
[035]# succeeded.
tee: /mnt/file_1: Permission denied
tee: /mnt/file_2: Permission denied
[037]# succeeded.
[045]# succeeded.
[047]# succeeded.
xattr related tests ...
[101]# succeeded.
[103]# succeeded.
[104]# succeeded.
[106]# succeeded.
[107]# succeeded.
[109]# succeeded.
[112]# succeeded.
[113]# succeeded.
[114]# succeeded.
chattr: Permission denied while reading flags on /mnt/dir_7504
[115]# succeeded.
chmod: changing permissions of ‘/mnt/dir_7504’: Permission denied
[116]# succeeded.
[118]# succeeded.
[119]# succeeded.
[122]# succeeded.
[123]# succeeded.
[124]# succeeded.
[125]# succeeded.
[127]# succeeded.
[128]# succeeded.
[129]# succeeded.
[131]# succeeded.
[132]# succeeded.
[133]# succeeded.
[134]# succeeded.
[135]# succeeded.
[138]# succeeded.
[139]# succeeded.
[148]# succeeded.
[149]# succeeded.
disk limit related tests ...
[201]# succeeded.
16+0 records in
16+0 records out
16384 bytes (16 kB) copied, 0.000114035 s, 144 MB/s
[202]# succeeded.
[203]# succeeded.
[204]# succeeded.
[205]# succeeded.
dd: error writing ‘/mnt/space-300’: No space left on device
33+0 records in
32+0 records out
32768 bytes (33 kB) copied, 0.000183248 s, 179 MB/s
[206]# succeeded.
touch: cannot touch ‘/mnt/inodes-300-5’: No space left on device
[207]# succeeded.
[208]# succeeded.
[211]# succeeded.
5+0 records in
5+0 records out
5120 bytes (5.1 kB) copied, 9.0468e-05 s, 56.6 MB/s
[212]# succeeded.
[213]# succeeded.
43+0 records in
43+0 records out
44032 bytes (44 kB) copied, 0.000152751 s, 288 MB/s
touch: cannot touch ‘/mnt/cow-300-1’: No space left on device
[222]# succeeded.
[223]# succeeded.
[231]# succeeded.
3+0 records in
3+0 records out
3072 bytes (3.1 kB) copied, 9.7436e-05 s, 31.5 MB/s
touch: cannot touch ‘/mnt/cow-300-9’: No space left on device
[232]# succeeded.
[233]# succeeded.
[239]# succeeded.
[999]# succeeded.
Linux-VServer Test [V0.17] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
VxID: 1
chbind is working.
New network context is 49151 Adding 127.0.0.1 V4Root[0]: [127.0.0.1-0.0.0.0/0.0.0.0:0010]
New network context is 49151 Adding 127.0.0.1 V4Root[0]: [127.0.0.1-0.0.0.0/0.0.0.0:0010]
chcontext 0.30.216-pre3131 -- allocates/enters a security context
This program is part of util-vserver 0.30.216-pre3131
Copyright (C) 2004 Enrico Scholz
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
Linux 4.9.133-vs2.3.9.7aaq #1 SMP Mon Oct 15 11:35:29 CEST 2018 x86_64
Ea 0.30.216 236/glibc (DSa) <compat,v11,fscompat,v13,net,v21,v22,v23,netv2>
VCI: 0002:0308 236 13113f11 (TbsPWD)
(root@buildbuster64.aqueos.net)
(gcc version 8.2.0 (Debian 8.2.0-7)
)
#1 SMP Mon Oct 15 11:35:29 CEST 2018
---
[000]# chcontext --xid 49151 true && chcontext --xid 45678 true
New security context is 49151
New security context is 45678
[000]# succeeded.
[001]# chcontext --xid 45678 egrep 'context|VxID' /proc/self/status
New security context is 45678
VxID:   45678
[001]# succeeded.
[011]# chcontext --secure --xid 45678 mknod /tmp/testme.sh.lX5HCs/node c 0 0
New security context is 45678
mknod: ‘/tmp/testme.sh.lX5HCs/node’: Operation not permitted
[011]# succeeded.
[031]# chcontext --xid 49151 --hostname zaphod.8187 uname -a | grep -q zaphod.8187
[031]# succeeded.
[101]# chbind --nid 49151 --ip 192.168.0.42 true
New network context is 49151
Adding 192.168.0.42
[101]# succeeded.
[102]# chbind --nid 49151 --ip 192.168.0.1/255.255.255.0 --ip 10.0.0.1/24 true
New network context is 49151
Adding 192.168.0.1 10.0.0.1
[102]# succeeded.
[201]# chcontext --xid 45678 --flag fakeinit bash -c 'test $$ -eq 1'
New security context is 45678
[201]# succeeded.
[202]# chcontext --xid 49151 --flag fakeinit bash -c 'test $$ -eq 1'
New security context is 49151
[202]# succeeded.
---
[L01]# chcontext --xid 45601 bash -c 'true &'
New security context is 45601
[L01]# succeeded.
[L02]# chcontext --xid 45602 bash -c 'true | true'
New security context is 45602
[L02]# succeeded.
[L03]# chcontext --xid 45603 bash -c 'true & true'
New security context is 45603
[L03]# succeeded.
[L11]# chcontext --xid 45611 bash -c 'true >/dev/null' </dev/zero
New security context is 45611
[L11]# succeeded.
[L12]# chcontext --xid 45612 bash -c 'true </dev/zero' >/dev/null
[L12]# succeeded.
[L21]# chcontext --xid 45621 bash -c 'bash -c "true &"&'
New security context is 45621
[L21]# succeeded.
[L22]# chcontext --xid 45622 bash -c 'bash -c "false | true &"&'
New security context is 45622
[L22]# succeeded.
[L31]# chcontext --xid 45631 bash -c 'echo `ls`'
New security context is 45631
alltest.sh bootme.sh erase-stretch01 linux-image-vserver-4.9-beng_4.9.96-2.3.9.7+stretch1_amd64.deb perf.data 
perf.data.old test testfs.sh testfs.sh.1 testfs.sh.ok testme.sh tmp
[L31]# succeeded.
Received on Mon Oct 15 16:41:48 2018
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 15 Oct 2018 - 16:41:48 BST by hypermail 2.1.8