From: Brian Ipsen (bipsen-dated-1123189280.620c33_at_andebakken.dk)
Date: Thu 28 Jul 2005 - 22:01:18 BST
Hi,
I've run into a wierd issue with WhiteBox Enterprise Linux 4.0 ...
Trying to build a new vserver using:
# ./vserver-build -m yum -n test2 --hostname test2.domain.dk --interface
test2=eth0:192.168.3.37/24 --context 10037 -- -d wbel4
Due to the fact, that after RPM installation, I get a whole bunch of errors:
vcontext: vc_create_context(): File exists
vcontext: vc_create_context(): File exists
vcontext: vc_create_context(): File exists
I started investigating what was going on....
What I discovered, was the the specified context in fact existed.. This is
what happens:
Yum installs all the rpms.. Before it reports which RPM's that have been
installed, I grabbed this in another shell:
# vps aux | grep minilog
root 6564 10037 0.0 0.0 1520 376 ? Ss 21:02
0:00 minilogd
root 6597 0 MAIN 0.0 0.0 3904 568 pts/3 S+ 21:02
0:00 grep minilog
Okay, something was running in context 10037 .. Also, I checked:
# vserver-stat
CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
0 65 197.7M 83.2M 9m44s32 2m23s45 7h28m54 root server
10037 1 1.4M 392K 0m00s00 0m00s00 2m07s54
>From this, I could see, that the minilogd was started before the
vserver-build reported the complete list of installed RPM's...
So after the installation of the RPM's I get this output:
Installed: MAKEDEV.i386 0:3.15-2 NetworkManager.i386 0:0.3.1-3.WB1
SysVinit.i386 0:2.85-34 acl.i386 0:2.2.23-5 acpid.i386 0:1.0.3-2
anacron.i386 0:2.3-32 apmd.i386 1:3.0.2-24 ash.i386 0:0.3.8-20 aspell.i386
12:0.50.5-3.fc3 aspell-en.i386 50:0.51-11 at.i386 0:3.1.8-60 attr.i386
0:2.4.16-3 audit.i386 0:0.5-1 authconfig.i386 0:4.6.5-3.1 autofs.i386
1:4.1.3-67 bash.i386 0:3.0-19.2 bc.i386 0:1.06-17.1 beecrypt.i386 0:3.1.0-6
bind-libs.i386 20:9.2.4-2 bind-utils.i386 20:9.2.4-2 binutils.i386
0:2.15.92.0.2-10.EL4 (and a whole bunch more)
vcontext: vc_create_context(): File exists
vcontext: vc_create_context(): File exists
vcontext: vc_create_context(): File exists
vcontext: vc_create_context(): File exists
(about 40-50 lines with this error)
So I wonder what causes the minilogd to be started .... Any ideas, hints or
??
Regards,
/Brian
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver