[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Jessie -> stretch



Hi Giorgio,

thank you very much for testing the Jessie -> Stretch upgrade.

On Wed, Jun 28, 2017 at 10:05:44AM +0200, Giorgio Pioda wrote:
> On Tue, Jun 27, 2017 at 06:28:54PM +0200, Wolfgang Schweer wrote:
> > Please try:
> >   
> > rm /etc/apache2/mods-enabled/userdir.conf
> > 
> That's excatly the source of the issue. I've done it as
> stated in the manual, but the correct way to do it
> is to use:
> 
> a2dismod userdir

Yes, that works; 'rm /etc/apache2/mods-enabled/userdir.load' as well
(like written yesterday as correction).

But in both cases the userdir support is no longer available.

It doesn't work like stated in the upgrade chapter because of a wrong 
cfengine configuration, introduced at a time when upgrade testing was 
already done (with the upgrade recipe put on the wiki).

commit afea65478f0a865cdc7330a56978b403be7af430
Author: Wolfgang Schweer <wschweer@arcor.de>
Date:   Sun Apr 23 16:39:51 2017 +0200

    Remove userdir.load symlink from d/debian-edu-config.links, use 
    cf/cf.apache to provide it. Thanks to Andreas Beckmann. (Closes: #859809)

diff --git a/cf/cf.apache2 b/cf/cf.apache2
index 3f5ba637..6296ea1c 100644
--- a/cf/cf.apache2
+++ b/cf/cf.apache2
@@ -1,6 +1,7 @@
 links:
   debian.server.installation::
     /etc/php/apache2/php.ini ->! /etc/php/apache2/php-debian-edu.ini
+    /etc/apache2/mods-available/userdir.load ->! /etc/apache2/mods-available/debian-edu-userdir.load
 
 shellcommands:
   debian.server.installation::
diff --git a/debian/debian-edu-config.links 
b/debian/debian-edu-config.links
index 3d6d4821..28cd86b5 100644
--- a/debian/debian-edu-config.links
+++ b/debian/debian-edu-config.links
@@ -1,2 +1,2 @@
 usr/share/debian-edu-config/tools/ldapdump.sh etc/slbackup/pre.d/ldapdump.sh
-etc/apache2/mods-available/userdir.load etc/apache2/mods-available/debian-edu-userdir.load

Apparently I copied the linking stanza from 
debian/debian-edu-config.links to cf/cf.apache2 but forgot to adjust the 
order, effectively messing up things.

cf.apache should have:
/etc/apache2/mods-available/debian-edu-userdir.load ->! /etc/apache2/mods-available/userdir.load

Added instructions to the Stretch manual upgrade chapter on the wiki how 
to work around the problem until a proper fix is available.

Thanks again for your valuable feedback.

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: