Mishandling of error messages in /usr/share/initramfs-tools/scripts/local-top/dmraid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmraid (Debian) |
Fix Released
|
Unknown
|
|||
dmraid (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dmraid
/usr/share/
The output can be a list of raid devices, or it can be an error message.
On one of my machines where I have installed dmraid to learn about it and haven't created any devices yet, I get a lot of error messages during bootup, as the script attempts to call dmraid-activate individually on each word of an error message, like "no block devices found" or "no raid disks".
ProblemType: Bug
Architecture: i386
Date: Tue Aug 18 10:38:00 2009
DistroRelease: Ubuntu 9.10
Package: dmraid 1.0.0.rc15-10build1 [modified: usr/share/
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: dmraid
Uname: Linux 2.6.31-6-generic i686
Related branches
Changed in dmraid (Debian): | |
status: | Unknown → New |
Changed in dmraid (Debian): | |
status: | New → Fix Released |
It is not really a duplicate, since this happens in the initrd scripts and on non-dmraid systems. The patch in bug 376792 does not fix the initrd script AFAICS. This issue is only seen in that bug report and is not its topic.
Here is a plain patch (not a packaging patch or debdiff). I can make a bzr branch if that can help.