Skip to contentSkip to conversation

installs: Disable cron

PATCH New Ian Jackson 1 participant 1 message May 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 installs: Disable cron

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.

---
 Osstest/TestSupport.pm | 2 ++
 1 file changed, 2 insertions(+)
Osstest/TestSupport.pm +2 -0
index d87b6c89..e554af38 100644
@@ -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);
 }
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel