Unterschiede zwischen den Revisionen 1 und 2
Revision 1 vom 2007-04-13 06:44:11
Größe: 1604
Autor: lars
Kommentar: upgrading hints + apache2-ldap problem
Revision 2 vom 2007-04-13 06:53:00
Größe: 1606
Autor: lars
Kommentar: typo
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 16: Zeile 16:
 1. did apache2 replace the symlink ''/etc/apache2/conf.d -> /data/etc/apache2-conf.d'' (if it existed) by an empty directory? Fix it and restart apache2.  1. did apache2 replace the symlink ''/etc/apache2/conf.d -> /data/etc/apache2-conf.d'' (if it existed) with an empty directory? Fix it and restart apache2.

TableOfContents


About

The following article describes, what you should care about, if you want to upgrade a UML of systemausfall.org from sarge to etch.

Checklist

This is just a very short list of all necessary steps. Further explanations about how to realize these steps are described in the following chapter below.

  1. shutdown the uml, copy the system image and start it again (disable the hueter script meanwhile)

  2. replace stable or sarge with etch in /etc/apt/sources.lst and disable all testing-security lines

  3. apt-get update && apt-get dist-upgrade -- check all changed configuration files carefully and try to install new files whenever possible (to get the updated comments)

  4. did apache2 replace the symlink /etc/apache2/conf.d -> /data/etc/apache2-conf.d (if it existed) with an empty directory? Fix it and restart apache2.

  5. check for to-be-updated broken apache ldap authentication settings (see below for details):

    grep -lr AuthLDAPUrl /etc/apache2/ $(find / -type f -name .htaccess)

Problems & Solutions

Apache2 and LDAP authentication

Since apache2.2 there are some more directives necessary to make our setup work.

Add the following two lines to every ldap authentication entry:

AuthBasicProvider               ldap
AuthzLDAPAuthoritative          Off

You can find all relevant files by running the following command:

grep -lr AuthLDAPUrl /etc/apache2/ $(find / -type f -name .htaccess)

(it takes around one minute to finish the search)


Creative Commons Lizenzvertrag
This page is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.