[Question] multipathd.service start failed when /var/run isn't mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When we enable multipathd.service with systemctl and reboot,
multipathd doesn't start and log "failed to create pidfile".

The reason is following:

The RUN is /var/run in multipath-tools. When we start linux, we
mount a disk to /var. So if multipathd.service start before mount,
it will fail to activate.(If mount firstly, multipathd will start
successfully)

The RUN is defined in Makefile.inc:

ifndef RUN
        ifeq ($(shell test -L /var/run -o ! -d /var/run && echo 1),1)
                RUN=run
        else
                RUN=var/run
        endif
endif

Can it always be defined as run?

Regards,
Lixiaokeng

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux