Debian Bug report logs - #717476
updates lost Alias modules

version graph

Package: apache2; Maintainer for apache2 is Debian Apache Maintainers <debian-apache@lists.debian.org>; Source for apache2 is src:apache2.

Reported by: Norbert Preining <preining@logic.at>

Date: Sun, 21 Jul 2013 08:51:02 UTC

Severity: important

Merged with 711925

Found in version apache2/2.4.6-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, preining@logic.at, Thijs Kinkhorst <thijs@debian.org>:
Bug#717476; Package phpmyadmin. (Sun, 21 Jul 2013 08:51:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Norbert Preining <preining@logic.at>:
New Bug report received and forwarded. Copy sent to preining@logic.at, Thijs Kinkhorst <thijs@debian.org>. (Sun, 21 Jul 2013 08:51:06 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Norbert Preining <preining@logic.at>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: phpmyadmin: breaks apache starting with invalid config file
Date: Sun, 21 Jul 2013 17:46:16 +0900
Package: phpmyadmin
Version: 4:4.0.4.1-1
Severity: critical
Justification: breaks unrelated software

Hi,

recently I realized that apache does not start anymore, doing the
suggested configtest I get:

$ env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/apache2ctl configtest
AH00526: Syntax error on line 3 of /etc/apache2/conf-enabled/phpmyadmin.conf:
Invalid command 'Alias', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
$

I have done no changes to any of the apache settings of phpmyadmin settings.

Thanks

Norbert


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0-rc1+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages phpmyadmin depends on:
ii  dbconfig-common           1.8.47+nmu1
ii  debconf [debconf-2.0]     1.5.50
ii  libapache2-mod-php5       5.5.0+dfsg-15
ii  libjs-codemirror          2.23-1
ii  libjs-jquery              1.7.2+dfsg-2
ii  libjs-jquery-cookie       8-2
ii  libjs-jquery-event-drag   8-2
ii  libjs-jquery-mousewheel   8-2
ii  libjs-jquery-tablesorter  8-2
ii  libjs-jquery-ui           1.10.1+dfsg-1
ii  libjs-underscore          1.4.4-2
ii  perl                      5.14.2-21
ii  php-gettext               1.0.11-1
ii  php5                      5.5.0+dfsg-15
ii  php5-json                 1.3.1+dfsg-1
ii  php5-mcrypt               5.5.0+dfsg-15
ii  php5-mysql                5.5.0+dfsg-15
ii  ttf-dejavu-core           2.33+svn2514-3
ii  ucf                       3.0027+nmu1

Versions of packages phpmyadmin recommends:
ii  apache2                          2.4.4-6
ii  apache2-bin [httpd]              2.4.4-6
ii  mysql-client                     5.5.31+dfsg-1
ii  mysql-client-5.5 [mysql-client]  5.5.31+dfsg-1
ii  php5-gd                          5.5.0+dfsg-15

Versions of packages phpmyadmin suggests:
ii  chromium [www-browser]          28.0.1500.71-2
ii  epiphany-browser [www-browser]  3.4.2-2.1
ii  iceweasel [www-browser]         22.0-1
ii  konqueror [www-browser]         4:4.10.5-1
ii  lynx-cur [www-browser]          2.8.8dev.15-2
ii  midori [www-browser]            0.4.3+dfsg-0.1
ii  mysql-server                    5.5.31+dfsg-1
ii  netsurf-gtk [www-browser]       2.9-2
ii  w3m [www-browser]               0.5.3-8

-- debconf information:
  phpmyadmin/remove-error: abort
  phpmyadmin/setup-username: admin
  phpmyadmin/db/app-user: phpmyadmin
  phpmyadmin/remote/host:
* phpmyadmin/dbconfig-install: true
  phpmyadmin/remote/port:
* phpmyadmin/dbconfig-upgrade: true
  phpmyadmin/missing-db-package-error: abort
  phpmyadmin/upgrade-error: abort
  phpmyadmin/dbconfig-reinstall: false
  phpmyadmin/db/dbname: phpmyadmin
  phpmyadmin/database-type: mysql
  phpmyadmin/dbconfig-remove:
  phpmyadmin/mysql/method: unix socket
  phpmyadmin/purge: false
  phpmyadmin/install-error: abort
* phpmyadmin/reconfigure-webserver: apache2
  phpmyadmin/mysql/admin-user: root
  phpmyadmin/internal/reconfiguring: false
  phpmyadmin/remote/newhost:
  phpmyadmin/internal/skip-preseed: false
  phpmyadmin/upgrade-backup: true
  phpmyadmin/passwords-do-not-match:



Information forwarded to debian-bugs-dist@lists.debian.org, Thijs Kinkhorst <thijs@debian.org>:
Bug#717476; Package phpmyadmin. (Sun, 21 Jul 2013 13:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Thijs Kinkhorst" <thijs@debian.org>:
Extra info received and forwarded to list. Copy sent to Thijs Kinkhorst <thijs@debian.org>. (Sun, 21 Jul 2013 13:57:04 GMT) Full text and rfc822 format available.

Message #10 received at 717476@bugs.debian.org (full text, mbox):

From: "Thijs Kinkhorst" <thijs@debian.org>
To: "Norbert Preining" <preining@logic.at>, 717476@bugs.debian.org
Subject: Re: Bug#717476: phpmyadmin: breaks apache starting with invalid config file
Date: Sun, 21 Jul 2013 15:53:30 +0200
On Sun, July 21, 2013 10:46, Norbert Preining wrote:
> Package: phpmyadmin
> Version: 4:4.0.4.1-1
> Severity: critical
> Justification: breaks unrelated software
>
> Hi,
>
> recently I realized that apache does not start anymore, doing the
> suggested configtest I get:
>
> $ env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/apache2ctl
> configtest
> AH00526: Syntax error on line 3 of
> /etc/apache2/conf-enabled/phpmyadmin.conf:
> Invalid command 'Alias', perhaps misspelled or defined by a module not
> included in the server configuration
> Action 'configtest' failed.
> The Apache error log may have more information.

Apparently your installation does not have mod_alias enabled. Using
mod_alias to configure web applications is the Debian webapps policy
compliant way to do it.

The Debian Apache maintainers describe that web applications can rely
unconditionally on the presence of mod_alias:
http://anonscm.debian.org/gitweb/?p=pkg-apache/apache2.git;a=blob;f=debian/PACKAGING;hb=master#l194



Cheers,
Thijs



Information forwarded to debian-bugs-dist@lists.debian.org, Thijs Kinkhorst <thijs@debian.org>:
Bug#717476; Package phpmyadmin. (Mon, 22 Jul 2013 02:27:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Thijs Kinkhorst <thijs@debian.org>. (Mon, 22 Jul 2013 02:27:05 GMT) Full text and rfc822 format available.

Message #15 received at 717476@bugs.debian.org (full text, mbox):

From: Norbert Preining <preining@logic.at>
To: Thijs Kinkhorst <thijs@debian.org>
Cc: 717476@bugs.debian.org
Subject: Re: Bug#717476: phpmyadmin: breaks apache starting with invalid config file
Date: Mon, 22 Jul 2013 11:23:27 +0900
reassign 717476 apache2
retitle 717476 updates lost Alias modules
severity 717476 important
thanks

On So, 21 Jul 2013, Thijs Kinkhorst wrote:
> > recently I realized that apache does not start anymore, doing the
> > suggested configtest I get:
> >
> > $ env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin /usr/sbin/apache2ctl
> > configtest
> > AH00526: Syntax error on line 3 of
> > /etc/apache2/conf-enabled/phpmyadmin.conf:
> > Invalid command 'Alias', perhaps misspelled or defined by a module not
> > included in the server configuration
> > Action 'configtest' failed.
> > The Apache error log may have more information.
> 
> Apparently your installation does not have mod_alias enabled. Using
> mod_alias to configure web applications is the Debian webapps policy
> compliant way to do it.

Thanks, I reassign the bug.

I did not do any configuration of apache, and I guess this happened
during the upgrade 2.2 -> 2.4.

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------



Bug reassigned from package 'phpmyadmin' to 'apache2'. Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 22 Jul 2013 02:27:07 GMT) Full text and rfc822 format available.

