[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#573761: marked as done (initramfs-tools: mkinitramfs fails with MODULES=dep if crypto-root fs has snapshot)



Your message dated Mon, 05 Apr 2010 22:12:54 +0000
with message-id <E1NyuXO-00083p-QU@ries.debian.org>
and subject line Bug#573761: fixed in initramfs-tools 0.94
has caused the Debian Bug report #573761,
regarding initramfs-tools: mkinitramfs fails with MODULES=dep if crypto-root fs has snapshot
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 owner@bugs.debian.org
immediately.)


-- 
573761: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573761
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.93.4
Severity: normal
File: /usr/sbin/update-initramfs

Hi,

my system has its root FS on a crypted LV. Recently, before doing a
rather invasive update, I decided to take a snapshot of the root FS.
This confuses update-initramfs:

[29/526]mh@swivel:~/bigstuff/agent/running$ sudo lvcreate --snapshot --size 1G --name c_rootsnap /dev/swivel/c_root
  Logical volume "c_rootsnap" created
[30/527]mh@swivel:~/bigstuff/agent/running$ sudo update-initramfs -k 2.6.33-zgws1 -u
update-initramfs: Generating /boot/initrd.img-2.6.33-zgws1
mkinitramfs: for root /dev/mapper/root missing dm- /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.33-zgws1
[31/528]mh@swivel:~/bigstuff/agent/running$ sudo lvremove /dev/mapper/swivel-c_rootsnap
Do you really want to remove active logical volume c_rootsnap? [y/n]: y
  Logical volume "c_rootsnap" successfully removed
[32/529]mh@swivel:~/bigstuff/agent/running$ sudo update-initramfs -k 2.6.33-zgws1 -u
update-initramfs: Generating /boot/initrd.img-2.6.33-zgws1
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mdadm: no arrays defined in configuration file.
[33/530]mh@swivel:~/bigstuff/agent/running$

Greetings
Marc

-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.33-zgws1 root=/dev/mapper/root ro resume=/dev/mapper/swap1 quiet splash hpet=force video=radeon:force_sleep,1400x1050-24@60

-- /proc/filesystems
	ext3
	udf
	iso9660
	vfat

