Debian Bug report logs - #587353
dash: Dash prevents system from booting

version graph

Package: dash; Maintainer for dash is Andrej Shadura <andrewsh@debian.org>; Source for dash is src:dash (PTS, buildd, popcon).

Reported by: Mickaël Leduque <mleduque@gmail.com>

Date: Sun, 27 Jun 2010 19:51:10 UTC

Severity: grave

Merged with 586736, 586807, 587086, 595228, 611416

Found in version dash/0.5.6.1-1~exp0

Fixed in version 0.5.6.1-1~exp0+RM

Done: Jonathan Nieder <jrnieder@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, mleduque@gmail.com, Gerrit Pape <pape@smarden.org>:
Bug#587353; Package dash. (Sun, 27 Jun 2010 19:51:13 GMT) (full text, mbox, link).


Acknowledgement sent to Mickaël Leduque <mleduque@gmail.com>:
New Bug report received and forwarded. Copy sent to mleduque@gmail.com, Gerrit Pape <pape@smarden.org>. (Sun, 27 Jun 2010 19:51:13 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mickaël Leduque <mleduque@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dash: Dash prevents system from booting
Date: Sun, 27 Jun 2010 21:50:40 +0200
Package: dash
Version: 0.5.6.1-1~exp0
Severity: important

Suddenly, after an upgrade, the system did not boot at all.
All I had was somthing like :

INIT 2.88
/bin/sh: Can't open /etc/init.d/rcS
....
/bin/sh: Can't open /etc/init.d/rc

It took me some time to guess what the problem was (I'm still not sure how I managed to find).
Once I did dpkg-reconfigure dash and said I wanted bash as boot shell, the system booted again.

I don't know why it suddenly didn't work. I wasn't even aware (or didn't remember) that bash was replaced at boot time.

The error messages above are strange because /etc/init.d/rc* are world readable, and /etc and /etc/init.d are world executable.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  debianutils                   3.2.3      Miscellaneous utilities specific t
ii  dpkg                          1.15.7.2   Debian package management system
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: false




Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#587353; Package dash. (Fri, 02 Jul 2010 16:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jean-Pierre Flori <jpflori@gmail.com>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Fri, 02 Jul 2010 16:30:03 GMT) (full text, mbox, link).


Message #10 received at 587353@bugs.debian.org (full text, mbox, reply):

From: Jean-Pierre Flori <jpflori@gmail.com>
To: 587353@bugs.debian.org
Date: Fri, 2 Jul 2010 18:27:00 +0200
I had the same bug, resolved it the same way, but was too lazy to report it.
By the way it wasn't only a problem for init scripts (which however
was quite problematic, preventing the system from booting correctly),
but also for some other scripts.
Typically the iceweasel command which is a shell script didn't work,
whereas running directly the binary was not a problem.
Potentially it could affect more scripts.

Regards,
-- 
Jean-Pierre Flori




Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#587353; Package dash. (Sat, 31 Jul 2010 14:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to Lars Wendler <polynomial-c@gentoo.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Sat, 31 Jul 2010 14:42:03 GMT) (full text, mbox, link).


Message #15 received at 587353@bugs.debian.org (full text, mbox, reply):

From: Lars Wendler <polynomial-c@gentoo.org>
To: 587353@bugs.debian.org
Subject: Re: dash: Dash prevents system from booting
Date: Sat, 31 Jul 2010 16:34:15 +0200
[Message part 1 (text/plain, inline)]
Hi,

this error seems to be caused by 0006--INPUT-exit-127-if-command_file-is-given-
but-doesn-t.diff from dash_0.5.6.1-1~exp0.diff.gz

As soon as I remove this patch all errors are gone and dash behaves as 
expected.

Cheers
-- 
Lars Wendler (Polynomial-C)
Gentoo developer and bug-wrangler
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#587353; Package dash. (Sat, 31 Jul 2010 20:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to Jonathan Nieder <jrnieder@gmail.com>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Sat, 31 Jul 2010 20:51:08 GMT) (full text, mbox, link).


Message #20 received at 587353@bugs.debian.org (full text, mbox, reply):

From: Jonathan Nieder <jrnieder@gmail.com>
To: Lars Wendler <polynomial-c@gentoo.org>
Cc: 587353@bugs.debian.org
Subject: Re: Bug#587353: dash: Dash prevents system from booting
Date: Sat, 31 Jul 2010 15:48:41 -0500
forcemerge 586736 587353

Lars Wendler wrote:

> this error seems to be caused by 0006--INPUT-exit-127-if-command_file-is-given-
> but-doesn-t.diff from dash_0.5.6.1-1~exp0.diff.gz

Thanks!

For what it’s worth, I would be willing to prepare an upload to fix this
if anyone is interested in sponsoring it.  The fix is just to remove that
patch (which Gerrit has said would be fine to remove).




Forcibly Merged 586736 586807 587353. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 31 Jul 2010 20:51:13 GMT) (full text, mbox, link).


Forcibly Merged 586736 586807 587353 595228. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 02 Sep 2010 09:06:07 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 29 Nov 2010 07:28:43 GMT) (full text, mbox, link).


Bug unarchived. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Jan 2011 02:21:06 GMT) (full text, mbox, link).


Forcibly Merged 586736 586807 587353 595228 611416. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sat, 29 Jan 2011 02:21:08 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 26 Feb 2011 07:31:12 GMT) (full text, mbox, link).


Bug unarchived. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sun, 21 Aug 2011 06:24:06 GMT) (full text, mbox, link).


Forcibly Merged 586736 586807 587086 587353 595228 611416. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Sun, 21 Aug 2011 06:24:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 18 Sep 2011 07:29:44 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 16 12:08:33 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.