Bug#733574: partially breaks initramfs when modules are not included

Eduard Bloch blade at debian.org
Mon Dec 30 01:08:31 UTC 2013


Package: mdadm
Version: 3.3-2
Severity: important

Repro: build a linux-image (kernel)...

 - without md* modules
 - where another initramfs script exists in local-top which is required
   to boot (say: for cryptoroot)

Result: startup fails. The last thing we see is a message from
local-top/mdadm saying it cannot read /proc/mdstat. Then the executions
stops because you used "exit 1" there which drops the user to the
initramfs shell without any explanation.

Btw, grep says there is another occurence of "exit 1" in the script.

Regards,
Eduard.

-- Package-specific info:

IMPORTANT:
  please do not forget to include all relevant system information with this
  bug report. You could run
    /usr/share/bug/mdadm/script 3>&1
  as root and attach or include the output.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-rc5localtest+ (SMP w/4 CPU cores)
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 mdadm depends on:
ii  debconf      1.5.52
ii  initscripts  2.88dsf-44
ii  libc6        2.17-97
ii  lsb-base     4.1+Debian12
ii  makedev      2.3.1-93
ii  udev         204-5

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.82-3
ii  module-init-tools                          9-3

mdadm suggests no packages.

-- debconf information:
  mdadm/initrdstart_msg_errmd:
  mdadm/initrdstart_msg_errexist:
* mdadm/autocheck: true
  mdadm/initrdstart_notinconf: false
  mdadm/autostart: true
  mdadm/mail_to: root
* mdadm/initrdstart: all
* mdadm/start_daemon: false
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_msg_intro:
  mdadm/initrdstart_msg_errblock:

-- 
Atomkraft, strahlender Glanz ohne Abtrocknen.



More information about the pkg-mdadm-devel mailing list