Package: vserver-debiantools
Version: 0.3.4

The --pkgcache option (and PKGCACHE=1) cause newvserver to fail. As
near as I can tell it is because the vserver directory is created and
the cached debs are copied over before vserver-build is called. The
tool vserver-build checks for the existance of the new vserver root
and fails if the directory already exists.



# newvserver  --hostname foo --domain example.com --ip 10.1.2.3/24  \
              --context 42 --vsroot /vserver/2/ --pkgcache
s_context: 0
Clean package cache.
Reading package lists... Done
Building dependency tree... Done
find: warning: you have specified the -mindepth option after a
non-option argument -name, but options are not positional (-mindepth
affects tests specified before it as well as those specified after
it).  Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a
non-option argument -name, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after
it).  Please specify options before other arguments.

/vserver/2/foo/var
vserver-topdirectory '/vserver/2/foo/etc' and/or configuration at 
'/etc/vservers/foo'
exist already; please try to use '--force', or remove them manually.
newvserver: error: vserver-build failure. Cannot continue.


$ ls /etc/vservers/foo
ls: /etc/vservers/foo: No such file or directory

$ ls /vserver/2/foo
var


-- 
sg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to