Dracut is the only tool to create initramfs on many distros and it works fine 
with multipath so far. Dracut is to initramfs-tools what systemd is to basic 
initscripts.
Dracut is modular and event driven while initramfs-tools is monolithic and 
linear static.

If you look at /usr/lib/dracut/modules.d you'll notice that a module already 
exists for multipathd. (/usr/lib/dracut/modules.d/90multipath and 
/usr/lib/dracut/modules.d/90multipath-hostonly)

man dracut
man dracut.modules
man dracut.cmdline

See also the module-setup.sh in both 90multipath and 90multipath-hostonly 
modules

Dracut is really a wonderful piece of code that is really easy to understand 
and that can create really powerful ramfs images.

Cheers,

Le 30/11/2018 16:01, « Ritesh Raj Sarraf » <r...@researchut.com au nom de 
r...@debian.org> a écrit :

    On Fri, 2018-11-30 at 09:10 +0000, Olivier Lahaye wrote:
    >    * What exactly did you do (or not do) that was effective (or
    >      ineffective)?
    >      Installed multipath-tools using:
    >      apt-get install --no-install-suggests multipath-tools
    > 
    >    * What was the outcome of this action?
    >      dracut was replaced with initramfs-tools because sg3-utils-udev
    > is
    >      required by multipath-tools and sg3-utils-udev conflicts with
    >      dracut
    > 
    >    * What outcome did you expect instead?
    >      It should be possible to install multipath-tools and use it with
    >      dracut. In other words, it should be possible to do:
    >      apt-get install multipath-tools dracut
    
    The problem is that nobody, afaik, has tested the combination of
    multipath-tools and dracut together. dracut, afair, claims to be a
    drop-in replacement for initramfs-tools. But I am not sure at all.
    
    Right now, multipath-tools has tight integration with initramfs-tools.
    Also the sg3-utils-udev package ships in modules to add further
    integration.
    
    If dracut can do the equivalent, then we can relax the dependencies.
    
    
    -- 
    Ritesh Raj Sarraf | http://people.debian.org/~rrs
    Debian - The Universal Operating System
    

Reply via email to