Web lists-archives.com

Re: Too many Recommends (in particular on mail-transport-agent)




On Wed, 31 May 2017 at 00:20:18 +0000, Anthony DeRobertis wrote:
> AFAIK, mdadm's default (and maybe only supported, without some custom
> scripting) way to report a degraded array is email.

Can't it report this via the system log? (syslog, systemd-journald)

> OTOH, seems weird for Dracut to recommend mdadm. Surely a system
> booting from RAID would already have it installed?

dracut defaults to creating a general-purpose initramfs that is not meant
to hard-code anything and can be used to boot "most" hardware (it gets the
root device from the kernel command-line, mounts the root, and reads the
rest of its configuration from there). If the necessary binaries for
modules like mdadm are not present, then they can't be included in the
generated initramfs, leaving it less general-purpose than it is intended
to be.

    S