]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
mdmon: preserve socket over chroot
authorDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:37:02 +0000 (17:37 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:41:58 +0000 (17:41 -0700)
commit9f1da8242161ba684f2867f211eb7e9d4baa84bb
treee396bffdec4ef5915f4eb138f343809431042dc0
parentb928b5a0384e7181425a282a0586cbbb3c85fbc3
mdmon: preserve socket over chroot

Connect to the monitor in the old namespace and use that connection for
WaitClean requests when stopping the victim mdmon instance.  This allows
ping_monitor() to work post chroot().

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
mdadm.c
mdadm.h
mdmon.c
msg.c
msg.h
sysfs.c