[Pkg-mediawiki-devel] Bug#377521: mediawiki1.5: postinst script calls /etc/init.d/ scripts directly.

Trent Buck trentbuck at gmail.com
Sun Jul 9 16:53:53 UTC 2006


Package: mediawiki1.5
Severity: normal


/var/lib/dpkg/info/apache2-mpm-prefork.postinst contains this:

	if [ -x "/etc/init.d/apache2" ]; then
	        update-rc.d apache2 defaults 91 >/dev/null
	        if [ -x /usr/sbin/invoke-rc.d ]; then
	                invoke-rc.d apache2 start ||true
	        else
	                /etc/init.d/apache2 start ||true
	        fi
	fi

/var/lib/dpkg/info/mediawiki1.5.postinst contains this:

       if [ -f /etc/init.d/$i ]; then
               /etc/init.d/$i reload
       fi
 
I contend that mediawiki1.5 should use invoke-rc.d when it is
available.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)




More information about the Pkg-mediawiki-devel mailing list