Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbdmap: systemd support #6479

Merged
merged 2 commits into from Nov 6, 2015
Merged

rbdmap: systemd support #6479

merged 2 commits into from Nov 6, 2015

Conversation

b-ranto
Copy link
Contributor

@b-ranto b-ranto commented Nov 5, 2015

This PR should help us achieve full systemd support by adding an rbdmap systemd unit file. To achieve this, the map/unmap functionality was moved to src/rbdmap and the template config was moved to src/etc-rbdmap.

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>
@b-ranto b-ranto mentioned this pull request Nov 5, 2015
@b-ranto
Copy link
Contributor Author

b-ranto commented Nov 6, 2015

FYI: After the last update, the patches seem to pass the gitbuilders.

Fixes: #13374
Signed-off-by: Boris Ranto <branto@redhat.com>
@tchaikov
Copy link
Contributor

tchaikov commented Nov 6, 2015

lgtm.

liewegas added a commit that referenced this pull request Nov 6, 2015
rbdmap: systemd support

Reviewed-by: Kefu Chai <kchai@redhat.com>
@liewegas liewegas merged commit 24380c8 into master Nov 6, 2015
@liewegas liewegas deleted the wip-systemd-rbdmap branch November 6, 2015 21:24
@liewegas
Copy link
Member

liewegas commented Nov 6, 2015

thanks, @BRANTO1 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants