Your message dated Wed, 20 Apr 2011 04:47:56 +0000
with message-id <[email protected]>
and subject line Bug#623221: fixed in stunnel4 3:4.35-2
has caused the Debian Bug report #623221,
regarding Error in /etc/init.d/stunnel4
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
623221: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623221
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: stunnel4
Version: 3:4.35-1
Severity: important


Error in /etc/init.d/stunnel4:

Stopping SSL tunnels: /etc/init.d/stunnel4: line 59: ${$1:-TERM}: bad 
substitution

Solution:

<   SIGNAL=${1:-TERM}
---
>   SIGNAL=${$1:-TERM}




-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages stunnel4 depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libssl1.0.0                   1.0.0d-2   SSL shared libraries
ii  libwrap0                      7.6.q-19   Wietse Venema's TCP wrappers libra
ii  netbase                       4.45       Basic TCP/IP networking system
ii  openssl                       1.0.0d-2   Secure Socket Layer (SSL) binary a
ii  perl-modules                  5.10.1-19  Core Perl modules

stunnel4 recommends no packages.

Versions of packages stunnel4 suggests:
ii  logcheck-database             1.3.13     database of system log rules for t

-- Configuration Files:
/etc/default/stunnel4 changed:
ENABLED=1
FILES="/etc/stunnel/*.conf"
OPTIONS=""
PPP_RESTART=0

/etc/init.d/stunnel4 changed:
DEFAULTPIDFILE="/var/run/stunnel4.pid"
DAEMON=/usr/bin/stunnel4
NAME=stunnel
DESC="SSL tunnels"
FILES="/etc/stunnel/*.conf"
OPTIONS=""
ENABLED=0
get_pids() {
   local file=$1
   if test -f $file; then
     CHROOT=`grep "^chroot" $file|sed "s;.*= *;;"`
     PIDFILE=`grep "^pid" $file|sed "s;.*= *;;"`
     if [ "$PIDFILE" = "" ]; then
       PIDFILE=$DEFAULTPIDFILE
     fi
     if test -f $CHROOT/$PIDFILE; then
       cat $CHROOT/$PIDFILE
     fi
   fi
}
startdaemons() {
  if ! [ -d /var/run/stunnel4 ]; then
    rm -rf /var/run/stunnel4
    install -d -o stunnel4 -g stunnel4 /var/run/stunnel4
  fi
  for file in $FILES; do 
    if test -f $file; then
      ARGS="$file $OPTIONS"
      PROCLIST=`get_pids $file`
      if [ "$PROCLIST" ] && kill -s 0 $PROCLIST 2>/dev/null; then
        echo -n "[Already running: $file] "
      elif $DAEMON $ARGS; then
        echo -n "[Started: $file] "
      else
        echo "[Failed: $file]"
        echo "You should check that you have specified the pid= in you 
configuration file"
        exit 1
      fi
    fi
  done;
}
killdaemons()
{
  SIGNAL=${1:-TERM}
  for file in $FILES; do
    PROCLIST=`get_pids $file`
    if [ "$PROCLIST" ] && kill -s 0 $PROCLIST 2>/dev/null; then
       kill -s $SIGNAL $PROCLIST
       echo -n "[stopped: $file] "
    fi
  done
}
if [ "x$OPTIONS" != "x" ]; then
  OPTIONS="-- $OPTIONS"
fi
test -f /etc/default/stunnel4 && . /etc/default/stunnel4
if [ "$ENABLED" = "0" ] ; then
  echo "$DESC disabled, see /etc/default/stunnel4"
  exit 0
fi
test -x $DAEMON || exit 0
set -e
case "$1" in
  start)
        echo -n "Starting $DESC: "
        startdaemons
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
        killdaemons
        echo "$NAME."
        ;;
  reopen-logs)
        echo -n "Reopening log files $DESC: "
        killdaemons USR1
        echo "$NAME."
        ;;
  force-reload|reload)
        echo -n "Reloading configuration $DESC: "
        killdaemons HUP
        echo "$NAME."
        ;;  
  restart)
        echo -n "Restarting $DESC: "
        killdaemons
        sleep 5
        startdaemons
        echo "$NAME."
        ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|reload|reopen-logs|restart}" >&2
        exit 1
        ;;
esac
exit 0

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: stunnel4
Source-Version: 3:4.35-2

We believe that the bug you reported is fixed in the latest version of
stunnel4, which is due to be installed in the Debian FTP archive:

stunnel4_4.35-2.debian.tar.gz
  to main/s/stunnel4/stunnel4_4.35-2.debian.tar.gz
stunnel4_4.35-2.dsc
  to main/s/stunnel4/stunnel4_4.35-2.dsc
stunnel4_4.35-2_amd64.deb
  to main/s/stunnel4/stunnel4_4.35-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luis Rodrigo Gallardo Cruz <[email protected]> (supplier of updated stunnel4 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 18 Apr 2011 20:46:01 -0700
Source: stunnel4
Binary: stunnel4
Architecture: source amd64
Version: 3:4.35-2
Distribution: unstable
Urgency: low
Maintainer: Luis Rodrigo Gallardo Cruz <[email protected]>
Changed-By: Luis Rodrigo Gallardo Cruz <[email protected]>
Description: 
 stunnel4   - Universal SSL tunnel for network daemons
Closes: 623221
Changes: 
 stunnel4 (3:4.35-2) unstable; urgency=low
 .
   * Fix variable substitution in init script (Closes: #623221).
     Thanks Tomas Kapralek <[email protected]> for report and diagnosis.
Checksums-Sha1: 
 44f13626898c8c456e08fca23b9389333f39a392 1221 stunnel4_4.35-2.dsc
 a7bc4c22069d1495da19e3a5eb2a2a67ee6b75c5 29501 stunnel4_4.35-2.debian.tar.gz
 91fb9f10dd90f499e0349c60d5e225e176f072f3 160008 stunnel4_4.35-2_amd64.deb
Checksums-Sha256: 
 2ea076ee5c26196647a78b2251f411a7c04ae56bd38ba7213e00bc46d798f4d5 1221 
stunnel4_4.35-2.dsc
 dcc5766ca6a7b1e4f61d96b450e52a3ddef309077cc7f653b02693598b501d5d 29501 
stunnel4_4.35-2.debian.tar.gz
 380fac61f73e58cae92f2b2569a0f7739652b9be985b8c2016c3a3bf56d4509e 160008 
stunnel4_4.35-2_amd64.deb
Files: 
 d3e765c6a2df9fd16b027f6500bf95bd 1221 net optional stunnel4_4.35-2.dsc
 8f2b5665ba36d186f5d6df75a3bb3676 29501 net optional 
stunnel4_4.35-2.debian.tar.gz
 23674fd13702dcfa775d7ce55554ebf4 160008 net optional stunnel4_4.35-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2uYggACgkQAZmDGK3JvChGPACfRWLCeXdGN5a5vVurcj0J5BFX
7QcAn004QOM4TyaedUqJqlg7VUKI5Nte
=FIxH
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to