X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-squeeze.mdwn;h=7573b37862672fa055af3e64d2da9e0e06e71d73;hb=4748598a49ca95a8569fb7638db087e00821ddeb;hp=b80e66c59e8f9ba480d55b4e8774d83a26dfc76a;hpb=2c1783f2d282de3ea8b7970fdec6dad84465f702;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-squeeze.mdwn b/input/howto/upgrade-to-squeeze.mdwn index b80e66c..7573b37 100644 --- a/input/howto/upgrade-to-squeeze.mdwn +++ b/input/howto/upgrade-to-squeeze.mdwn @@ -1,6 +1,18 @@ # Upgrade from lenny to squeeze +Make sure to coordinate with whoever uses the host, be it the buildd +operator, the QA team, the ftp team or just announce it if it's a +general developer box. + +on buildds: + + cd ~buildd + sudo su - buildd + touch NO-DAEMON-PLEASE EXIT-DAEMON-PLEASE && exit + + now wait for the buildd to quit + turn off samhain /etc/init.d/samhain stop && @@ -21,11 +33,6 @@ install deborphan, clean up orphaner -a orphaner -a -n -unhold puppet - - echo puppet install | dpkg --set-selections && - echo puppet-common install | dpkg --set-selections - purge removed packages dpkg --get-selections | awk '$2=="deinstall" {print $1}' && @@ -64,13 +71,13 @@ reject changes to /etc/munin/plugin-conf.d/munin-node (puppet will install a new * /etc/apache2/apache2.conf * /etc/apache2/ports.conf -update nagios.git (add host to squeeze hostgroup) +update dsa-nagios.git (add host to squeeze hostgroup) update dsa-puppet.git (add to squeeze list in local.yaml) do a puppet run: - puppetd -t; puppetd -t; puppetd -t + puppetd -t; puppetd -t upgrade once more (security etc) @@ -128,7 +135,7 @@ purge removed packages purge cruft that upgrade doesn't remove - apt-get remove --purge emacs22-common libxmlrpc-ruby libcap1 emacs22-nox emacs22-bin-common libvolume-id0 gcc-4.2-base ifenslave libopenssl-ruby1.8 + apt-get remove --purge emacs22-common libxmlrpc-ruby libcap1 emacs22-nox emacs22-bin-common libvolume-id0 gcc-4.2-base ifenslave libopenssl-ruby1.8 mailx re-init samhain @@ -136,15 +143,16 @@ possibly reboot re-enable exim, samhain - mv /etc/rc2.d/K02exim4 /etc/rc2.d/S02exim4 - mv /etc/rc2.d/K02samhain /etc/rc2.d/S02samhain + mv /etc/rc2.d/K??exim4 /etc/rc2.d/S02exim4 + mv /etc/rc2.d/K??samhain /etc/rc2.d/S02samhain env -i /etc/init.d/exim4 start - env -i /etc/init.d/samhain + env -i /etc/init.d/samhain start insserv re-init samhain +### Troubleshooting ### Problems with CCISS @@ -152,3 +160,6 @@ On custom kernels in squeeze it seems that udev stopped to create cciss devices, cd /lib/udev/devices /dev/MAKEDEV cciss + +### mailq plugin no longer works + apt-get install nagios-plugins-standard