-- lsmod
Module                  Size  Used by
iwl3945                62453  0 
iwlcore                75506  1 iwl3945
mac80211              106524  2 iwl3945,iwlcore
cfg80211               73546  3 iwl3945,iwlcore,mac80211
iptable_filter          1030  0 
ipt_MASQUERADE          1130  8 
iptable_nat             2798  1 
nf_nat                 10767  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4       7663  3 iptable_nat,nf_nat
nf_defrag_ipv4           799  1 nf_conntrack_ipv4
ip_tables               7397  2 iptable_filter,iptable_nat
vfat                    6820  0 
fat                    36008  1 vfat
isofs                  25174  0 
nls_utf8                 928  0 
udf                    62456  0 
usb_storage            29897  0 
tun                     8884  2 
binfmt_misc             4883  1 
rfcomm                 25525  6 
sco                     6231  2 
bnep                    7203  2 
l2cap                  25549  16 rfcomm,bnep
crc16                   1011  1 l2cap
vboxnetflt             10598  0 
vboxnetadp              5186  0 
vboxdrv               116590  2 vboxnetflt,vboxnetadp
nf_conntrack_netlink    12636  0 
nf_conntrack           39683  5 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_netlink
nfnetlink               1838  6 nf_conntrack_netlink
ipt_ULOG                4461  1 
x_tables                9112  4 ipt_MASQUERADE,iptable_nat,ip_tables,ipt_ULOG
ppdev                   4294  0 
lp                      5768  0 
parport                12962  2 ppdev,lp
acpi_cpufreq            5055  1 
cpufreq_powersave        606  0 
cpufreq_userspace       1372  2 
cpufreq_conservative     7036  0 
cpufreq_ondemand        6169  0 
freq_table              1743  2 acpi_cpufreq,cpufreq_ondemand
8021q                  14027  0 
bridge                 35340  0 
stp                     1032  1 bridge
llc                     2613  2 bridge,stp
ipv6                  195862  38 
sr_mod                 11469  0 
cdrom                  25675  1 sr_mod
firewire_sbp2           9669  0 
snd_hda_codec_analog    46653  1 
snd_hda_intel          16009  4 
btusb                   8416  2 
snd_hda_codec          42520  2 snd_hda_codec_analog,snd_hda_intel
snd_pcm_oss            28573  0 
bluetooth              38935  9 rfcomm,sco,bnep,l2cap,btusb
snd_mixer_oss          11983  1 snd_pcm_oss
arc4                     994  2 
ecb                     1489  2 
snd_pcm                48251  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy            959  0 
snd_seq_oss            21024  0 
radeon                543860  1 
snd_seq_midi            3496  0 
snd_rawmidi            13140  1 snd_seq_midi
snd_seq_midi_event      3968  2 snd_seq_oss,snd_seq_midi
pcmcia                 23354  0 
snd_seq                35503  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
ttm                    34114  1 radeon
sdhci_pci               5047  0 
sdhci                  11863  1 sdhci_pci
drm_kms_helper         18609  1 radeon
snd_timer              13290  2 snd_pcm,snd_seq
snd_seq_device          3965  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
firewire_ohci          17736  0 
yenta_socket            8878  1 
mmc_core               39316  1 sdhci
ata_generic             2063  0 
drm                   116981  3 radeon,ttm,drm_kms_helper
rtc_cmos                6858  0 
i2c_i801                5880  0 
snd                    36436  19 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
intel_agp              19857  0 
rsrc_nonstatic          7483  1 yenta_socket
tg3                    96667  0 
rtc_core                9641  1 rtc_cmos
firewire_core          33273  2 firewire_sbp2,firewire_ohci
video                  15566  0 
firmware_class          5326  4 iwl3945,radeon,pcmcia,tg3
rtc_lib                 1349  1 rtc_core
i2c_algo_bit            3715  1 radeon
pcmcia_core            22364  3 pcmcia,yenta_socket,rsrc_nonstatic
led_class               1873  1 sdhci
i2c_core               12538  5 radeon,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
uhci_hcd               16188  0 
rng_core                2398  0 
ehci_hcd               26602  0 
rfkill                 11140  3 cfg80211,bluetooth
agpgart                20836  3 ttm,drm,intel_agp
soundcore               4143  1 snd
ata_piix               17129  0 
crc_itu_t               1015  2 udf,firewire_core
libphy                 12387  1 tg3
snd_page_alloc          5181  2 snd_hda_intel,snd_pcm
pcspkr                  1259  0 
psmouse                28437  0 
output                  1292  1 video
evdev                   5985  16 
ext3                   87857  8 
jbd                    33535  1 ext3
mbcache                 3990  1 ext3
sha256_generic         11161  18 
aes_i586                6860  18 
aes_generic            25762  1 aes_i586
cbc                     1995  9 
dm_crypt                8931  9 
dm_mirror              10125  0 
dm_region_hash          5776  1 dm_mirror
dm_log                  7044  2 dm_mirror,dm_region_hash
dm_snapshot            24771  9 
dm_mod                 46734  73 dm_crypt,dm_mirror,dm_log,dm_snapshot
raid456                40328  0 
async_raid6_recov       2806  1 raid456
async_pq                1392  2 raid456,async_raid6_recov
raid6_pq               77980  2 async_raid6_recov,async_pq
async_xor                865  3 raid456,async_raid6_recov,async_pq
xor                    13829  1 async_xor
async_memcpy             586  2 raid456,async_raid6_recov
async_tx                1169  5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1                  16725  0 
md_mod                 71947  2 raid456,raid1
sd_mod                 22964  2 
ahci                   27304  2 
libata                118304  3 ata_generic,ata_piix,ahci

-- /etc/kernel-img.conf
do_symlinks = no
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /usr/sbin/update-grub
postrm_hook   = /usr/sbin/update-grub

-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /etc/crypttab
# <target device> <source device>	      <key file> <options>
root	  	  /dev/mapper/swivel-c_root      none  luks,keyscript=/etc/keyscript_swivel
boot	  	  /dev/mapper/swivel-c_boot      none  luks,keyscript=/etc/keyscript_swivel
swap0		  /dev/mapper/swivel-c_swap0     none  luks,keyscript=/etc/keyscript_swivel
usr		  /dev/mapper/swivel-c_usr       none  luks,keyscript=/etc/keyscript_swivel
var		  /dev/mapper/swivel-c_var       none  luks,keyscript=/etc/keyscript_swivel
home		  /dev/mapper/swivel-c_home      none  luks,keyscript=/etc/keyscript_swivel
bigstuff	  /dev/mapper/swivel-c_bigstuff  none  luks,keyscript=/etc/keyscript_swivel
vm		  /dev/mapper/swivel-c_vm        none  luks,keyscript=/etc/keyscript_swivel
scyw00225	  /dev/mapper/swivel-c_scyw00225 none  luks,keyscript=/etc/keyscript_swivel

