Package: util-vserver Version: 0.30.209-1 Severity: normal The documentation at:
http://www.nongnu.org/util-vserver/doc/conf/configuration.html says that: "# /etc/vservers/.distributions/dist/apt Default content of the /etc/apt/ directory." In other words, I would expect that doing this: cp /etc/apt/sources.list /etc/vservers/.distributions/sarge/apt/ would copy by default my sources.list in all new vservers. Unfortunatly, that doesn't work. Why? Because that directory only applies to apt-rpm and other methods, not debootstrap. That's a bit weird to me. I've tried to implement the "populating" that is done in other methods in debootstrap, without any luck. I got that far: --- vserver-build.debootstrap.orig 2005-12-13 23:04:17.460313040 -0500 +++ vserver-build.debootstrap 2005-12-14 00:03:26.044870608 -0500 @@ -122,6 +122,10 @@ tmp=$(getopt -o '+d:m:s:' --long debug -n "$0" -- "$@") || exit 1 eval set -- "$tmp" +. "$_LIB_VSERVER_BUILD_FUNCTIONS_APT" +. "$_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT" + +base.init init while true; do @@ -155,4 +159,9 @@ fixupDebian "$VDIR" test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS" +pkgmgmt.initVariables + +apt.initVariables +apt.initFilesystem + base.setSuccess But that really does populate only a .pkg directory in some obscure place. I therefore suspect that this thing doesn't even works on other methods, but I disgress. What I would like to see would be a way to simply have a sources.list available in new vserver when I create them, apart from manually copying it over or cloning vservers. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-k7 Locale: LANG=fr_CA, LC_CTYPE=fr_CA (charmap=ISO-8859-1) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]