[Piuparts-devel] Bug#662633: add --allow-database option and start mysql/postgres if needed

Andreas Beckmann debian at abeckmann.de
Mon Mar 5 12:58:16 UTC 2012


Package: piuparts
Severity: wishlist

-------- Original Message --------
Subject: Re: [Piuparts-devel] testing packages that need a database
Date: Mon, 5 Mar 2012 12:47:48 +0100
From: Holger Levsen <holger at layer-acht.org>
To: piuparts-devel at lists.alioth.debian.org

Hi Andreas,

On Donnerstag, 1. März 2012, Andreas Beckmann wrote:
> I think we should add an option --allow-database that modifies
> policy-rc.d so that it allows mysql and postgresql demons to be started.
> It's probably more helpful to test packages needing a database with a db
> available than to check their behavior in a chroot w/o db.
> And we may find more things a package needs to cleanup afterwards.

right.
 
(sounds like a very sensible approach to me.)

> --allow-database should not be enabled by default (as it may conflict
> with demons already running on the host (is there anything like this on
> piatti?)

no. currently piuparts is the only thing run on piatti. (this used to be 
different in the past. I dont think it will change in future though. but 
still, there might be slaves where this will be the case..)

> There may be conflicts with the checks for running processes ...

not if the database is removed before :)


cheers,
	Holger





More information about the Piuparts-devel mailing list