[Piuparts-devel] testing packages that need a database

Holger Levsen holger at layer-acht.org
Mon Mar 5 11:47:48 UTC 2012


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