r25240 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25239‎ | r25240 | r25241 >
Date:15:59, 28 August 2007
Author:mark
Status:old
Tags:
Comment:
wikimedia-base (0.16) dapper; urgency=low

* Automatically configure remote syslogging to syslog.pmtpa.wmnet on pmtpa
servers
* Depend on gdb
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, 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
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:
Index: trunk/debs/wikimedia-base/debian/postinst
@@ -73,6 +73,13 @@
7474 invoke-rc.d ntp-server restart || invoke-rc.d ntp restart
7575 fi
7676
 77+ # Remote syslogging
 78+ if [ $CLUSTERNAME = "pmtpa" ] && ! grep -q "@syslog\.pmtpa\.wmnet" /etc/syslog.conf
 79+ then
 80+ echo "*.info;mail.none;authpriv.none;cron.none @syslog.pmtpa.wmnet" >> /etc/syslog.conf
 81+ invoke-rc.d sysklogd restart
 82+ fi
 83+
7784 # Optimize TCP
7885 if ! grep -q "^### START: Added by wikimedia-base" /etc/sysctl.conf
7986 then
Index: trunk/debs/wikimedia-base/debian/changelog
@@ -1,3 +1,11 @@
 2+wikimedia-base (0.16) dapper; urgency=low
 3+
 4+ * Automatically configure remote syslogging to syslog.pmtpa.wmnet on pmtpa
 5+ servers
 6+ * Depend on gdb
 7+
 8+ -- Mark Bergsma <mark@wikimedia.org> Tue, 28 Aug 2007 15:16:18 +0000
 9+
210 wikimedia-base (0.15) dapper; urgency=low
311
412 * ntp-server renamed to ntp in Ubuntu Feisty, support both.

Status & tagging log