X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-lenny.mdwn;h=2fc2423ac1d2b697e506d7ed8d30550d8a393fc6;hb=8a442609eb3f4b305eb6389e27eed835efaf79f6;hp=31edee173a345e4113b9a7e257edcb95296501e9;hpb=d6afa2ba60f1cdf82d7fbe64504335fc303077cd;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-lenny.mdwn b/input/howto/upgrade-to-lenny.mdwn index 31edee1..2fc2423 100644 --- a/input/howto/upgrade-to-lenny.mdwn +++ b/input/howto/upgrade-to-lenny.mdwn @@ -23,6 +23,7 @@ turn off samhain maybe turn off exim /etc/init.d/exim4 stop + mv /etc/rc2.d/S20exim4 /etc/rc2.d/K20exim4 # so it stays down install deborphan, clean up @@ -140,17 +141,9 @@ rest follows apt-get dist-upgrade -* merge changes into /etc/pam.d/sudo +reject changes to /etc/pam.d/sudo (puppet will install a new file later anyway) - (change old and reject (N)) - cat >> /etc/pam.d/sudo << EOF - - session required pam_permit.so - session required pam_limits.so - EOF - -* merge changes into /etc/munin/plugin-conf.d/munin-node - (change new and accept (A)): +merge changes into /etc/munin/plugin-conf.d/munin-node (change new and accept (A)): sed -i -e 's/adm$/adm, maillog/' /etc/munin/plugin-conf.d/munin-node.dpkg-new @@ -168,7 +161,7 @@ rest follows update nagios on samosa (add host to lenny hostgroup) -maybe install [[puppet|puppet-install]] +maybe install [[puppet|puppet-setup]] check for obsolete packages @@ -186,3 +179,10 @@ purge removed packages dpkg --get-selections | awk '$2!="install" {print $1}' echo "really purge these [y/N]?"; read ans; [ "$ans" = "y" ] && dpkg --purge `dpkg --get-selections | awk '$2!="install" {print $1}'` + +possibly reboot + +re-enable exim + + mv /etc/rc2.d/K20exim4 /etc/rc2.d/S20exim4 + env -i /etc/init.d/exim4 start