Hello,I have trouble when unifying vservers and then trying to personalize unified filesExample:Unification of vservers vtest6 and vtest5 (vtest5 as the reference server for vtest6)I did:
Copy from vtest5 to vtest6:# vserver vtest6 build -m skeleton --hostname vtest6 --interface eth0:127.0.0.1 --interface t1=eth0:10.200.0.6 --context 6
# cp -pr vtest5/* vtest6/ Reference server declaration as described in http://linux-vserver.org/alpha+util-vserver :# mkdir -p /etc/vservers/vtest5/apps/vunify
# mkdir -p /etc/vservers/vtest6/apps/vunify # ln -s /etc/vservers/vtest6 /etc/vservers/vtest5/apps/vunify/refserver.00Unification:# /usr/lib/util-vserver/vunify vtest6It seems to work fine as files in both directories have same inode
But trying to modify unified files is not transparent and I have to manually copy, delete and rename the copy:vserver:/# vserver vtest5 entermesg: /dev/pts/1: Operation not permittedvtest5:/# ls -i /tests
508984 testfile 508985 testfile2vtest5:/# exitlogoutvserver:/# vserver vtest6 entermesg: /dev/pts/1: Operation not permittedvtest6:/# ls -i /tests508984 testfile 508985 testfile2vtest6:/# cat > /tests/testfile
bash: /tests/testfile: Permission deniedvtest6:/#Is there a way to make it automatic?And would you have any info about that mesg: /dev/pts/1: Operation not permitted occuring each time I enter a vserver?
Thanks a lotMehdi Bennani=System info:Debian 3.1 with precompiled 2.6.12lvs kernel and apt-get'ed 0.30.204 util-vserver (no vserver-debiantools because it seems not to respect new config of vserver).
vserver:/# vserver-infoVersions: Kernel: 2.6.12lvs VS-API: 0x00020001 util-vserver: 0.30.204; Dec 20 2005, 16:58:50Features: CC: gcc, gcc (GCC)
3.3.5 (Debian 1:3.3.5-13) CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13) CPPFLAGS: '' CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W' CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0'
build/host: i386-pc-linux-gnu/i386-pc-linux-gnu Use dietlibc: yes Build C++ programs: yes Build C99 programs: yes Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
ext2fs Source: e2fsprogs syscall(2) invocation: fast vserver(2) syscall#: 273/glibcPaths: prefix: /usr sysconf-Directory: /etc cfg-Directory: /etc/vservers
initrd-Directory: $(sysconfdir)/init.d pkgstate-Directory: /var/run/vservers Kernelheaders: /usr/include vserver-Rootdir: /var/lib/vservers
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver