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

ceph-disk: change ownership of initfile to ceph:ceph #9688

Merged
1 commit merged into from Aug 16, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/ceph-disk/ceph_disk/main.py
Expand Up @@ -3267,8 +3267,9 @@ def activate(
init = init_get()

LOG.debug('Marking with init system %s', init)
with file(os.path.join(path, init), 'w'):
pass
init_path = os.path.join(path, init)
with file(init_path, 'w'):
path_set_context(init_path)

# remove markers for others, just in case.
for other in INIT_SYSTEMS:
Expand Down