rmJail fails
Joe Marcus Clarke
marcus at marcuscom.com
Sun Nov 27 13:16:46 EST 2005
On Sun, 2005-11-27 at 22:35 +1100, Edwin Groothuis wrote:
> After the upgrade to 6.0 (yes I'm brave on other peoples computers)
> I decided to throw away everything and rebuild it from scratch:
>
> [/space] root at tinderbox>tc rmJail -j 5.4
> Removing this jail will also remove the following builds:
>
> Really remove jail 5.4? yes
> [/space] root at tinderbox>tc rmJail -j 4.11
> Removing this jail will also remove the following builds:
>
> Really remove jail 4.11? yes
> ERROR: Failed to remove jail 4.11: ERROR: update or delete on "jails" violates foreign key constraint "builds_jail_id_fkey" on "builds"
> DETAIL: Key (jail_id)=(2) is still referenced from table "builds".
>
> [/space] root at tinderbox>tc rmBuild
> usage: /space/scripts/tc rmBuild -b <build name> [-f]
> [/space] root at tinderbox>tc rmBuild -b 4.11-FreeBSD
> Really remove build 4.11-FreeBSD? y
> [/space] root at tinderbox>tc rmJail -j 4.11
> Really remove jail 4.11? y
> [/space] root at tinderbox>
>
>
> So for one it works, and for one it didn't.
> This is with tinderbox 2.1.1
>
> Not that I worry about it, just wanted to share the info.
Nevermind. I just fixed this. I'm not sure how this bug survived so
long.
Joe
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20051127/edb3e42b/attachment.bin
More information about the tinderbox-list
mailing list