Bug #13374
systemd: no rbdmap systemd unit file
0%
Description
The init-rbdmap script was not converted to systemd and remains to be the last init script that was not converted to systemd, yet.
This makes us require redhat-lsb-core package to support the legacy rbdmap init script which brings a lot of unnecessary dependencies (like postfix).
Related issues
Associated revisions
rbdmap: Move do_map and do_unmap shell functions to rbdmap script
This patch creates rbdmap shell script that is called from init-rbdmap
init script. The patch also renames src/rbdmap configuration file to
src/etc-rbdmap so that rbdmap shell script can be installed via build
system directly. Finally, the patch accomodates these changes in spec
file and build system.
Fixes: #13374
Signed-off-by: Boris Ranto <branto@redhat.com>
rbdmap: systemd support
Fixes: #13374
Signed-off-by: Boris Ranto <branto@redhat.com>
rbdmap: Move do_map and do_unmap shell functions to rbdmap script
This patch creates rbdmap shell script that is called from init-rbdmap
init script. The patch also renames src/rbdmap configuration file to
src/etc-rbdmap so that rbdmap shell script can be installed via build
system directly. Finally, the patch accomodates these changes in spec
file and build system.
Fixes: #13374
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit c0980af3c72f01e6f99fd1e7e91c446934d6d856)
Conflicts:
src/init-rbdmap
Trivial resolution.
rbdmap: systemd support
Fixes: #13374
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 9224ac2ad25f7d017916f58b642c0ea25305c3e5)
History
#1 Updated by Sage Weil over 8 years ago
- Priority changed from High to Urgent
#2 Updated by Kefu Chai over 8 years ago
- Status changed from New to Fix Under Review
- Assignee set to Boris Ranto
#3 Updated by Kefu Chai over 8 years ago
- Backport set to infernalis
#4 Updated by Nathan Cutler over 8 years ago
- Copied to Backport #13678: systemd: no rbdmap systemd unit file added
#5 Updated by Nathan Cutler over 8 years ago
master PR: https://github.com/ceph/ceph/pull/6479
#6 Updated by Nathan Cutler over 8 years ago
- Status changed from Fix Under Review to Pending Backport
#7 Updated by Nathan Cutler about 8 years ago
- Status changed from Pending Backport to Resolved