Diferencia entre revisiones de «Upgrade Debian: Etch to Lenny»

De gacq wiki
Saltar a: navegación, buscar
(courier-imap-ssl pop3-ssl SSl version)
(Problems)
 
(No se muestran 4 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
= Add new public key =
+
= Add new public key if necessary =
 
  gpg --keyserver wwwkeys.eu.pgp.net --recv-keys  9AA38DCD55BE302B
 
  gpg --keyserver wwwkeys.eu.pgp.net --recv-keys  9AA38DCD55BE302B
 
  gpg --armor --export 9AA38DCD55BE302B | sudo apt-key add -
 
  gpg --armor --export 9AA38DCD55BE302B | sudo apt-key add -
Línea 16: Línea 16:
 
== Problems ==
 
== Problems ==
 
Generated by the upgrade
 
Generated by the upgrade
 
=== salsauth not starting ===
 
salsauth not staring because now require run directory
 
  
 
=== courier-imap-ssl pop3-ssl SSl version ===
 
=== courier-imap-ssl pop3-ssl SSl version ===
 
courier-imap-ssl does not work with fetchmail because of SSL version issue
 
courier-imap-ssl does not work with fetchmail because of SSL version issue
 +
 +
Jun 15 20:17:28 oaky imapd-ssl: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
  
 
Comment out the following lines
 
Comment out the following lines
Línea 31: Línea 30:
 
  #TLS_PROTOCOL=SSL3
 
  #TLS_PROTOCOL=SSL3
 
  #TLS_STARTTLS_PROTOCOL=TLS1
 
  #TLS_STARTTLS_PROTOCOL=TLS1
 +
 +
=== Default language for new lists in MailMan ===
 +
Mailman switch default language to english, if you prefer another one change /etc/mailman/mm_cfg.py
 +
 +
DEFAULT_SERVER_LANGUAGE = 'es'
 +
 +
=== salsauth not starting ===
 +
salsauth not staring because now require run directory
 +
 +
To fix add to /etc/default/saslauthd
 +
OPTIONS="-c -m /var/run/saslauthd"
  
 
=== MoinMoin stop working ===
 
=== MoinMoin stop working ===
Línea 37: Línea 47:
 
=== Trac stop working ===
 
=== Trac stop working ===
 
Trac stop working
 
Trac stop working
 
=== Default language for new lists in MailMan ===
 
Mailman switch default language english
 
 
=== Kernel and Hypervisor not updated ===
 
Xen kernel not upgraded / Hypervisor not upgraded too
 
 
=== udev not installed anymore ===
 
  
 
= Notes for Xen users =
 
= Notes for Xen users =

Revisión actual del 10:50 18 jun 2009

Add new public key if necessary

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys  9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | sudo apt-key add -

Update packages

1) Edit /etc/apt/sources.list and replace "etch" to "lenny"

2) Do the upgrade

aptitude update
aptitude install dpkg aptitude apt
aptitude full-upgrade

Configuration files:

  • Except special configurations overwrite /etc/securetty

Problems

Generated by the upgrade

courier-imap-ssl pop3-ssl SSl version

courier-imap-ssl does not work with fetchmail because of SSL version issue

Jun 15 20:17:28 oaky imapd-ssl: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Comment out the following lines

/etc/courier/imapd-ssl
#TLS_PROTOCOL=TLS1
#TLS_STARTTLS_PROTOCOL=TLS1
/etc/courier/pop3d-ssl
#TLS_PROTOCOL=SSL3
#TLS_STARTTLS_PROTOCOL=TLS1

Default language for new lists in MailMan

Mailman switch default language to english, if you prefer another one change /etc/mailman/mm_cfg.py

DEFAULT_SERVER_LANGUAGE = 'es'

salsauth not starting

salsauth not staring because now require run directory

To fix add to /etc/default/saslauthd

OPTIONS="-c -m /var/run/saslauthd"

MoinMoin stop working

MoinMoin stop working (http error 500)

Trac stop working

Trac stop working

Notes for Xen users

My way:

DomUs

foreach DomU in DomUs do {

Upgrade DomU
aptitude update
aptitude install dpkg aptitude apt
aptitude full-upgrade
Install kernel modules
aptitude install linux-modules-2.6.26-2-xen-686
Install udev
aptitude install udev
Configure serial console

In /etc/inittab, change:

1:2345:respawn:/sbin/getty 38400 tty1

to:

1:2345:respawn:/sbin/getty 38400 hvc0
Shutdown
init 0

}

Dom0

Upgrade Dom0
aptitude update
aptitude install dpkg aptitude apt
aptitude full-upgrade
Install xen kernel and hypervisor
aptitude install xen-linux-system-2.6.26-2-xen-686
aptitude install xen-hypervisor-3.2-1-i386
Change kernel and initrd for all DomUs

replace in each DomU config file /etc/xen/*.cfg

kernel      = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk     = '/boot/initrd.img-2.6.26-2-xen-686'
Reboot
init 6