projects
/
mirror
/
dsa-wiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor updates to upgrade proc
[mirror/dsa-wiki.git]
/
input
/
howto
/
upgrade-to-lenny.mdwn
diff --git
a/input/howto/upgrade-to-lenny.mdwn
b/input/howto/upgrade-to-lenny.mdwn
index
800f979
..
2fc2423
100644
(file)
--- 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
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
install deborphan, clean up
@@
-140,23
+141,13
@@
rest follows
apt-get dist-upgrade
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
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
* all changes relating to exim (in /etc/exim4 and in logrotate)
* /etc/ldap/ldap.conf
* /etc/nagios/nrpe.cfg
@@
-170,7
+161,7
@@
rest follows
update nagios on samosa (add host to lenny hostgroup)
update nagios on samosa (add host to lenny hostgroup)
-maybe install [[puppet|puppet-
install
]]
+maybe install [[puppet|puppet-
setup
]]
check for obsolete packages
check for obsolete packages
@@
-188,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}'`
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