Subject: Re: [vserver] Problem with 'clone' build method
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Wed, 10 Sep 2008 00:08:11 +0200 (CEST)

Cedric Veilleux wrote:
> Hi,
>
> I am trying out the 'clone' build method for the first time and I get:
>
> # vserver test4 build -m clone --hostname test4 --interface dummy0:10.0.0.5/32 --
--source
> /var/lib/vservers/test3/
> vclone: Unify_copy("/etc/vservers/.defaults/vdirbase/test4/dev/fd"): File exists
>
> This happens after a few seconds of waiting.
>
> Prior to running the command, "/var/lib/vservers/test4" and
> "/etc/vservers/test4" are non-existent.
>
>
> What's wrong? The only thing I can guess is the clone utility is trying
> to copy /dev/fd twice and fails the second time?

You're using an experimental release of the utils that had a bug where /dev/fd would
be
created as a dangling symbolic link, but vclone wouldn't detect it. Fixable by either
using a
recent snapshot where this is fixed, or removing the fd entry from
/usr/lib*/util-vserver/distributions/defaults/devs.

-- 
Daniel Hokka Zakrisson