Package: klibc-utils
Version: 1.5.9-1
Severity: normal
File: run-init
When run-init fails to nuke the initramfs (old root) it exits causing a
kernel panic. Although this is an error it should not cause the system
to be unbootable.
I suspect the root of the failure is that nuke cannot cope with file
mounts (single files mounted, not directories). These are the result of
using fuse to get to the root filesystem (httpfs, curlftpfs).
Thanks
Michal
--- klibc-1.5.9/usr/kinit/run-init/runinitlib.c 2008-03-28 21:25:36.000000000
+0100
+++ klibc-1.5.9.new/usr/kinit/run-init/runinitlib.c 2008-04-15
15:01:30.000000000 +0200
@@ -119,6 +119,7 @@
err = nuke_dirent(len, what, d->d_name, st.st_dev);
if (err) {
+ fprintf(stderr, "nuke_dirent '%s' - error \n", what);
closedir(dir);
return err;
}
@@ -190,7 +191,7 @@
/* Delete rootfs contents */
if (nuke_dir("/"))
- return "nuking initramfs contents";
+ fprintf (stderr, "Error nuking initramfs contents.");
/* Overmount the root */
if (mount(".", "/", NULL, MS_MOVE, NULL))
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23.3-src (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages klibc-utils depends on:
ii libklibc 1.5.9-1 minimal libc subset for use with i
klibc-utils recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]