Your message dated Mon, 05 May 2008 10:23:24 +0200
with message-id <[EMAIL PROTECTED]>
and subject line initrd-tools has been removed from Debian, closing #353952
has caused the Debian Bug report #353952,
regarding initrd-tools: LVM2-on-root fails w/o devfs
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.)


-- 
353952: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353952
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: initrd-tools
Version: 0.1.81.1
Severity: normal
Tags: patch

When trying to boot off an initrd created for a LVM2 root with a
devfs-less kernel, the LVM tools attempt and fail to create device nodes
under /dev/mapper (since cramfs is read-only).

I know this has been declared "fixed" by telling everybody to move on to
initramfs-tools (I must say I find it a dubious practice to close bugs
that way), but this is of little solace to those of us running sarge.

So, I'm attaching a quick and dirty patch to mkinitrd that solves this
issue.  It's ugly and produces some warnings on boot, but it works.  (It
shouldn't break thinks for devfs-enabled kernels either, but I haven't
tested that assumption.)  Simply apply the patch, run dpkg-divert, and
you're all set.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-3
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils]         5.93-5     The GNU core utilities
ii  cpio                          2.6-10     GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.3-2    The Debian Almquist Shell
ii  util-linux                    2.12r-6    Miscellaneous system utilities

initrd-tools recommends no packages.

-- debconf-show failed
--- mkinitrd.distrib    2005-05-26 19:44:00.000000000 -0400
+++ mkinitrd    2006-02-21 18:04:54.000000000 -0500
@@ -305,7 +305,9 @@
                                cat /var/lvm.conf > /etc/lvm/lvm.conf
                        fi
                        mount -nt devfs devfs /dev
+                       mount -nt tmpfs tmpfs /dev/mapper
                        vgchange -a y ${vg}
+                       umount /dev/mapper
                        umount /dev
                        umount -n /var
                        umount -n /etc/lvm
@@ -1277,7 +1279,7 @@
        esac
 
        cd initrd
-       mkdir -p dev2 devfs etc keyscripts mnt proc scripts sys tmp var
+       mkdir -p dev/mapper dev2 devfs etc keyscripts mnt proc scripts sys tmp 
var
 
        > etc/mtab
 

--- End Message ---
--- Begin Message ---
Version: 0.1.84.2+rm

The initrd-tools package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/393092 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.
-- 
Lucas


--- End Message ---

Reply via email to