Debian Bug report logs - #376366
file-rc 0.8.8 breaks system boot

version graph

Package: file-rc; Maintainer for file-rc is (unknown);

Reported by: Andreas Pakulat <apaku@gmx.de>

Date: Sun, 2 Jul 2006 11:18:05 UTC

Severity: critical

Found in versions file-rc/0.8.7, file-rc/0.8.9

Fixed in version file-rc/0.8.10

Done: Roland Rosenfeld <roland@spinnaker.de>

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, Roland Rosenfeld <roland@debian.org>:
Bug#376366; Package file-rc. (full text, mbox, link).


Acknowledgement sent to Andreas Pakulat <apaku@gmx.de>:
New Bug report received and forwarded. Copy sent to Roland Rosenfeld <roland@debian.org>. (full text, mbox, link).


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

From: Andreas Pakulat <apaku@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: file-rc 0.8.8 breaks system boot
Date: Sun, 02 Jul 2006 12:38:15 +0200
Package: file-rc
Version: 0.8.7
Severity: critical
Justification: breaks the whole system

Hi,

last night I upgraded file-rc to 0.8.8 before shutting down the pc. And
this morning when it tried to boot somehow the init scripts weren't run
properly. I landed on a login-prompt, while a display manager should've
come up. After logging in, all that is mounted is /, no /usr, no /var
nothing else.

I rebooted into single user mode and it seemed that no init-scripts were
run, i.e. not even udev. I again had only / mounted and had no way of
even activating my LVM volumes (I don't have the error messages from
that at hand).

After reinstalling 0.8.7 everythings fine again.

Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Roland Rosenfeld <roland@debian.org>:
Bug#376366; Package file-rc. (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Roland Rosenfeld <roland@debian.org>. (full text, mbox, link).


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

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Andreas Pakulat <apaku@gmx.de>, 376366@bugs.debian.org, 376366-submitter@bugs.debian.org
Cc: Marc Haber <mh+debian-bugs@zugschlus.de>
Subject: Re: Bug#376366: file-rc 0.8.8 breaks system boot
Date: Sun, 2 Jul 2006 16:02:00 +0200
On Sun, Jul 02, 2006 at 12:38:15PM +0200, Andreas Pakulat wrote:
> last night I upgraded file-rc to 0.8.8 before shutting down the pc. And
> this morning when it tried to boot somehow the init scripts weren't run
> properly. I landed on a login-prompt, while a display manager should've
> come up. After logging in, all that is mounted is /, no /usr, no /var
> nothing else.
> 
> I rebooted into single user mode and it seemed that no init-scripts were
> run, i.e. not even udev. I again had only / mounted and had no way of
> even activating my LVM volumes (I don't have the error messages from
> that at hand).
> 
> After reinstalling 0.8.7 everythings fine again.

I can confirm this behavior. Additionally, shutdown fails: One is
dropped into a sulogin prompt. The only way to shut the system down
seems to be pulling the plug.

Downgrading to 0.8.7 solved the issue for me as well.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



Message sent on to Andreas Pakulat <apaku@gmx.de>:
Bug#376366. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Roland Rosenfeld <roland@debian.org>:
Bug#376366; Package file-rc. (full text, mbox, link).


Acknowledgement sent to Black Dew <bdew@bdew.yi.org>:
Extra info received and forwarded to list. Copy sent to Roland Rosenfeld <roland@debian.org>. (full text, mbox, link).


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

From: Black Dew <bdew@bdew.yi.org>
To: 376366@bugs.debian.org
Subject: Re: Bug#376366: file-rc 0.8.8 breaks system boot
Date: Sun, 02 Jul 2006 18:13:09 +0300
This seems to happen because the IFS variable is changed inside the 
"element" function and isn't restored back. This makes the config file 
be parsed incorrectly and none of the boot scripts are run.

I've worked around this problem by saving and restoring the IFS in the 
loop that parses the config file.



Information forwarded to debian-bugs-dist@lists.debian.org, Roland Rosenfeld <roland@debian.org>:
Bug#376366; Package file-rc. (full text, mbox, link).


Acknowledgement sent to Jan Niehusmann <jan@gondor.com>:
Extra info received and forwarded to list. Copy sent to Roland Rosenfeld <roland@debian.org>. (full text, mbox, link).


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

From: Jan Niehusmann <jan@gondor.com>
To: 376366@bugs.debian.org
Subject: POSIX patch is causing the problem
Date: Mon, 3 Jul 2006 13:59:47 +0200
Hi,