No longer marked as found in versions phpmyadmin/4:4.0.4.1-1. Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 22 Jul 2013 02:27:08 GMT) Full text and rfc822 format available.

Changed Bug title to 'updates lost Alias modules' from 'phpmyadmin: breaks apache starting with invalid config file' Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 22 Jul 2013 02:27:09 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'critical' Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Mon, 22 Jul 2013 02:27:10 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#717476; Package apache2. (Sun, 28 Jul 2013 17:24:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Jean-Michel Vourgère" <jmv_deb@nirgal.com>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>. (Sun, 28 Jul 2013 17:24:04 GMT) Full text and rfc822 format available.

Message #28 received at 717476@bugs.debian.org (full text, mbox):

From: "Jean-Michel Vourgère" <jmv_deb@nirgal.com>
To: 717476@bugs.debian.org
Subject: Re: updates lost Alias modules
Date: Sun, 28 Jul 2013 17:20:54 +0000
This is probably a duplicate of
bugs.debian.org/cgi-bin/bugreport.cgi?bug=711925

Can you check if you auto-purge packages on updates?



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#717476; Package apache2. (Fri, 02 Aug 2013 03:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Apache Maintainers <debian-apache@lists.debian.org>. (Fri, 02 Aug 2013 03:03:04 GMT) Full text and rfc822 format available.

