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

On 25-01-2005 22:23, Debian User wrote:
> Package: pop-before-smtp
> Version: 1.28-6
> Severity: normal
> File: /etc/init.d/pop-before-smtp
> Tags: patch
> 
> The variable "pid" has been renamed to "PID", but there's still
> a call to the lowercase name.  As side effect, 'cat' hangs
> indefinitely waiting for stdin (since no filename is given).
> This bug affects only the command
>       /etc/init.d/pop-before-smtp status
> 
> This is the simple fix:
> ================================================================
> *** /tmp/pop-before-smtp.patch
> --- /etc/init.d/pop-before-smtp.orig  Wed Mar 27 00:00:00 2002
> +++ /etc/init.d/pop-before-smtp       Tue Jan 25 16:51:04 2005
> @@ -60,7 +60,7 @@
>       $0 start
>       ;;
>    status)
> -     p=`cat $pid 2>/dev/null`
> +     p=`cat $PID 2>/dev/null`
>       test -n "$p" || die "no pidfile for $DESC"
>       kill -0 $p || die "$NAME[$p] is no longer running"
>       ps -up $p
> ================================================================

Thanks alot!


As this bug is with the stable release of Debian, no changes except
security-related ones are accepted, unfortunately. But now at least the
info is public so others bitten by the problem can benefit from your
discovery.


regards,

 - Jonas

- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB9tvHn7DbMsAkQLgRAp/yAJ4muMxdpIpKjwbg+jAaRZ26pcj5rQCdF4ck
7hGarzNrPc5TQgZnt2vo4po=
=lk7B
-----END PGP SIGNATURE-----

Reply via email to