the observation that IFS is causing the problem looks plausible, and if
it's true, the offending change is this one:

--- /etc/init.d/rcS	2004-08-14 18:47:29.000000000 +0200
+++ rcS	2005-10-30 11:05:07.000000000 +0100
@@ -55,9 +55,6 @@
 trap ":" INT QUIT TSTP
 
 element() {
-    local element list IFS
-
-
     element="$1"
 	
     [ "$2" = "in" ] && shift


It's from the posix patch in #292632. A quick workaround would be to
remove this patch and depend on bash instead. A working posix-compatible
fix would be even better, of course.

Jan

PS: Roland, da hast Du mir aber einen riesen Schreck eingejagt, als mein
Notebook heute morgen auf einmal nicht mehr bootete *g*




Reply sent to Roland Rosenfeld <roland@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Andreas Pakulat <apaku@gmx.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #28 received at 376366-close@bugs.debian.org (full text, mbox, reply):

From: Roland Rosenfeld <roland@debian.org>
To: 376366-close@bugs.debian.org
Subject: Bug#376366: fixed in file-rc 0.8.9
Date: Mon, 03 Jul 2006 09:02:09 -0700
Source: file-rc
Source-Version: 0.8.9

We believe that the bug you reported is fixed in the latest version of
file-rc, which is due to be installed in the Debian FTP archive:

file-rc_0.8.9.dsc
  to pool/main/f/file-rc/file-rc_0.8.9.dsc
file-rc_0.8.9.tar.gz
  to pool/main/f/file-rc/file-rc_0.8.9.tar.gz
file-rc_0.8.9_all.deb
  to pool/main/f/file-rc/file-rc_0.8.9_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 376366@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Rosenfeld <roland@debian.org> (supplier of updated file-rc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


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

Format: 1.7
Date: Mon,  3 Jul 2006 17:50:05 +0200
Source: file-rc
Binary: file-rc
Architecture: source all
Version: 0.8.9
Distribution: unstable
Urgency: high
Maintainer: Roland Rosenfeld <roland@debian.org>
Changed-By: Roland Rosenfeld <roland@debian.org>
Description: 
 file-rc    - Alternative boot mechanism using a single configuration file
Closes: 376366
Changes: 
 file-rc (0.8.9) unstable; urgency=high
 .
   * Fix the IFS bug introduced with the previous version, which implied
     that /etc/init.d/rc did nothing any more (Closes: #376366).
Files: 
 8b3878fe6c33e19bc2997692cec41cf8 489 admin extra file-rc_0.8.9.dsc
 2d36ce09a579ee7bb26e6f0ecde32dd7 65505 admin extra file-rc_0.8.9.tar.gz
 3dda08987b85cf514b976794a08172e5 36496 admin extra file-rc_0.8.9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEqTz3O7/Pd72LBQ0RAiH8AJ4umoygzo3oK7dnM5a2GJn+PkqGjQCggMcP
ucfjHaPdeLoO0YDJr2Q8G4Y=
=R7bi
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Roland Rosenfeld <roland@debian.org>:
Bug#376366; Package file-rc. (full text, mbox, link).


Acknowledgement sent to Roland Rosenfeld <roland@spinnaker.de>:
Extra info received and forwarded to list. Copy sent to Roland Rosenfeld <roland@debian.org>. (full text, mbox, link).


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

From: Roland Rosenfeld <roland@spinnaker.de>
To: control@bugs.debian.org
Cc: 376366@bugs.debian.org
Subject: asdf
Date: Mon, 3 Jul 2006 18:39:21 +0200
found 376366 0.8.9
close 376366 0.8.10
thanks

Damn, 0.8.9 still contains this error, but 0.8.10 really fixes it.

Tschoeeee

        Roland



Bug marked as found in version 0.8.9. Request was from Roland Rosenfeld <roland@spinnaker.de> to control@bugs.debian.org. (full text, mbox, link).


Bug marked as fixed in version 0.8.10, send any further explanations to Andreas Pakulat <apaku@gmx.de> Request was from Roland Rosenfeld <roland@spinnaker.de> to control@bugs.debian.org. (full text, mbox, link).


Bug marked as not found in version 0.8.7. Request was from Filipus Klutiero <chealer@vif.com> to control@bugs.debian.org. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jun 2007 07:46:33 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: Sun Jan 14 01:15:53 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.