* multipath-tools/multipathd main.c multipathd.i ...
@ 2009-04-06 16:50 bmarzins
0 siblings, 0 replies; only message in thread
From: bmarzins @ 2009-04-06 16:50 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2009-04-06 16:50:44
Modified files:
multipathd : main.c multipathd.init.redhat
Log message:
Fix for bz #493402. Change umask for multipathd. Already fixed upstream.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.69.2.17&r2=1.69.2.18
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/multipathd.init.redhat.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.2.4.3&r2=1.2.4.4
--- multipath-tools/multipathd/main.c 2009/04/03 15:09:03 1.69.2.17
+++ multipath-tools/multipathd/main.c 2009/04/06 16:50:43 1.69.2.18
@@ -775,6 +775,7 @@
add_handler(RESTOREQ+MAPS, cli_restore_all_queueing);
add_handler(RESIZE+MAP, cli_resize);
+ umask(077);
uxsock_listen(&uxsock_trigger, ap);
return NULL;
@@ -1497,7 +1498,6 @@
close(in_fd);
close(out_fd);
chdir("/");
- umask(0);
}
enum child_flag_bits {
--- multipath-tools/multipathd/multipathd.init.redhat 2008/08/28 19:22:33 1.2.4.3
+++ multipath-tools/multipathd/multipathd.init.redhat 2009/04/06 16:50:44 1.2.4.4
@@ -29,6 +29,7 @@
teardown_slaves()
{
+pwd=`pwd`
cd $1;
if [ -d "slaves" ]; then
for slave in slaves/*;
@@ -54,6 +55,7 @@
exit 1
fi
fi
+cd $pwd
}
#
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-06 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 16:50 multipath-tools/multipathd main.c multipathd.i bmarzins
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.