Document how to fix BASE-IS-OLD
[mirror/dsa-wiki.git] / input / howto / upgrade-to-lenny.mdwn
index be1e502..2fc2423 100644 (file)
@@ -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,24 +141,13 @@ 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
 
-
- * keep local (i.e. reject (N))
+ * keep local (i.e. reject (N)):
   * all changes relating to exim  (in /etc/exim4 and in logrotate)
   * /etc/ldap/ldap.conf
   * /etc/nagios/nrpe.cfg
@@ -171,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
 
@@ -189,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