[Bug 767150] New: mdmon: broken handling of --all parameter
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=767150 https://bugzilla.novell.com/show_bug.cgi?id=767150#c0 Summary: mdmon: broken handling of --all parameter Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: nfbrown@suse.com ReportedBy: suse-beta@cboltz.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- I noticed the following lines while booting (latest factory from today): boot.md[335]: Starting MD RAID Usage: mdmon [options] CONTAINER boot.md[335]: Options are: boot.md[335]: --help -h : This message boot.md[335]: --all : All devices boot.md[335]: --takeover -t : Takeover container boot.md[335]: --offroot : Set first character of argv[0] to @ to indicate the boot.md[335]: application was launched from initrd/initramfs and boot.md[335]: should not be shutdown by systemd as part of the boot.md[335]: regular shutdown process. /etc/init.d/boot.md contains: case "$1" in start) # [...] /sbin/mdmon --all --takeover According to the manpage, mdmon expects an additional parameter to specify the "container", but my understanding is that --all means "all containers" - which implies to me that the "container" parameter shouldn't be needed. Interestingly, if I specify a md device as additional parameter ("mdmon --takeover --all /dev/md0"), I also get the help output. Please fix this in mdmon's parameter handling or (if my understanding of the manpage is wrong) fix the mdmon call in boot.md -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=767150
https://bugzilla.novell.com/show_bug.cgi?id=767150#c1
Neil Brown
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=767150
https://bugzilla.novell.com/show_bug.cgi?id=767150#c2
--- Comment #2 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com