lp://staging/ubuntu/intrepid/mdadm

Created by Ubuntu Package Importer and last modified
Get this branch:
bzr branch lp://staging/ubuntu/intrepid/mdadm
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

38. By Dustin Kirkland 

check.d/root_on_raid: ensure that the target is a raid1 (LP: #287112)

37. By Dustin Kirkland 

check.d/root_on_raid: add a missing 'break' in the loop checking for
root-or-boot on RAID; was preventing the debconf question from being
presented in some cases

36. By Dustin Kirkland 

* check.d/root_on_raid: do not write to stdout, breaks debconf
  (LP: #277153)
* debian/mdadm.config: default BOOT_DEGRADED to false, if unset (legacy
  Ubuntu behavior), (LP: #277262)
* debian/mdadm-udeb.templates: updated debconf question text to note that
  booting degraded is useful when you do not have access to the console

35. By Dustin Kirkland 

* Fixes for LP: #268580
  - debian/mdadm-udeb.dirs: add lib/partman for the check script
  - debian/mdadm.config: don't initialize BOOT_DEGRADED to false
  - debian/rules: install the check script, put the boot_degraded debconf
    question in the mdadm-udeb
  - debian/mdadm.templates, debian/mdadm-udeb.templates: move the
    boot_degraded question to the udeb
  - debian/po/POTFILES.in: add the new mdadm-udeb.templates
  - debian/install-rc: install the check script, copied from partman-target
  - check.d/_numbers, check.d/root_on_raid: new script to check if / or
    /boot is on an md device and if so, prompt for BOOT_DEGRADED in the
    installer
  - debian/mdadm.config: initialize BOOT_DEGRADED to ""

34. By Dustin Kirkland 

* debian/mdadm.templates, debian/mdadm.config, debian/mdadm.postinst,
  debian/po/templates.pot: added debconf support for BOOT_DEGRADED
  configuration (LP: #259127).
* debian/po/*po: autogenerated translation placeholders for the debconf
  templates questions.

33. By Dustin Kirkland 

debian/initramfs/init-premount: provide a safety net, interactive prompt
on boot before dropping to busybox shell if the RAID is degraded; prompt
times out after 15 seconds, (LP: #257568).

32. By Kees Cook

[ Dustin Kirkland ]
* debian/initramfs/init-premount: If mounting of root fails, allow the user
  to optionally boot in degraded mode (LP: #120375).

[ Kees Cook ]
* debian/initramfs/init-premount: silently scan for failed arrays.

31. By Luke Yelavich

* Merge from debian unstable, remaining changes:
 * md activation:
  - We now have a single udev rule for both the real system and the
    initramfs, since doing things differently there will only result in bugs
    and confusion.
  - This rule runs "mdadm --assemble --scan --no-degraded", automatically
    activating any non-degraded device as their components are detected.
  - Drop the mdadm-raid init script, since this does the same thing.
  - Also drop mdadm-startall which uses the mdadm-raid init script, and its
    associated sgml file (thus dropping the build-dep on docbook-to-man)
  - Simplify the configuration, since we always autostart all devices so do
    not need to specify any required root devices, etc.
  - Since udev autostarts arrays, much of the initramfs script can be
    dropped.
 * Depend on initramfs-tools, specifically a version that doesn't ship
   the mdrun script. and a version that supports the mountfail functionality,
   see below. This way we can clean out a lot of the upgrade handling
   from the initramfs hook.
 * Just get initramfs to load the modules for us
 * Create init-premount hook script for the initramfs, to provide
   information at boot, if the root device is not functional.
* Retrieve the returned value from asprintf, and add an assertion.
  This should prevent mdadm from segfaulting if there is not enough
  memory available.

30. By Luke Yelavich

* Merge from debian unstable, remaining changes:
 * md activation:
  - We now have a single udev rule for both the real system and the
    initramfs, since doing things differently there will only result in bugs
    and confusion.
  - This rule runs "mdadm --assemble --scan --no-degraded", automatically
    activating any non-degraded device as their components are detected.
  - Drop the mdadm-raid init script, since this does the same thing.
  - Also drop mdadm-startall which uses the mdadm-raid init script, and its
    associated sgml file (thus dropping the build-dep on docbook-to-man)
  - Simplify the configuration, since we always autostart all devices so do
    not need to specify any required root devices, etc.
  - Drop the deprecated mdrun entirely.
  - Since udev autostarts arrays, much of the initramfs script can be
    dropped.
 * Install a new udev rule at 65 which runs vol_id on clean raid arrays.
   This will cause lvm, etc. to be run (since there is vol_id information
   present for the enclosed filesystem).
 * Depend on initramfs-tools, specifically a version that doesn't ship
   the mdrun script. and a version that supports the mountfail functionality,
   see below. This way we can clean out a lot of the upgrade handling
   from the initramfs hook.
 * Just get initramfs to load the modules for us
 * Create init-premount hook script for the initramfs, to provide
   information at boot, if the root device is not functional.

29. By Luke Yelavich

debian/initramfs/init-premount: Make sure the script exists when it is called
with mountfail.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers