r54108 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54107‎ | r54108 | r54109 >
Date:16:49, 31 July 2009
Author:root
Status:deferred
Tags:
Comment:
Added acct and enabled sar/systat by default.
Modified paths:
  • /trunk/debs/wikimedia-base/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-base/debian/control (modified) (history)
  • /trunk/debs/wikimedia-base/debian/postinst (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-base/debian/control
@@ -9,7 +9,7 @@
1010 Architecture: all
1111 Origin: Wikimedia
1212 Pre-Depends: ntp-server, smartmontools
13 -Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, zsh, vim, joe, traceroute, screen, gdb, ntp-simple, ssmtp | mail-transport-agent
 13+Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, zsh, vim, joe, traceroute, screen, gdb, ntp-simple, ssmtp | mail-transport-agent, acct
1414 Description: Base requirements for any Wikimedia server
1515 wikimedia-base provides the Wikimedia specific base requirements
1616 for any Wikimedia server. Currently that involves:
@@ -19,3 +19,4 @@
2020 * Sets APT package pinning for Wikimedia packages
2121 * Sets up NTP
2222 * Set up SMART disk monitoring
 23+ * Set up process accounting
Index: trunk/debs/wikimedia-base/debian/postinst
@@ -104,6 +104,10 @@
105105 /^#alias ll=/ s/^#//
106106 /^#alias la=/ s/^#//
107107 ' /root/.bashrc
 108+
 109+ # Enable system accounting
 110+ sed -i 's/^ENABLED="false"/ENABLED="true"/g' /etc/default/sysstat
 111+ invoke-rc.d sysstat start || true
108112
109113 ;;
110114
Index: trunk/debs/wikimedia-base/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-base (0.19) feisty; urgency=low
 3+
 4+ * Depends on acct
 5+
 6+ -- Fred Vassard <fred@wikimedia.org> Fri, 31 Jul 2009 16:12:00 +0000
 7+
28 wikimedia-base (0.18) feisty; urgency=low
39
410 * Decrease default TCP keepalive parameters in sysctl.conf

Status & tagging log