From: Keir Fraser Subject: Re: Guidance needed Date: Mon, 10 Aug 2009 16:58:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Richard Bowser , "xen-devel@lists.xensource.com" Cc: Ian Jackson List-Id: xen-devel@lists.xenproject.org On 10/08/2009 16:48, "Richard Bowser" wrote: > An abnormal termination of ketchup displays these lines of text on std er= ror: > mv: cannot move `linux-2.6.18/..' to `../..': Device or resource busy > rmdir: failed to remove `linux-2.6.18': Directory not empty > ketchup: Unpacking failed: > 256 >=20 > The ketchup untar function holds this code: > =A0=A0=A0 err =3D os.system("mv linux*/* linux*/.[^.]* ..; rmdir linux*") > =A0=A0=A0 if err: > =A0=A0=A0=A0=A0=A0=A0 error("ketchup: Unpacking failed: ", err) > =A0=A0=A0=A0=A0=A0=A0 sys.exit(-1) >=20 > I believe the printed 256 above is the hex value passed as "err". Er, well it looks like its trying to copy the non-file '..'. That fails and so the 'mv' fails and so the following 'rmdir' fails too. I'm not sure why it would try to copy '..' as the shell regexp (.[^.]*) appears to explicitl= y exclude it. -- Keir