[Pkg-mediawiki-devel] Bug#409434: mediawiki1.7: Nuked my LocalSettings.php in /etc

Anthony DeRobertis anthony at derobert.net
Sat Feb 3 02:35:03 CET 2007


Package: mediawiki1.7
Version: 1.7.1-6
Severity: serious
Justifiaction: Policy 10.7.3

The latest MediaWiki 1.7 upgrade (from -4 to -6, I believe) decided to
nuke my LocalSettings.php file in /etc/mediawiki1.7 and replace it with
a symlink:

lrwxrwxrwx 1 root root 39 2007-01-29 12:29 /etc/mediawiki1.7/LocalSettings.php -> /var/lib/mediawiki1.7/LocalSettings.php

and...

lrwxrwxrwx 1 root root 35 2007-01-04 12:23 /var/lib/mediawiki1.7/LocalSettings.php -> /etc/mediawiki1.7/LocalSettings.php

So, it deleted my config file (which was a plain file in
/etc/mediawiki1.7) and replaced it with a symlink loop. Thankfully, I
have backups!

It did the same thing with AdminSettings.php.

[Note: I've previously had older versions of mediawiki installed,
including 1.5, but they were not installed (but not purged) when this
upgrade occured]

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mediawiki1.7 depends on:
ii  apache2                       2.2.3-3.2  Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]   2.2.3-3.2  Traditional model for Apache HTTPD
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  mime-support                  3.39-1     MIME files 'mime.types' & 'mailcap
ii  php5                          5.2.0-8    server-side, HTML-embedded scripti
ii  php5-cli                      5.2.0-8    command-line interpreter for the p
ii  php5-mysql                    5.2.0-8    MySQL module for php5

Versions of packages mediawiki1.7 recommends:
ii  mysql-server-5.0 [mysql-serve 5.0.30-3   mysql database server binaries
ii  postgresql-8.1                8.1.6-1    object-relational SQL database, ve

-- debconf information:
* mediawiki/webserver: apache2
* mediawiki/upgrade-1d5: true
* mediawiki/upgrade-1d5-adminuser: root




More information about the Pkg-mediawiki-devel mailing list