Your message dated Thu, 1 Mar 2001 00:01:21 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#88045: Policy is contradictory (I think)
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Feb 2001 21:52:38 +0000
>From [EMAIL PROTECTED] Wed Feb 28 15:52:37 2001
Return-path: <[EMAIL PROTECTED]>
Received: from shiva.jussieu.fr [::ffff:134.157.0.129] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 14YEWT-0001zc-00; Wed, 28 Feb 2001 15:52:37 -0600
Received: from fer.pps.jussieu.fr ([EMAIL PROTECTED] [134.157.168.26])
          by shiva.jussieu.fr (8.10.0/jtpda-5.3.3) with ESMTP id f1SLqAf72468
          for <[EMAIL PROTECTED]>; Wed, 28 Feb 2001 22:52:10 +0100 (CET)
Received: from jch by fer.pps.jussieu.fr with local (Exim 3.12 #1 (Debian))
        id 14YEWQ-0003YR-00
        for <[EMAIL PROTECTED]>; Wed, 28 Feb 2001 22:52:34 +0100
To: [EMAIL PROTECTED]
Subject: Policy is contradictory (I think)
From: Juliusz Chroboczek <[EMAIL PROTECTED]>
Date: 28 Feb 2001 22:52:34 +0100
Message-ID: <[EMAIL PROTECTED]>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]

Package: debian-policy
Version: 3.1.1.1

Section 4.4 says:

> The standard shell interpreter ``/bin/sh'' may be a symbolic link to
> any POSIX compatible shell.

Section 3.3.6 gives examples for init.d scripts using ``echo -n''.

Now POSIX leaves the behaviour of ``echo'' with arguments starting
with `-' undefined (in order to accomodate both SYSV and BSD versions
of echo).  In addition, POSIX allows echo to be a shell builtin.

Therefore, the script given in 3.3.6 will not work if echo is a shell
builtin with SYSV semantics.  This is not a purely theoretical issue:
ksh93 behaves just like that, and can therefore not be used as /bin/sh
on a Debian system.

Solutions include:

1. making all /bin/sh scripts use printf instead of echo -n (this is
   the portable way; POSIX deprecates the use of echo);

2. making all /bin/sh scripts use /bin/echo instead of echo (not
   portable to other POSIX systems).

3. making all /bin/sh scripts use GNU shelltool instead of echo (yuck).

4. updating section 4.4 in policy with a caveat about echo.

Regards,

                                        Juliusz Chroboczek

---------------------------------------
Received: (at 88045-done) by bugs.debian.org; 1 Mar 2001 00:06:10 +0000
>From [EMAIL PROTECTED] Wed Feb 28 18:06:10 2001
Return-path: <[EMAIL PROTECTED]>
Received: from mserv1a.vianw.co.uk [::ffff:195.102.240.34] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 14YGbi-0003CV-00; Wed, 28 Feb 2001 18:06:10 -0600
Received: from [195.102.196.69] (helo=polya)
        by mserv1a.vianw.co.uk with esmtp (Exim 3.22 #5)
        id 14YGbP-0006hy-00; Thu, 01 Mar 2001 00:05:51 +0000
Received: from jdg by polya with local (Exim 3.22 #1 (Debian))
        id 14YGX3-0003Zs-00; Thu, 01 Mar 2001 00:01:21 +0000
Date: Thu, 1 Mar 2001 00:01:21 +0000
From: Julian Gilbey <[EMAIL PROTECTED]>
To: Juliusz Chroboczek <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#88045: Policy is contradictory (I think)
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Wed, Feb 28, 2001 
at 10:52:34PM +0100
Sender: Julian Gilbey <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

On Wed, Feb 28, 2001 at 10:52:34PM +0100, Juliusz Chroboczek wrote:
> Package: debian-policy
> Version: 3.1.1.1
> 
> 4. updating section 4.4 in policy with a caveat about echo.

This was done in version 3.2.1.0 of policy, Bug#48247: echo -n must
not generate a new line.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/

Reply via email to