From: BrandonHoult (BrandonHoult_at_netscape.net)
Date: Mon 19 Aug 2002 - 20:53:34 BST
Wow, did not mean to cause so much trouble. I tried the change that
Paul Sladen suggested, but it did not seem to help. I also tried what
you (Jacques Gelinas?) suggested, but debian uses inetd instead of
xinetd. I installed the debian xinetd package, and it copied all the
inetd configuration over to xinetd and started using it. Then I stopped
ssh and rand v_sshd which tried to run sshd so I edited v_sshd and
changed it to execute ssh. Then tried it again and could not connect so
I stopped xinetd and started v_xinetd and it still could not connect. I
deleted my old virtual servers and rebuilt them, the messages changed
(attached to bottom). At this point I was not sure if xinetd was the
problem or not, and as it still wasn't working (would not connect now),
and debconf was warning me that the xinetd would not be updated
automatically by apt-get any more. I removed xinetd and tried Sladens
suggestion which of course still did not work.
Does anyone know if debian will soon be fully supported or would it
just be better to use redhat and run a debian virtual server under that.
I had been using mandrake for the past 3 years or so, and decided to
try debian and was very impressed by the package system (which has
always been my main gripe with linux). Is it practical to have a redhat
base install but use the debian virtual machine for all the actual work?
Are you at all limited by the virtual machine?
--------- vserver test build results-----------------------------
p300:/vservers# vserver test build
/usr/sbin/vserver: cd: etc/init.d/init.d: No such file or directory
update-rc.d: /etc/init.d/alsa exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/apache exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/atd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/aumix exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/bootmisc.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/checkfs.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/checkroot.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/console-screen.sh exists during rc.d purge
(continuing)
update-rc.d: /etc/init.d/cron exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/devpts.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/dns-clean exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/exim exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/gdm exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/hostname.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/hwclockfirst.sh exists during rc.d purge
(continuing) update-rc.d: /etc/init.d/hwclock.sh exists during rc.d
purge (continuing)
update-rc.d: /etc/init.d/ifupdown exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/inetd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/initrd-tools.sh exists during rc.d purge
(continuing) update-rc.d: /etc/init.d/iptables exists during rc.d purge
(continuing)
update-rc.d: /etc/init.d/kdm exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/keymap.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/klisa exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/klogd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/linuxconf exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/lpd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/makedev exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/modutils exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/mountall.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/mountnfs.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/networking exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/nfs-common exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/nfs-kernel-server exists during rc.d purge
(continuingupdate-rc.d: /etc/init.d/nviboot exists during rc.d purge
(continuing)
update-rc.d: /etc/init.d/portmap exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/postgresql exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/ppp exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/procps.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/rc exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/rc-installed exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/rc.old exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/rcS exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/rcS-installed exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/README exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/reboot exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/rebootmgr exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/rmnologin exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/samba exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/sendsigs exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/setserial exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/skeleton exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/ssh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/sudo exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/sysklogd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/umountfs exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/umountnfs.sh exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/urandom exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/v_httpd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/v_named exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/v_sendmail exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/vservers exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/v_smb exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/v_sshd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/v_xinetd exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/xdm exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/xfs exists during rc.d purge (continuing)
update-rc.d: /etc/init.d/xinetd exists during rc.d purge (continuing)
Directory /vservers/test has been populated
Jacques Gelinas wrote:
>On Mon, 19 Aug 2002 19:29:00 -0500, Paul Sladen wrote
>
>
>>On Mon, 19 Aug 2002, BrandonHoult wrote:
>>
>>
>>
>>>p300:~# vserver test2 build
>>>/usr/sbin/vserver: cd: etc/rc.d/init.d: No such file or directory
>>>
>>>
>>In debian `rc' is in the correct place:
>>
>> /etc/init.d/rc
>>
>>
>
>This error is unrelated to the rc script. The script tries both. It does
>
> cd etc/rc.d/init.d || cd etc/init.d
>
>I changed this to
>
> cd etc/init.d 2>/dev/null || cd etc/rc.d/init.d
>
>
>
>>unfortunately the scripts are designed for the b0rken Redhat design of:
>>
>> /etc/rc.d/init.d/rc
>>
>>
>
>Not really. The script (in 0.19) probes for the proper directory.
>
>Quite frankly, I am tired of those debian advocacies.
>
>
>
>>Jack latest set of utils understands about the proper place, but you'll need
>>to patch the `vserver' command (a plain script) in the current distribution:
>>
>>
>
>This patch is not related to 0.19.
>
>
>
>>------------------------------------------------------------->
>>--- /usr/sbin/vserver~ Fri May 10 16:37:51 2002
>>+++ /usr/sbin/vserver Mon May 13 16:08:34 2002
>>@@ -130,7 +130,7 @@
>> # rwalld rwhod sendmail smb snmpd v_httpd h_xinetd
>>v_sshd vservers \
>> # xfs ypbind xinetd
>> (
>>- cd etc/rc.d/init.d || cd etc/init.d
>>+ cd etc/init.d/init.d || cd etc/init.d
>>
>>
>
>???? etc/init.d/init.d
>
>What is this ?
>
>
>
>> for serv in *
>> do
>> case $serv in
>>@@ -337,7 +337,7 @@
>> cd /vservers/$1
>> mountproc /vservers/$1
>> # The fakeinit flag tell us how to turn off the server
>>- STOPCMD="/etc/rc.d/rc 6"
>>+ STOPCMD="/etc/init.d/rc 6"
>>
>>
>
>Seems like and older vserver script to me.
>
>
>
>
>> for f in $S_FLAGS dummy
>> do
>> case $f in
>><-------------------------------------------------------------
>>
>>to replace the correct paths. (Or put a symlink in /etc/ in the vservers.)
>>
>>
>
>
>---------------------------------------------------------
>Jacques Gelinas <jack_at_solucorp.qc.ca>
>vserver: run general purpose virtual servers on one box, full speed!
>http://www.solucorp.qc.ca/miscprj/s_context.hc
>
>