@@ -56,7 +56,7 @@
# }
# device {
# vendor "(COMPAQ|HP)"
-# product "HSV1[01]1|HSV2[01]0|HSV300"
+# product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0"
# path_grouping_policy group_by_prio
# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# path_checker "tur"
@@ -35,14 +35,14 @@
DEFAULT_GETUID, "/sbin/mpath_prio_alua /dev/%n",
"0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0,
100);
- r += store_hwe_ext(hw, "COMPAQ", "MSA|HSV1.0.*", GROUP_BY_PRIO,
- DEFAULT_GETUID, "/sbin/mpath_prio_hp_sw /dev/%n",
- "1 hp-sw", "0", "hp_sw", FAILBACK_UNDEF, NULL, 12, 0,
- 100);
- r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV1[01]1|HSV2[01]0|HSV300",
+ r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0",
GROUP_BY_PRIO, DEFAULT_GETUID,
"/sbin/mpath_prio_alua /dev/%n", "0", "0", "tur",
-FAILBACK_IMMEDIATE, NULL, 12, 0, 100);
+ r += store_hwe_ext(hw, "COMPAQ", "MSA|HSV1.0.*", GROUP_BY_PRIO,
+ DEFAULT_GETUID, "/sbin/mpath_prio_hp_sw /dev/%n",
+ "1 hp-sw", "0", "hp_sw", FAILBACK_UNDEF, NULL, 12, 0,
+ 100);
r += store_hwe_ext(hw, "HP", "MSA2[02]12fc|MSA2012i", MULTIBUS, DEFAULT_GETUID,
NULL, "0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 18,
0, 100);
@@ -1181,6 +1181,7 @@
add_handler(DISABLEQ+MAP, cli_disable_queueing);
add_handler(RESTOREQ+MAP, cli_restore_queueing);
+ umask(077);
uxsock_listen(&uxsock_trigger, ap);
return NULL;
@@ -1781,7 +1782,6 @@
close(in_fd);
close(out_fd);
chdir("/");
- umask(0);
return 0;
}
@@ -18,7 +18,7 @@
install: $(EXEC)
install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC)
- ln -sf $(DESTDIR)$(bindir)/$(EXEC) $(DESTDIR)$(bindir)/$(LINK)
+ ln -sf $(EXEC) $(DESTDIR)$(bindir)/$(LINK)
uninstall:
rm $(DESTDIR)$(bindir)/$(EXEC)