X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-lenny.mdwn;h=2fc2423ac1d2b697e506d7ed8d30550d8a393fc6;hb=17282aa05cfcba40f25c8de5e565a28dacf10a5f;hp=c0ba8e1f44aa530c08c6a3951bd69b4b3f4601a6;hpb=835a56c8af5f7a739bf685c4fbf19879df34f15b;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-lenny.mdwn b/input/howto/upgrade-to-lenny.mdwn index c0ba8e1..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,14 +141,7 @@ rest follows apt-get dist-upgrade -merge changes into /etc/pam.d/sudo -(change old and reject (N)) - - cat >> /etc/pam.d/sudo << EOF - - session required pam_permit.so - session required pam_limits.so - EOF +reject changes to /etc/pam.d/sudo (puppet will install a new file later anyway) merge changes into /etc/munin/plugin-conf.d/munin-node (change new and accept (A)): @@ -167,7 +161,7 @@ merge changes into /etc/munin/plugin-conf.d/munin-node (change new and accept (A update nagios on samosa (add host to lenny hostgroup) -maybe install [[puppet|puppet-install]] +maybe install [[puppet|puppet-setup]] check for obsolete packages @@ -185,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