Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-07-27 14:15:35 (GMT)
committer Daniel Drake <dsd@laptop.org>2010-07-27 14:28:05 (GMT)
commit968015d6de1566bfdc8a073a9f76349ef55adc48 (patch)
tree16943337fd0f77d5dcb1ad199470dc90ea35f0c7 /modules
parentfe141008f35a27be7196a54b4e4a1f5a7821320d (diff)
base: kill pointless anacron tasks (#10247)
In the field I saw the 'rpm' task bringing an XO-1 to its knees during startup. Disable this and the other tasks, which aren't interesting for us.
Diffstat (limited to 'modules')
-rw-r--r--modules/base/kspost.10.core.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc
index 090de66..4daa967 100644
--- a/modules/base/kspost.10.core.inc
+++ b/modules/base/kspost.10.core.inc
@@ -157,6 +157,12 @@ rm -f /etc/avahi/etc/localtime
/usr/sbin/prelink --all --conserve-memory --random
chmod -x /etc/cron.daily/prelink
+# kill a load of non-interesting anacron tasks (#10247)
+chmod -x /etc/cron.daily/{logrotate,rpm,tmpwatch}
+chmod -x /etc/cron.daily/{makewhatis,mlocate,readahead}.cron
+chmod -x /etc/cron.weekly/99-raid-check
+chmod -x /etc/cron.monthly/readahead-monthly.cron
+
# suppress generation of certain SSH host keys in the same way we did
# it on XO-1 builds, so as to reduce first boot time by several
# seconds (#9964)