-- /sys/block
dm-0
dm-1
dm-10
dm-11
dm-12
dm-13
dm-14
dm-15
dm-16
dm-17
dm-18
dm-19
dm-2
dm-20
dm-21
dm-22
dm-26
dm-27
dm-28
dm-29
dm-3
dm-30
dm-31
dm-32
dm-4
dm-5
dm-6
dm-7
dm-8
dm-9
sda


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.33-zgws1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio                         2.11-1      GNU cpio -- a program to manage ar
ii  findutils                    4.4.2-1     utilities for finding files--find,
ii  klibc-utils                  1.5.15-1    small utilities built with klibc f
ii  module-init-tools            3.12~pre2-1 tools for managing Linux kernel mo
ii  udev                         151-2       /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.15.3-1 Tiny utilities for small and embed

initramfs-tools suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.94

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

initramfs-tools_0.94.dsc
  to main/i/initramfs-tools/initramfs-tools_0.94.dsc
initramfs-tools_0.94.tar.gz
  to main/i/initramfs-tools/initramfs-tools_0.94.tar.gz
initramfs-tools_0.94_all.deb
  to main/i/initramfs-tools/initramfs-tools_0.94_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 573761@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools 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.8
Date: Mon, 05 Apr 2010 05:25:48 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.94
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 415474 433708 465760 487409 506533 519800 523735 524534 525606 533903 534201 535008 536195 541864 543568 545728 547365 548711 554873 559535 559619 560266 561289 562561 565386 565416 567065 567189 568527 569033 570678 572858 573761 574553 575154 575157 576429
Changes: 
 initramfs-tools (0.94) unstable; urgency=low
 .
   * The "Litte Bang" release
 .
   [ maximilian attems ]
   * Nuke kernelextras hooks.
   * Create a klibc hook script.
   * Redefinde MODULES=most to not carry any fb driver per default.
   * Nuke framebuffer boot script.
   * Revert "hook-functions: Add hid_* modules."
   * Move busybox addition to a hook script.
   * mkinitramfs fix comment.
   * hook-functions: Fix mounted /sys check for openvz container.
   * initramfs-tools.8: fix boot example script to execute.
     scripts/functions. (closes: #545728)
   * Fix out-of-date-standards-version.
   * /etc/kernel hook script support for make deb-pkg generated linux-images
     and kernel-package. (closes: #523735, #561289)
   * update-initramfs: allow -t takeover on delete.
   * /etc/kernel/postrm.d/i-t: use now takeover on delete.
     (closes: #524534, #547365, #559619)
   * Nuke useless unused dir.
   * kernel hook scripts: Fix typo, add comments.
   * hook-funcitions: Only warn about missing firmware if /proc/modules
     exists. (closes: #560266, #575154)
   * mkinitramfs: Be opportunistic when calling modprobe thus showing
     errors. (closes: #554873)
   * copy_exec: Check if ldd is around.
   * scripts/local: Use blkid as backup fstype detection. (closes: #568527)
   * mkinitramfs: only copy modprobe conf files. (closes: #506533)
   * blacklist earlier at init-top stage.
   * scripts/local: fix blkid invocation.
   * init: export and unset BOOTIF.
   * init: rexport resume to reallow it's hardcoded usage. (closes: #572858)
   * update-initramfs: -d delete .bak file. (closes: #559535)
   * control: bump standards version without changes.
   * control: Clean up Uploaders field.
   * switch from cdbs to debhelper 7.
   * update-initramfs: Stop second guessing lilo usage. (closes: #574553)
   * mkinitramfs: allow to build initramfs for unmodular linux images.
     (closes: #415474, #433708)
   * initramfs.conf.5: document UMASK variable for sensitive initramfs.
     (closes: #536195)
   * update-initramfs: only run elilo if configured. (closes: #534201)
   * update-initramfs: fix previous elilo commit.
   * MODULES=DEP Use driver/module syfs attribute. (closes: #567189)
   * panic: quote variable.
   * MODULES=DEP: Check rootfs on mkinitramfs. (closes: #519800)
   * Use ata_generic driver on all_generic_ide bootarg
   * scripts/functions: add get_fstype() from scripts/local. (closes: #487409)
   * mkinitramfs.8: update date.
   * Keep acpi modules in initramfs so that udev can load them early.
   * mkinitramfs: no longer copy depmod.
   * init: Silence "Loading essential drivers..." on quiet boot.
   * hook-functions: Add btrfs to base modules.
   * init: export BOOT for casper and friends.
   * hooks/klibc: Keep gzip in initramfs.
   * modernize docs to todays standards.
   * examples: shipp old framebuffer boot script.
   * initramfs.conf.5, update-initramfs.conf.5: Add FILES section.
     (closes: #565386)
   * mkinitramfs: be silent if no modules.map was generated in first place.
   * debian/control: Add a breaks cryptsetup.
 .
   [ Tormod Volden ]
   * blacklist boot hook write to /etc/modprobe.d/initramfs.conf.
     (closes: #541864)
 .
   [ Michael Prokop ]
   * Fix path to nfsroot.txt in documentation.
   * hook-functions: Avoid firmware copy error. (closes: #570678)
 .
   [ Joey Hess ]
   * scripts/local: avoid mount -t unknown. (closes: #567065)
 .
   [ Avi Rozen ]
   * mkinitramfs: add all usb storage devices. (closes: #543568)
 .
   [ Ferenc Wagner ]
   * initramfs-tools: make the panic argument available in the rescue
     shell. (closes: #569033)
 .
   [ Maximilian Gass ]
   * mkinitramfs: KEYMAP option fails to work due to missing keymap.
     (closes: #565416)
 .
   [ Vagrant Cascadian ]
   * configure_networking: support BOOTIF variable set by pxelinux.
     (closes: #535008)
 .
   [ Ben Hutchings ]
   * copy_modules_dir: Take a list of exclusions after the base directory.
   * auto_add_modules: Copy all modules from net, excluding some
     subdirectories.
 .
   [ Scott James Remnant ]
   * init: Mount devtmpfs on /dev.
   * mkinitramfs: Call depmod before packing the initramfs.
     (closes: #465760, #562561)
   * init: load the netconsole module with netconsole bootarg
   * init: mount /dev/pts as well as /dev.
 .
   [ Ben Collins ]
   * update-initramfs: Default to not keep .bak backups.
 .
   [ Piotr Lewandowski ]
   * update-initramfs breaks if /etc/mtab is a symlink to /proc/mounts.
     (closes: #525606)
 .
   [ Martin Michlmayr ]
   * MODULES=dep fix boot with MMC. (closes: #548711)
 .
   [ Nikolaus Schulz ]
   * hook-functions: let dep_add_modules() recurse into lvm slave devices.
     (closes: 573761)
 .
   [ Anna Jonna Armannsdottir ]
   * configure_networking: Try repeatedly ipconfig with increasing
     timeout.
 .
   [ Colin Watson ]
   * mkinitramfs: Filter out looping or broken symlinks from the
     initramfs. (closes: #575157)
   * mkinitramfs: set initramfs root to 755.
 .
   [ Bert Schulze ]
   * initramfs-tools: support different compression tools in mkinitramfs.
     (closes: #533903)
   * mkinitramfs: -c compression support / commandline override.
     (closes: #576429)
Checksums-Sha1: 
 5afd5d57aa19a5c0209eaecc9b1b1f9465753318 922 initramfs-tools_0.94.dsc
 509fb16736997ecba36f641127ceab5bea18f68d 71586 initramfs-tools_0.94.tar.gz
 02aca8c6e29acf625100c1551faf1dbc5b4a17d0 78974 initramfs-tools_0.94_all.deb
Checksums-Sha256: 
 aee9a553dd3844532c464d9f649cbff02928568d037415dc8126bb6591e2b817 922 initramfs-tools_0.94.dsc
 25580b8f761e154cfa4efe6d4657b69b8a6403f7097dcfe2d50c2e64cc6f4e9b 71586 initramfs-tools_0.94.tar.gz
 a8abc65bdbf74bedb0bb77a8079d34b0b0ef8b41adde923e4748a673af770f3c 78974 initramfs-tools_0.94_all.deb
Files: 
 c1dbcaa6efb98082c45257309ba20312 922 utils optional initramfs-tools_0.94.dsc
 0295a063638ef0e44a38ef9fa3d7f93f 71586 utils optional initramfs-tools_0.94.tar.gz
 c66b55ac5c3d7e19cb57057489defa1d 78974 utils optional initramfs-tools_0.94_all.deb

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

iEYEARECAAYFAku6RlIACgkQeW7Lc5tEHqh9MgCaAwfEx8qpBHws+lusrsXjVDTP
OTMAmwU4vowqNyQHgtoTdNywtdHts2q5
=MCMB
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: