Unterschiede zwischen den Revisionen 5 und 6
Revision 5 vom 2012-06-13 21:26:19
Größe: 1757
Autor: anonym
Kommentar: converted to 1.6 markup
Revision 6 vom 2022-11-25 21:17:41
Größe: 0
Autor: phil
Kommentar:
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 1: Zeile 1:
<<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)
 1. replace ''stable'' or ''sarge'' with ''etch'' in ''/etc/apt/sources.lst'' and disable all ''testing-security'' lines
 1. ''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)
 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.
 1. 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 ==
Beware: for apache v1.3 there are no changes needed.

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
}}}

Additionally all ''require group'' directives have to be changed to ''require ldap-group''.

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.