Skip to Content.
Sympa Menu

sm-users - [SM-Users] Simpleinit problem. Important!

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: "Robert Helgesson" <rycee AT home.se>
  • To: sm-users AT lists.ibiblio.org
  • Subject: [SM-Users] Simpleinit problem. Important!
  • Date: Sat, 10 Jan 2004 16:37:05 +0100

Due to an integer overflow error the init program no longer works
properly. When booting the entire process will function well up to the
point where the login prompt should appear. At that time a number of
error messages will appear, they will look like the following lines.

respawning: "tty1" too fast: quenching entry
respawning: "tty2" too fast: quenching entry
respawning: "tty3" too fast: quenching entry
... and so on

No login prompts appear and the only way to get access to the computer
is by using /bin/bash as a the init program or possibly through a rescue
disk.

The attached patch modifies the simpleinit-msb spell to apply a fix
during a cast. The fix should also soon be available in the grimoires.
Updating is very strongly recommended :)

--
/ Robert Helgesson |-- rycee AT home.se --\
\-- GPG Key ID: 41E95A5B --| http://www.rycee.cx/ /
diff -Nurp simpleinit-msb.orig/BUILD simpleinit-msb/BUILD
--- simpleinit-msb.orig/BUILD 2004-01-10 15:53:44.000000000 +0100
+++ simpleinit-msb/BUILD 2004-01-10 16:00:36.000000000 +0100
@@ -1,5 +1,8 @@
(

+ # Fix nasty overflow bug
+ sedit 's/long ds_taken/long &/' login-utils/simpleinit.c &&
+
./configure &&
make OPT="$CFLAGS" &&
prepare_install &&
diff -Nurp simpleinit-msb.orig/DETAILS simpleinit-msb/DETAILS
--- simpleinit-msb.orig/DETAILS 2004-01-10 15:53:44.000000000 +0100
+++ simpleinit-msb/DETAILS 2004-01-10 15:56:10.000000000 +0100
@@ -7,7 +7,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
LICENSE[0]=GPL
WEB_SITE=http://www.winterdrache.de/linux/newboot/
ENTERED=20030505
- UPDATED=20030505
+ UPDATED=20040110
SHORT="Simpleinit-MSB is a replacement for SysVinit."
cat << EOF
Simpleinit-MSB is a replacement for the SysVinit. It provides a simple way of
diff -Nurp simpleinit-msb.orig/HISTORY simpleinit-msb/HISTORY
--- simpleinit-msb.orig/HISTORY 2004-01-10 15:53:44.000000000 +0100
+++ simpleinit-msb/HISTORY 2004-01-10 15:56:42.000000000 +0100
@@ -1,3 +1,6 @@
+2004-01-10 Robert Helgesson <rycee AT home.se>
+ * BUILD: Apply a fix to simpleinit.c which fixes an overflow bug.
+
2003-12-02 Eric Sandall <eric AT sandall.us>
* BUILD: Use INSTALL_ROOT
Should write a patch to change sysvtools/Makefile to use



Archive powered by MHonArc 2.6.24.

Top of Page