Re: [Vserver] IPV6 and VSERVER ?

From: HongDan <hongdanstar_at_gmail.com>
Date: Wed 31 May 2006 - 12:38:57 BST
Message-ID: <000001c684a6$da465dc0$1418423b@deepinb6b12523>

OK, I'm working on a FC5 based system, and I've successfully built kernel-2.
6.16.18 with vs-2.1.1 and ipv6a patch. Then I installed
liblibvserver-2.0_pre.tar.tar to /usr/lib. But I met with errors while
compiling vserver-utils-1.0.4_pre.tar.tar. I passed ./configure, but failed
during make. The errors are like this:

printf.c:29:26: error: libowfat/fmt.h: No such file or directory
printf.c:30:26: error: libowfat/str.h: No such file or directory
printf.c: In function 'vu_vsnprintf':
printf.c:54: warning: value computed is not used
printf.c:60: warning: value computed is not used
printf.c:90: warning: value computed is not used
printf.c:95: warning: value computed is not used
printf.c:114: warning: value computed is not used
printf.c:120: warning: value computed is not used
printf.c:143: warning: value computed is not used
printf.c:152: warning: value computed is not used
printf.c:165: warning: value computed is not used
printf.c:192: warning: value computed is not used
printf.c:252: warning: implicit declaration of function 'fmt_str'
printf.c:254: warning: implicit declaration of function 'fmt_plusminus'
printf.c:256: warning: implicit declaration of function 'fmt_minus'
printf.c:259: warning: implicit declaration of function 'fmt_ulonglong'
printf.c:283: warning: implicit declaration of function 'fmt_ulong0'
printf.c:303: warning: implicit declaration of function 'fmt_double'
printf.c:303: error: 'FMT_LEN' undeclared (first use in this function)
printf.c:303: error: (Each undeclared identifier is reported only once
printf.c:303: error: for each function it appears in.)
printf.c:324: warning: implicit declaration of function 'fmt_8long'
printf.c:388: warning: implicit declaration of function 'fmt_xlonglong'
printf.c:405: warning: implicit declaration of function 'fmt_xlong'
printf.c:426: warning: implicit declaration of function 'str_len'
printf.c:456: warning: implicit declaration of function 'fmt_strn'
printf.c: In function 'vu_vasprintf':
printf.c:510: error: 'FMT_LEN' undeclared (first use in this function)
make[4]: *** [printf.o] Error 1
make[4]: Leaving directory
`/home/hd/src/vserver-utils-1.0.4_pre/src/libinternal'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hd/src/vserver-utils-1.0.4_pre/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/hd/src/vserver-utils-1.0.4_pre/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hd/src/vserver-utils-1.0.4_pre'
make: *** [all] Error 2

I guess the 'printf' error has something with dietlibc. It once complained
for missing dietlibc when I "./configure" at the first time, so I installed
dietlibc-0.29-6.fc5.i386.rpm and dietlibc-lib-0.29-6.fc5.i386.rpm, and
passed. The output of ./configure is

configure: vserver-utils 1.0.4_pre configured successfully:
             CC: diet -Os gcc (gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3))
             CPPFLAGS: ''
             CFLAGS: '-g -O2 -W -Wall -std=gnu99 -pedantic'
             prefix: /usr/local
             build/host: /
             sysconfdir: ${prefix}/etc
             vdirbase: /vservers
             vconfig backend: single

All above look all right. Then how to fix the 'make' error?

I also tried to install util-vserver-(core,lib,sysv,build).rpm and found my
guests built before still work on the newly built kernel, but can't get IPv6
address assigned yet, just as you mentioned in the mailing list that
util-vserver may not manipulate ipv6 address. My question is how to build a
new virtual server with IPv6 address? I used "
vserver gast build -m yum --context 42 --hostname=gast.example --interface
gast0=eth0:192.168.0.1/24 -- -d fc5" to build vserver before, then how to
set the ipv6 address in the command above? Are there any tutorials about it?

Thanks!

-------------------------------------------------------------------------

Message: 3
Date: Tue, 30 May 2006 18:27:54 +0200
From: Bruno <bonbons67@internet.lu>
Subject: Re: [Vserver] IPV6 and VSERVER ?
To: vserver@list.linux-vserver.org
Cc: HongDan <hongdanstar@gmail.com>
Message-ID: <200605301827.54945.bonbons67@internet.lu>
Content-Type: text/plain; charset="gb2312"

On Tuesday 30 May 2006 12:06, Georges Toth wrote:
> > I want to test Bruno's ipv6 patch, but where can I get the latest
> > vserver-2. 1.1 patch for kernel-2.6.16.18?
> >
> > I've get kernel-2.6.16.18 from www.kernel.org, and
> > patch-2.6.16.18-vs2.1.1rc21-ipv6a.diff from
> > http://homepage.internet.lu/brunop/vserver/. But I can't get vs2.1.1
> > patch for kernel-2.6.16.18. I searched in
> > http://vserver.13thfloor.at/Experimental/, but only get
> > patch-2.6.16.17-vs2. 1.1-rc21.diff.
>
> Just use patch-2.6.16.17-vs2. 1.1-rc21.diff....

Exactly, you will have to use the patch-2.6.16.17-vs2.1.1-rc21.diff vserver
patch, the only reject you will get is the version number in
$KERNEL_SRC_DIR/Makefile. 2.6.16.16 or 2.6.16.19 (if it exists) should work
fine as well!

Note that current version does not solve conflict for address binding.
Thus you cannot have e.g. sshd bind to :::22 in two guests until I implement

the conflict resolution. I hope doing that next day.

Regards,
Bruno

------------------------------

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

End of Vserver Digest, Vol 26, Issue 54
***************************************

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed May 31 12:40:43 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 31 May 2006 - 12:40:53 BST by hypermail 2.1.8