Re: sitesummary: fails to install / configure apache

2016-11-27 Thread Wolfgang Schweer
On Sun, Nov 27, 2016 at 08:36:39AM +0100, Petter Reinholdtsen wrote: > My original patch would enable the cgi module, not the cgi.load module. > Perhaps it take care of the include and rewrite module too? AFAICT. the trigger code has to be adjusted as well: diff --git a/debian/sitesummary.postin

Re: sitesummary: fails to install / configure apache

2016-11-27 Thread Dominik George
Hi, > +if ! a2query -qm include; then > +apache2_invoke enmod include > +fi a2enmod is a no-op returning success (0) if the module was already enabled, so you might want to strip the a2query calls. Not sure whether this holds for the apache2_invoke wrapper

Re: sitesummary: fails to install / configure apache

2016-11-26 Thread Petter Reinholdtsen
I noticed I had some patches for sitesummary left behind from when I looked at this issue. It would check if a module was available before enabling it, and enable more modules. Is this patch still relevant? diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst index 83eff31..05

Re: sitesummary: fails to install / configure apache

2016-11-21 Thread Wolfgang Schweer
On Mon, Nov 21, 2016 at 02:17:46PM +, Holger Levsen wrote: > On Sun, Nov 20, 2016 at 04:06:29PM +0100, Wolfgang Schweer wrote: > > AFAICT the test fails cause an apache2 restart is needed after enabling > > a module (cgi in this case). > > > > No real clue about debci: Maybe the autopkgtest c

Re: sitesummary: fails to install / configure apache

2016-11-21 Thread Holger Levsen
On Sun, Nov 20, 2016 at 04:06:29PM +0100, Wolfgang Schweer wrote: > AFAICT the test fails cause an apache2 restart is needed after enabling > a module (cgi in this case). > > No real clue about debci: Maybe the autopkgtest code could be adjusted > calling 'systemctl restart apache2' before calli

Re: sitesummary: fails to install / configure apache

2016-11-20 Thread Wolfgang Schweer
On Sun, Nov 20, 2016 at 02:19:31PM +, Holger Levsen wrote: > On Sat, Nov 19, 2016 at 12:19:11PM +0100, Wolfgang Schweer wrote: > > I'm guessing it's rather the apache2 restart call (needed to make the > > pkgtest work after the cgi(d) module has been enabled). This seems to > > fail if called

Re: sitesummary: fails to install / configure apache

2016-11-20 Thread Holger Levsen
On Sat, Nov 19, 2016 at 12:19:11PM +0100, Wolfgang Schweer wrote: > I'm guessing it's rather the apache2 restart call (needed to make the > pkgtest work after the cgi(d) module has been enabled). This seems to > fail if called inside the chroot. https://ci.debian.net/data/packages/unstable/amd64

Re: sitesummary: fails to install / configure apache

2016-11-19 Thread Wolfgang Schweer
On Sat, Nov 19, 2016 at 09:53:11AM +, Holger Levsen wrote: > On Sat, Nov 19, 2016 at 04:52:52AM +, jenk...@jenkins.debian.net wrote: > > See > > https://jenkins.debian.net/job/chroot-installation_sid_install_education-main-server/737//console > > > > or just > > https://jenkins.debian.n