Your message dated Mon, 16 Jul 2007 18:23:20 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Removed
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: php4-sqlite
Version: 1.0.2-6
Severity: minor
Tags: patch


Hello,

Originally, php4-sqlite postinst gives false alarms which could be avoided:

/usr/sbin/apachectl is not executable, exiting
Restarting apache-ssl.

The postinst script checks for executability of files in /etc/init.d/ but
packages leave their files in there on package removal so it would be more
proper to also check running instances before checking files in /etc/init.d
to focus only on running servers to restart.

Here's the patch, please apply:

:~# diff -u /var/lib/dpkg/info/php4-sqlite.postinst~
/var/lib/dpkg/info/php4-sqlite.postinst
--- /var/lib/dpkg/info/php4-sqlite.postinst~    2005-03-31
08:54:05.613843224 +0200
+++ /var/lib/dpkg/info/php4-sqlite.postinst     2005-03-31
08:54:05.614849397 +0200
@@ -16,11 +16,13 @@
 # Restart apache(s) so settings get refreshed
 if [ -d /etc/php4/apache/ ]; then
        for srv in apache apache-ssl apache-perl; do
-               if [ -x "/etc/init.d/$srv" ]; then  
-                       if [ -x /usr/sbin/invoke-rc.d ]; then
-                               /usr/sbin/invoke-rc.d $srv restart
-                       else
-                               /etc/init.d/$srv restart
+                if pidof $srv; then               
+                       if [ -x "/etc/init.d/$srv" ]; then
+                               if [ -x /usr/sbin/invoke-rc.d ]; then
+                                       /usr/sbin/invoke-rc.d $srv restart
+                               else
+                                       /etc/init.d/$srv restart
+                               fi
                        fi
                fi
        done

Thanks.

Regards,
Csani



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php4-sqlite depends on:
ii  libapache-mod-php4 [phpapi- 4:4.3.10-9   server-side, HTML-embedded scripti
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libsqlite0                  2.8.16-1     SQLite shared library
ii  php4-cgi [phpapi-20020918-z 4:4.3.10-9   server-side, HTML-embedded scripti
ii  php4-cli [phpapi-20020918-z 4:4.3.10-9   command-line interpreter for the p

-- no debconf information


--- End Message ---
--- Begin Message ---
This package has been removed from Debian unstable.  I'm therefore
closing this bug report.  The package has been removed because it
PHP4 has been removed.

-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply via email to