Your message dated Fri, 30 Mar 2007 13:50:38 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#416667: dokuwiki: breaks apache configuration upon purge
and removal
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: dokuwiki
Version: 0.0.20061106-4
Severity: critical
Justification: breaks unrelated software
When purging or removing dokuwiki it breaks apache configuration in
the following way:
# invoke-rc.d apache2 reload
apache2: Syntax error on line 195 of /etc/apache2/apache2.conf: Could not open
configuration file /etc/apache2/conf.d/dokuwiki.conf: No such file or directory
failed!
invoke-rc.d: initscript apache2, action "reload" failed.
The reason is dokuwiki leaves a broken link in /etc/apache2/conf.d/
# ls -l /etc/apache2/conf.d/
total 4
-rw-r--r-- 1 root root 24 2007-03-26 18:39 charset
lrwxrwxrwx 1 root root 25 2007-03-26 18:54 dokuwiki.conf ->
/etc/dokuwiki/apache.conf
(/etc/dokuwiki/apache.conf has been removed)
There are lines trying to deal with this in dokuwiki postrm but they
have been commented out:
# No need to handle the Web server in postrm
#if [ "$1" = "remove" ]; then
# for srv in apache apache2 apache-ssl apache-perl; do
# if [ -e /etc/$srv/httpd.conf ]; then
#
# # Remove dokuwiki from the apache configuration
# rm -f /etc/$srv/conf.d/dokuwiki.conf
#
# # Restart apache
# if which invoke-rc.d >/dev/null 2>&1; then
# invoke-rc.d $srv force-reload
# else
# /etc/init.d/$srv force-reload
# fi
#
#
#
#
#
# fi
# done
#fi
Actually, it seems there is need to handle Web server in postrm.
Thanks for your work on packaging dokuwiki,
Frédéric Lehobey
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-sparc64
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages dokuwiki depends on:
ii apache2 2.2.3-3.2 Next generation, scalable, extenda
ii apache2-mpm-prefork [httpd-cg 2.2.3-3.2 Traditional model for Apache HTTPD
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii php5 5.2.0-8 server-side, HTML-embedded scripti
ii ucf 2.0018.1 Update Configuration File: preserv
Versions of packages dokuwiki recommends:
pn imagemagick | php4-gd | php5- <none> (no description available)
pn php4-cli | php5-cli <none> (no description available)
-- debconf information:
* dokuwiki/system/documentroot: /dokuwiki
* dokuwiki/system/accessible: global
dokuwiki/system/localnet: 10.0.0.0/24
* dokuwiki/webservers: apache2
* dokuwiki/system/purgepages: true
--- End Message ---
--- Begin Message ---
Version: 0.0.20061106-6
On Fri, Mar 30, 2007 at 04:38:37PM +0200, Mohammed Adnène Trojette wrote:
> On Thu, Mar 29, 2007, Frederic Lehobey wrote:
> > (a typo?).
> Yes, I've just noticed it too :)
So we should mark this bug as closed, right?
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
--- End Message ---