Your message dated Sun, 6 Jul 2008 16:15:16 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#482537: dash refuse '-r' "restricted" option which is
widely used by configuration scripts
has caused the Debian Bug report #482537,
regarding dash refuse '-r' "restricted" option which is widely used by
configuration scripts
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.)
--
482537: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482537
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dash
Version: 0.5.4-9
Severity: important
Hi,
When sh is diverted to dash, package configuration often fails almost
without a sight because 'sh -r' commands fail.
[EMAIL PROTECTED]:~/scripts$ cat iww
echo "It won't work"
[EMAIL PROTECTED]:~/scripts$ sh -r iww # sh is diverted to bash
It won't work
[EMAIL PROTECTED]:~/scripts$ dash -r iww
dash: Illegal option -r
-- System Information:
Debian Release: lenny/sid
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages dash depends on:
ii libc6 2.7-11 GNU C Library: Shared libraries
dash recommends no packages.
-- debconf information:
* dash/sh: false
--- End Message ---
--- Begin Message ---
On Fri, May 23, 2008 at 02:58:04PM +0200, Yves Lambert wrote:
> When sh is diverted to dash, package configuration often fails almost
> without a sight because 'sh -r' commands fail.
>
> [EMAIL PROTECTED]:~/scripts$ cat iww
> echo "It won't work"
> [EMAIL PROTECTED]:~/scripts$ sh -r iww # sh is diverted to bash
> It won't work
> [EMAIL PROTECTED]:~/scripts$ dash -r iww
> dash: Illegal option -r
Hi Yves, that's true. dash limits itself to POSIX features plus some
extension, see also
http://www.opengroup.org/onlinepubs/009695399/utilities/sh.html
On Debian you cannot rely on /bin/sh supporting -r, and should use
/bin/bash or some other shell that supports it explicitly.
Regards, Gerrit.
--- End Message ---