[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH] installs: Disable cron


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Fri, 17 May 2019 15:03:35 +0100
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxxxxx; spf=SoftFail smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxxxxxxxxxxxxx
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 17 May 2019 14:04:28 +0000
  • Ironport-sdr: pubOIUjvK86JhHjly+kE93m7i8CqjI6DQk4MkzrZkCbRs4CE1YQCVvCkMPHam4t/nQgvNRj371 N6g/cWP43nWGGB8YSP9y2I0ecIx8uKBlp9KrvJ4D1w4beszE+SEMULf2rbi/YSpIDzWiLrxamC 8RLu5N5jUX6rDQ7elHSM0EtzOxtrDg4F0QWTJvPGYNGKCzdiy+CDDeK4+yHU5nPvXH1Qbm2gcc z2qtiOHhxWXPXGg6OAborCkQW0RAXVMuociNQKnMfL+YmmWkI4Ab60RiC5Qo4etB7GmzpIlQcG 0g4=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The presence of cron causes leak check failures, since cron may run
processes that the leak checker detects.  Disable it, since none of
our installs live long enough for this to matter.

Do this in host_install_postboot_complete since it seems to me like we
don't want this in guests any more than we want it in hosts.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/TestSupport.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index d87b6c89..e554af38 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -3006,6 +3006,8 @@ sub guest_editconfig_nocd ($$) {
 sub host_install_postboot_complete ($) {
     my ($ho) = @_;
     target_core_dump_setup($ho);
+    target_cmd_root($ho, "update-rc.d cron disable");
+    target_cmd_root($ho, "service cron stop");
     target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 .");
     target_https_mitm_proxy_setup($ho);
 }
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.