r59590 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59589‎ | r59590 | r59591 >
Date:18:17, 30 November 2009
Author:mark
Status:resolved
Tags:
Comment:
wikimedia-base (0.24) hardy; urgency=low

* Disable "quiet splash" default kernel boot options in grub2

-- Mark Bergsma <mark@wikimedia.org> Mon, 30 Nov 2009 18:16:33 +0000

wikimedia-base (0.23) hardy; urgency=low

* Remove remote syslog setup
* Remove smartmontools

-- Mark Bergsma <mark@wikimedia.org> Mon, 30 Nov 2009 14:54:29 +0000

wikimedia-base (0.22) hardy; urgency=low

* Remove outdated dependency on ntp-server; no longer available in karmic

-- root <root@wikimedia.org> Thu, 05 Nov 2009 17:38:23 +0000
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
@@ -8,7 +8,7 @@
99 Package: wikimedia-base
1010 Architecture: all
1111 Origin: Wikimedia
12 -Pre-Depends: ntp-server, smartmontools
 12+Pre-Depends: ntp
1313 Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, zsh, vim, joe, traceroute, screen, gdb, ntp, ssmtp | mail-transport-agent, acct
1414 Description: Base requirements for any Wikimedia server
1515 wikimedia-base provides the Wikimedia specific base requirements
@@ -18,5 +18,4 @@
1919 * Finds out which Wikimedia cluster the host belongs to
2020 * Sets APT package pinning for Wikimedia packages
2121 * Sets up NTP
22 - * Set up SMART disk monitoring
2322 * Set up process accounting
Index: trunk/debs/wikimedia-base/debian/postinst
@@ -48,17 +48,14 @@
4949
5050 # Disable the 'quiet' kernel command line option so console messages
5151 # will be printed.
52 - if grep -q "^# defoptions.*[= ]quiet " /boot/grub/menu.lst
 52+ if [ -f /boot/grub/menu.lst ] && grep -q "^# defoptions.*[= ]quiet " /boot/grub/menu.lst
5353 then
5454 sed -i '/^# defoptions.*[= ]quiet /s/quiet //' /boot/grub/menu.lst
5555 update-grub
56 - fi
57 -
58 - # Remote syslogging
59 - if [ $CLUSTERNAME = "pmtpa" ] && ! grep -q "@syslog\.pmtpa\.wmnet" /etc/syslog.conf
 56+ elif [ -f /etc/default/grub ] && grep -q '^GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"' /etc/default/grub
6057 then
61 - echo "*.info;mail.none;authpriv.none;cron.none @syslog.pmtpa.wmnet" >> /etc/syslog.conf
62 - invoke-rc.d sysklogd restart
 58+ sed -i '/^GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/s/quiet splash//' /etc/default/grub
 59+ update-grub
6360 fi
6461
6562 # Optimize TCP
@@ -73,13 +70,6 @@
7471 --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
7572 /usr/share/man/man1/vim.1.gz
7673
77 - # Enable smartd
78 - if ! [ -f /var/run/smartd.pid ] || ! kill -0 $(cat /var/run/smartd.pid)
79 - then
80 - sed -i -e '/^#start_smartd=yes/s/^#//' /etc/default/smartmontools
81 - invoke-rc.d smartmontools start || true
82 - fi
83 -
8474 # Enable some aliases in /root/.bashrc
8575 sed -i '
8676 /^#alias ll=/ s/^#//
Index: trunk/debs/wikimedia-base/debian/changelog
@@ -1,3 +1,22 @@
 2+wikimedia-base (0.24) hardy; urgency=low
 3+
 4+ * Disable "quiet splash" default kernel boot options in grub2
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Mon, 30 Nov 2009 18:16:33 +0000
 7+
 8+wikimedia-base (0.23) hardy; urgency=low
 9+
 10+ * Remove remote syslog setup
 11+ * Remove smartmontools
 12+
 13+ -- Mark Bergsma <mark@wikimedia.org> Mon, 30 Nov 2009 14:54:29 +0000
 14+
 15+wikimedia-base (0.22) hardy; urgency=low
 16+
 17+ * Remove outdated dependency on ntp-server; no longer available in karmic
 18+
 19+ -- root <root@wikimedia.org> Thu, 05 Nov 2009 17:38:23 +0000
 20+
221 wikimedia-base (0.21) hardy; urgency=low
322
423 * Remove NTP configuration; this is now done by puppet (pmtpa) or not at all

Follow-up revisions

RevisionCommit summaryAuthorDate
r59653Fixed changelog entry broken in r59590.tstarling04:58, 2 December 2009

Status & tagging log