[Piuparts-devel] Bug#440183: Bug#440183: Bug#440183: Bug#440183: piuparts: wrongly complains if processes are running inside chroot

Lars Wirzenius liw at iki.fi
Thu Aug 30 18:58:10 UTC 2007


to, 2007-08-30 kello 20:04 +0200, Lucas Nussbaum kirjoitti:
> Also, I'm not sure that it's a good idea to not start daemons: how are
> you going to check that they are properly stopped when the package is
> removed?

I don't think it's the job of piuparts to make sure daemons are properly
stopped, especially since it cannot reliably start them in the first
place. For example, if the host system already runs a web server,
testing apache in a chroot means it can't bind to port 80, and then
installation fails.

Some services will do worse things than fail: you don't want your system
clock to jump just because you're testing NTP software with piuparts.

To fix these things, piuparts would have to learn to use Xen or Qemu
instead of a chroot. Possibly vlosuts would be a better tool for that.

-- 
Programming should be fun, otherwise you're doing something wrong.





More information about the Piuparts-devel mailing list