Package: pawserv
Version: 2006.dfsg.2-14.1
Severity: important
Tags: patch

update-inetd --remove tries to match service lines using regexps of
the form:

    ^$service\s+
    ^#<off># ?$service\s+

where $service is the service name/regexp you specify.  Given the
service regexp '^.*/usr/sbin/zserv.*$', it is then using:

    ^^.*/usr/sbin/zserv.*$\s+
    ^#<off># ^.*/usr/sbin/zserv.*$\s+

which obviously can never match.

There is no need to be clever here; just pass in the service names.

Ben.

--- a/debian/debhelper/pawserv.prerm
+++ b/debian/debhelper/pawserv.prerm
@@ -19,8 +19,8 @@
 
 case "$1" in
     remove|upgrade|deconfigure)
-        update-inetd --remove '^.*/usr/sbin/zserv.*$'
-       update-inetd --remove '^.*/usr/sbin/pawserv.*$'
+       update-inetd --remove zserv
+       update-inetd --remove pawserv
         ;;
     failed-upgrade)
         ;;
--- END ---

-- System Information:
Debian Release: squeeze/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), 
(1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pawserv depends on:
ii  debconf [debconf-2.0]     1.5.33         Debian configuration management sy
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libgcc1                   1:4.4.4-7      GCC support library
ii  libgfortran3              4.4.4-7        Runtime library for GNU Fortran ap
ii  libkernlib1-gfortran      2006.dfsg.2-14 CERNLIB data analysis suite - core
ii  libpacklib1-gfortran      2006.dfsg.2-14 CERNLIB data analysis suite - core
ii  netbase                   4.42           Basic TCP/IP networking system
ii  openbsd-inetd [inet-super 0.20080125-4   The OpenBSD Internet Superserver

Versions of packages pawserv recommends:
ii  cron                          3.0pl1-113 process scheduling daemon

Versions of packages pawserv suggests:
ii  logrotate                     3.7.8-6    Log rotation utility



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to