Package: vserver-debiantools
Version: 0.2.9
Severity: minor
Tags: patch

Hi,

the newvserver script generates another script called vserver-config.sh,
which is used in the guest to setup some basic things.

That script calls tzsetup to setup correct timezone. tzsetup was part
of base-config package, which is not available in etch anymore (it was
integrated to d-i).

I suggest to call tzconfig instead. As tzconfig is part of libc, it
should be available on much wider range of systems. Patch attached.

-- 
Miroslav Kure
--- newvserver.old      2006-08-20 18:21:53.000000000 +0200
+++ newvserver  2006-08-20 18:59:14.000000000 +0200
@@ -538,7 +538,13 @@
 
 dselect update
 
-tzsetup -y
+# tzsetup was part of base-config which is gone since etch
+# tzconfig is part of libc, so it should be ubiquitious
+if [ -x /usr/sbin/tzsetup ]; then
+    /usr/sbin/tzsetup -y
+elif [ -x /usr/sbin/tzconfig ]; then
+    /usr/sbin/tzconfig
+fi
 
 dpkg-reconfigure passwd
 

Reply via email to