[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#88045: marked as done (Policy is contradictory (I think))



Your message dated Thu, 1 Mar 2001 00:01:21 +0000
with message-id <20010301000121.C13292@polya>
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 jch@pps.jussieu.fr Wed Feb 28 15:52:37 2001
Return-path: <jch@pps.jussieu.fr>
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 (mail@fer.pps.jussieu.fr [134.157.168.26])
          by shiva.jussieu.fr (8.10.0/jtpda-5.3.3) with ESMTP id f1SLqAf72468
          for <submit@bugs.debian.org>; 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 <submit@bugs.debian.org>; Wed, 28 Feb 2001 22:52:34 +0100
To: submit@bugs.debian.org
Subject: Policy is contradictory (I think)
From: Juliusz Chroboczek <jch@pps.jussieu.fr>
Date: 28 Feb 2001 22:52:34 +0100
Message-ID: <[🔎] tpae76qxul.fsf@fer.pps.jussieu.fr>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: submit@bugs.debian.org

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 J.D.Gilbey@qmw.ac.uk Wed Feb 28 18:06:10 2001
Return-path: <J.D.Gilbey@qmw.ac.uk>
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 <J.D.Gilbey@qmw.ac.uk>
To: Juliusz Chroboczek <jch@pps.jussieu.fr>, 88045-done@bugs.debian.org
Subject: Re: Bug#88045: Policy is contradictory (I think)
Message-ID: <20010301000121.C13292@polya>
References: <[🔎] tpae76qxul.fsf@fer.pps.jussieu.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
In-Reply-To: <[🔎] tpae76qxul.fsf@fer.pps.jussieu.fr>; from jch@pps.jussieu.fr on Wed, Feb 28, 2001 at 10:52:34PM +0100
Sender: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
Delivered-To: 88045-done@bugs.debian.org

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 to: