[Piuparts-devel] Bug#440183: Bug#440183: Bug#440183: Bug#440183: piuparts: wrongly complains if processes are running inside chroot
lucas at lucas-nussbaum.net
Mon Sep 3 08:06:05 UTC 2007
On 30/08/07 at 21:58 +0300, Lars Wirzenius wrote:
> 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.
So it's wrong to start daemons, but it's OK to run preinsts and
postinsts, and /etc/cron.*/* ? Some packages do dangerous things for the
host system in those scripts as well.
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Piuparts-devel