vserver 0.1 changes log

vserver 0.1 changes log

previous versions: 0.0
Change log index


New v_xxx sysv init scripts to help the main server

If you are running the same network services both in the main server and virtual servers, you may end up with a little problem: The service in the virtual server can't start because the TCP port is already used by the main server. The solution is to restrict the main server service (HTTP for example) to use a single IP instead of all ( While most service may be configured to achieve that this is annoying. Using the chbind utility, part of this package (vserver) one can start any service, bound to a single IP. For example, you can do:

	/etc/rc.d/init.d/httpd stop
	/usr/sbin/chbind --ip eth0 /etc/rc.d/init.d/httpd start

This is annoying, especially because we want to automate the boot process. To solve this, the vserver package supplies 3 new services in the main server. They are off by default. There is v_sshd, v_xinetd and v_httpd. Those services are simple wrapper to start the original service using the chbind command above. So if you need to run the same network service in the main server and some virtual server, turn off the service (linuxconf/control/control service activity) and enable the corresponding v_ service.

Bug fixes

vserver build command

The build command populates a vserver and creates dummy /etc/fstab and /etc/mtab. This way, the df command is happy as well as other admin tools (Linuxconf for one). Previous versions of the vserver packages were copying the fstab and mtab of the main server and this was producing confusing output.