[vserver] 4.9.118

From: Ghislain Adnet <gadnet_at_aqueos.com>
Date: Tue 07 Aug 2018 - 14:44:11 BST
Message-ID: <fa9a2ae6-b3ea-5e95-27e2-a25663019904@aqueos.com>

hi,

  after trying to patch manualy the reject i got it to compile and boot and

Linux-VServer FS Test [V0.23] Copyright (C) 2005-2009 H.Poetzl
Linux 4.9.118-vs2.3.9.7aq 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_3304
[115]# succeeded.
chmod: changing permissions of ‘/mnt/dir_3304’: 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.000110948 s, 148 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.000174651 s, 188 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, 8.2356e-05 s, 62.2 MB/s
[212]# succeeded.
[213]# succeeded.
43+0 records in
43+0 records out
44032 bytes (44 kB) copied, 0.000142184 s, 310 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, 7.8426e-05 s, 39.2 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.118-vs2.3.9.7aq #1 SMP Tue Aug 7 12:44:18 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-3)
)
#1 SMP Tue Aug 7 12:44:18 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.4bToXQ/node c 0 0
New security context is 45678
mknod: ‘/tmp/testme.sh.4bToXQ/node’: Operation not permitted
[011]# succeeded.
[031]# chcontext --xid 49151 --hostname zaphod.3983 uname -a | grep -q zaphod.3983
[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 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.
ss -l still shows
udp    UNCONN     0      0      127.159.46.1:53                    *:*
tcp    LISTEN     0      128    127.156.254.1:10023                 *:*
tcp    LISTEN     0      112    127.156.254.1:3306                  *:*
tcp    LISTEN     0      128    127.156.254.1:783                   *:*
tcp    LISTEN     0      511    127.156.254.1:8080                  *:*
tcp    LISTEN     0      128    127.156.254.1:11000                 *:*
tcp    LISTEN     0      511    127.156.254.1:8443                  *:*
regards,
Ghislain.
Received on Tue Aug 7 14:36:45 2018
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 07 Aug 2018 - 14:36:45 BST by hypermail 2.1.8