Re: [Vserver] copy-on-write after unification?

2006-05-08 Thread Herbert Poetzl
On Wed, May 03, 2006 at 05:21:05PM +0200, joeytrviano wrote:
 2006/5/3, Herbert Poetzl [EMAIL PROTECTED]:
 
 
 and the hard-links have to have unification characteristics
 (i.e. the immutable but unlink flag set)
 
 best,
 Herbert
 
 Doesn't vunify set those *-*-iunlink file attributes on unification?

yes, you are right, I missed that part in the
early mail exchange ... 

best,
Herbert

PS: that would not had happened with a full
mail history intact, so do not zap relevant
informations from email threads :)

 Best regards,
 
 Mehdi Bennani

 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] copy-on-write after unification?

2006-05-03 Thread joeytrviano
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


Re: [Vserver] copy-on-write after unification?

2006-05-03 Thread Daniel Hokka Zakrisson

joeytrviano wrote:
And would you have any info about that mesg: /dev/pts/1: Operation not 
permitted occuring each time I enter a vserver?


Not really a problem, but recent distribution packages shouldn't have 
that, such as util-vserver from backports.org.



vserver:/# vserver-info
Versions:
   Kernel: 2.6.12lvs
   VS-API: 0x00020001


Copy-on-write is only supported by the development branch, i.e. 2.1.0 or 
2.1.1-rc18.


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] copy-on-write after unification?

2006-05-03 Thread Herbert Poetzl
On Wed, May 03, 2006 at 12:08:06PM +0200, Daniel Hokka Zakrisson wrote:
 joeytrviano wrote:
 And would you have any info about that mesg: /dev/pts/1: Operation not 
 permitted occuring each time I enter a vserver?
 
 Not really a problem, but recent distribution packages shouldn't have 
 that, such as util-vserver from backports.org.
 
 vserver:/# vserver-info
 Versions:
Kernel: 2.6.12lvs
VS-API: 0x00020001
 
 Copy-on-write is only supported by the development branch, i.e. 2.1.0 or 
 2.1.1-rc18.

and the hard-links have to have unification characteristics
(i.e. the immutable but unlink flag set)

best,
Herbert

 
 -- 
 Daniel Hokka Zakrisson
 GPG id: 06723412
 GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] copy-on-write after unification?

2006-05-03 Thread joeytrviano
2006/5/3, Herbert Poetzl [EMAIL PROTECTED]:
and the hard-links have to have unification characteristics(i.e. the immutable but unlink flag set)best,HerbertDoesn't vunify set those --iunlink file attributes  on unification?
Best regards,Mehdi Bennani
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver