Witam,

OK - fajnie się instaluje i używa PLD pod PLD :)
Fajnie się tworzy vserver na podstawie template'a tar.gz
Ale... jak się tworzy od zera na PLDowym hoście jakiegoś np. debiana?

Próbowałem tak:

vserver intranet-www-lenny build -m debootstrap --context 13 -- -d lenny \
-m http://ftp.pl.debian.org/debian

Na początku rzucało się, że próbuje pobrać nieistniejący plik debootstrap:
http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.10_all.deb

Ale zgodnie z sugestią dodałem odpowiedniego URLa do: /etc/vservers/.defaults/apps/debootstrap/uri

... i niestety, pomogło tylko trochę.
Teraz wygląda to tak:

Could not find local version of 'debootstrap'; downloading it from
http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.10lenny1_all.deb...
2010-11-25 15:31:11 URL:http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.10lenny1_all.deb [52122/52122] -> "/var/tmp/debootstrap.kdIYmb/debootstrap.deb" [1]
I: Retrieving Release
E: Invalid Release file, no entry for main/binary-/Packages
chroot-sh: open("/etc/apt/sources.list"): No such file or directory
secure-mount: chdir("/tmp"): No such file or directory
/etc/vservers/intranet-www-lenny/fstab:2:1: failed to mount fstab-entry
vcontext: execvp("bash"): No such file or directory
wait(): No child processes

An error occured while executing the vserver startup sequence; when
there are no other messages, it is very likely that the init-script
(bash -c
        exec  > /dev/null
        exec 2> /dev/null
        trap 'kill -s 9 -- -1; exit 0' INT
        sleep 30
        kill -s 15 -- -1
        sleep 1
        kill -s 9 -- -1) failed.

Common causes are:
* /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
  method knows how to deal with this, but on existing installations,
  appending 'true' to this file will help.


Failed to start vserver 'intranet-www-lenny'
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...
'vserver ... suexec' is supported for running vservers only; aborting...

Czy czegoś nie doinstalowałem albo robię nie tak jak powinienem?

Pozdrawiam,
--
Jacek Osiecki [email protected] GG:3828944
I don't want something I need. I want something I want.
_______________________________________________
pld-users-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-users-pl

Odpowiedź listem elektroniczym