]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
systemd/rbdmap.service: order us before remote-fs-pre.target 22844/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jun 2018 15:16:17 +0000 (17:16 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 4 Jul 2018 07:12:11 +0000 (09:12 +0200)
commitbbcc594f29770a82bc51060fc2c5672498192e8f
tree29beb302406b492ccf28b0932af61a3a8c707a3a
parentbe2aca022d2f45fa97f2d9d4fb02c17a404b5e8f
systemd/rbdmap.service: order us before remote-fs-pre.target

If "/usr/bin/rbdmap unmap-all" notices a file system mounted on top of
an rbd device, it will call umount, interfering with systemd shutdown
logic.  Make sure we aren't invoked until all _netdev mounts are dealt
with by systemd.

Fixes: http://tracker.ceph.com/issues/24713
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 37da5d8af95f31105962b778368a515379f6d61c)
systemd/rbdmap.service