Your message dated Thu, 08 May 2014 14:20:21 -0700
with message-id <[email protected]>
and subject line Re: Bug#572003: UUID problem
has caused the Debian Bug report #572003,
regarding kernel-package: initrd-handling is totaly broken
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.)
--
572003: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572003
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kernel-package
Version: 12.033
Severity: important
generation of initrd is now handled by scripts in /etc/kernel. whoch
have to be set up on the host, teh kernel ist to be installed. This is
totaly broken.
Needing an initrd or not, is a property of the kernel, not of the
system the kernel get's installed. So it should be configured on a
per-kernel basis and the configuration should be packaged with the
kernel.
At the moment it is configured on a per-host basis und “packaged” with
the host.
The effect is:
* if the kernel needs an initrd and the install-host is not set up for
initrd-generation the initrd is missing and has to be generated per
hand.
* if the kernel does not need an initrd and the system is set up for
initrd-generation the initrd is generated and update-grub adds an
initrd-line into menu.conf.
make-kpkg should generate packages that can be installed on a system
without needing manual chekup and interaction. In short they should
behave like the Debian-kernel-packages.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages kernel-package depends on:
ii binutils 2.20-6 The GNU assembler, linker and bina
ii build-essential 11.4 Informational list of build-essent
ii debianutils 3.2.2 Miscellaneous utilities specific t
ii file 5.04-1 Determines file type using "magic"
ii gettext 0.17-9 GNU Internationalization utilities
ii make 3.81-7 An utility for Directing compilati
ii module-init-tools 3.12~pre1-1 tools for managing Linux kernel mo
ii po-debconf 1.0.16 tool for managing templates file t
ii util-linux 2.16.2-0 Miscellaneous system utilities
Versions of packages kernel-package recommends:
ii cpio 2.10-1 GNU cpio -- a program to manage ar
Versions of packages kernel-package suggests:
pn btrfs-tools <none> (no description available)
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii docbook-utils 0.6.14-1.1 Convert Docbook files to other for
ii e2fsprogs 1.41.10-1 ext2/ext3/ext4 file system utiliti
ii grub-legacy [grub] 0.97-59 GRand Unified Bootloader (Legacy v
ii initramfs-tools [linux-in 0.93.4 tools for generating an initramfs
pn jfsutils <none> (no description available)
ii libncurses5-dev [libncurs 5.7+20090803-2 developer's libraries and docs for
pn linux-source | kernel-sou <none> (no description available)
ii mcelog 1.0~pre1-1 x86-64 Machine Check Exceptions co
pn oprofile <none> (no description available)
pn pcmciautils <none> (no description available)
ii ppp 2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da
ii procps 1:3.2.8-7 /proc file system utilities
pn quota <none> (no description available)
pn reiserfsprogs <none> (no description available)
pn squashfs-tools <none> (no description available)
ii udev 151-2 /dev/ and hotplug management daemo
pn xfsprogs <none> (no description available)
ii xmlto 0.0.23-2 XML-to-any converter
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sat, Mar 03 2012, Ben Hutchings wrote:
> On Tue, 2010-07-20 at 22:46 -0700, Manoj Srivastava wrote:
>> On Tue, May 25 2010, Benoît Zhang wrote:
>>
>> >>> * if the kernel does not need an initrd and the system is set up for
>> >>> initrd-generation the initrd is generated and update-grub adds an
>> >>> initrd-line into menu.conf.
>> >>
>> >> This is not the case. If the kernel was not set up with an
>> >> initrd in mind, no inird is created. My desktop never gets an initrd
>> >> line.
>> >
>> > There is another problem/bug (kernel-package or initramfs-tools or
>> > grub2 bug ?).
>> > - If initramfs-tools is installed, a intrd is always generated in
>> > /boot even the kernel is built without initrd.
>> > - If grub2 finds a initrd in /boot, it uses root=UUID=... in
>> > /boot/grub/grub.cfg, but the kernel can't boot UUID if it is built
>> > without initrd.
>>
>> A workaround is to remove the /etc/kernel/*.d/initramfs* scripts
>> and instead use the scripts shipped with kernel-package, which don't
>> build an initrd unless one is asked for.
>
> initramfs-tools checks for kernel-package's INITRD=No setting, therefore
> I think this is no longer a problem in practice.
>
> However this is not written into policy at
> http://kernel-handbook.alioth.debian.org/ch-update-hooks.html#s-kernel-hooks-initramfs
> so this is not entirely solved.
So this is no longer something that needs fixing in the
kernel-package code. I don't think that we need to assign this to
initramfs-tools unless there is a concrete issue.
Resolving this report.
manoj
--
The use of anthropomorphic terminology when dealing with computing
systems is a symptom of professional immaturity. -- Edsger Dijkstra
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/>
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C
signature.asc
Description: PGP signature
--- End Message ---