Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: The mediawiki postinstall scriptlet runs mw-updateallinstances. That script in turn runs mw-createinstance for each path in /etc/mediawiki/instances (i.e. /var/www/wiki). And the mw-createinstance script creates a bunch of symlinks, including one for redirect.php. But /usr/share/mediawiki/redirect.php is no longer in the rpm, so this is a dangling symlink. According to the HISTORY file, redirect.php was removed in version 1.22, since it was unused. Version-Release number of selected component (if applicable): mediawiki-1.23.2-1.fc19.noarch How reproducible: Install or upgrade the mediawiki-1.23.2-1.fc19.noarch rpm. Notice the dangling symlink. Steps to Reproduce: 1. rpm -U mediawiki-1.23.2-1.fc19.noarch 2. ls -l /var/www/wiki/redirect.php 3. wc /var/www/wiki/redirect.php Actual results: bash-4.2$ ls -l /var/www/wiki/redirect.php lrwxrwxrwx 1 root root 33 Aug 27 08:42 /var/www/wiki/redirect.php -> /usr/share/mediawiki/redirect.php bash-4.2$ wc /var/www/wiki/redirect.php wc: /var/www/wiki/redirect.php: No such file or directory Expected results: The invalid symlink should not be installed. Additional info:
mediawiki-1.23.3-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mediawiki-1.23.3-1.fc21
mediawiki-1.23.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mediawiki-1.23.3-1.fc20
mediawiki-1.23.3-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mediawiki-1.23.3-1.fc19
Package mediawiki-1.23.3-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mediawiki-1.23.3-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9905/mediawiki-1.23.3-1.fc21 then log in and leave karma (feedback).
mediawiki-1.23.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mediawiki-1.23.3-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
mediawiki-1.23.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.