Message #33 received at 717476@bugs.debian.org (full text, mbox):

From: Norbert Preining <preining@logic.at>
To: 717476@bugs.debian.org
Subject: Re: Fwd: Re: updates lost Alias modules
Date: Fri, 2 Aug 2013 11:58:28 +0900
On Do, 01 Aug 2013, Jean-Michel Vourgère wrote:
> Can you check if you auto-purge packages on updates?

No idea ... at least I cannot find anything under /etc/apt/ ...

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------



Information forwarded to debian-bugs-dist@lists.debian.org, himdel@seznam.cz, Debian Apache Maintainers <debian-apache@lists.debian.org>:
Bug#717476; Package apache2. (Sat, 03 Aug 2013 00:21:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Hradil <himdel@seznam.cz>:
Extra info received and forwarded to list. Copy sent to himdel@seznam.cz, Debian Apache Maintainers <debian-apache@lists.debian.org>. (Sat, 03 Aug 2013 00:21:09 GMT) Full text and rfc822 format available.

Message #38 received at 717476@bugs.debian.org (full text, mbox):

From: Martin Hradil <himdel@seznam.cz>
To: Debian Bug Tracking System <717476@bugs.debian.org>
Subject: apache2: 2.2 -> 2.4 clears mods-enabled and sites-enabled
Date: Sat, 03 Aug 2013 00:18:37 +0000
Package: apache2
Version: 2.4.6-2
Followup-For: Bug #717476

Dear Maintainer,

While upgrading to current apache2, apt-listchanges showed me stuff to do but it failed to mention that the update would *clear all* mods-enabled *and* sites-enabled and install it's own set of modules.

I have no objections to automatically enforcing an initial set of modules but it should definitely either re-enable the previously enabled modules OR save a list of the previously enabled sites and modules somewhere OR at least warn about it.

Regards,
Martin Hradil

-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2 depends on:
ii  apache2-bin   2.4.6-2
ii  apache2-data  2.4.6-2
ii  lsb-base      4.1+Debian12
ii  mime-support  3.54
ii  perl          5.14.2-21
ii  procps        1:3.3.4-2

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.32

Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  apache2-utils                                    2.4.6-2
ii  chromium [www-browser]                           28.0.1500.71-2
ii  dillo [www-browser]                              3.0.3-6
ii  elinks [www-browser]                             0.12~pre6-1
ii  opera [www-browser]                              12.16.1860
ii  uzbl [www-browser]                               0.0.0~git.20120514-1.1
ii  w3m [www-browser]                                0.5.3-8

Versions of packages apache2-bin depends on:
ii  libapr1                  1.4.8-1
ii  libaprutil1              1.5.2-1
ii  libaprutil1-dbd-sqlite3  1.5.2-1
ii  libaprutil1-ldap         1.5.2-1
ii  libc6                    2.17-7
ii  libcap2                  1:2.22-1.2
ii  libldap-2.4-2            2.4.31-1+nmu2
ii  liblua5.1-0              5.1.5-4
ii  libpcre3                 1:8.31-2
ii  libssl1.0.0              1.0.1e-3
ii  libxml2                  2.9.1+dfsg1-2
ii  perl                     5.14.2-21
ii  zlib1g                   1:1.2.8.dfsg-1

Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  chromium [www-browser]                           28.0.1500.71-2
ii  dillo [www-browser]                              3.0.3-6
ii  elinks [www-browser]                             0.12~pre6-1
ii  opera [www-browser]                              12.16.1860
ii  uzbl [www-browser]                               0.0.0~git.20120514-1.1
ii  w3m [www-browser]                                0.5.3-8

Versions of packages apache2 is related to:
ii  apache2      2.4.6-2
ii  apache2-bin  2.4.6-2

-- no debconf information



Merged 711925 717476 Request was from "Jean-Michel Vourgère" <jmv_deb@nirgal.com> to control@bugs.debian.org. (Wed, 28 Aug 2013 16:36:15 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 06:20:56 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.