[dm-devel] [PATCH 06/18] change order of multipath.rules
Hannes Reinecke
hare at suse.de
Mon Oct 12 06:43:57 UTC 2015
On 10/08/2015 09:44 PM, Benjamin Marzinski wrote:
> At least for RedHat, the rule that calls scsi_id is
> 60-persistent-storage.rules, so the multipath rule needs to come
> after this.
>
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
> multipath/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/multipath/Makefile b/multipath/Makefile
> index 7f18e9a..4b3de81 100644
> --- a/multipath/Makefile
> +++ b/multipath/Makefile
> @@ -23,7 +23,7 @@ install:
> $(INSTALL_PROGRAM) -m 755 $(EXEC) $(DESTDIR)$(bindir)/
> $(INSTALL_PROGRAM) -d $(DESTDIR)$(udevrulesdir)
> $(INSTALL_PROGRAM) -m 644 11-dm-mpath.rules $(DESTDIR)$(udevrulesdir)
> - $(INSTALL_PROGRAM) -m 644 $(EXEC).rules $(DESTDIR)$(libudevdir)/rules.d/56-multipath.rules
> + $(INSTALL_PROGRAM) -m 644 $(EXEC).rules $(DESTDIR)$(libudevdir)/rules.d/62-multipath.rules
> $(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir)
> $(INSTALL_PROGRAM) -m 644 $(EXEC).8.gz $(DESTDIR)$(mandir)
> $(INSTALL_PROGRAM) -d $(DESTDIR)$(man5dir)
> @@ -32,7 +32,7 @@ install:
> uninstall:
> rm $(DESTDIR)$(bindir)/$(EXEC)
> rm $(DESTDIR)$(udevrulesdir)/11-dm-mpath.rules
> - rm $(DESTDIR)$(libudevdir)/rules.d/56-multipath.rules
> + rm $(DESTDIR)$(libudevdir)/rules.d/62-multipath.rules
> rm $(DESTDIR)$(mandir)/$(EXEC).8.gz
> rm $(DESTDIR)$(man5dir)/$(EXEC).conf.5.gz
>
>
NACK.
56-multipath.rules has been placed bevor persistent storage so that
it can override settings in 60-persistent-storage.rules.
If you need some additional settings to fixup things after that
please add a new rules file.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare at suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
More information about the dm-devel
mailing list