projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3f8eb
)
fix-var-run-perms-sysvinit
author
Ceph Maintainers
<ceph-maintainers@lists.ceph.com>
Sat, 29 Dec 2018 21:08:52 +0000
(21:08 +0000)
committer
Gaudenz Steinlin
<gaudenz@debian.org>
Sat, 29 Dec 2018 21:08:52 +0000
(21:08 +0000)
Gbp-Pq: Name fix-var-run-perms-sysvinit.patch
src/init-ceph.in
patch
|
blob
|
history
diff --git
a/src/init-ceph.in
b/src/init-ceph.in
index 26704d62e67355f9ef3ce8ec575c4fed398ccb50..080fd90c78f1b32d590d0f097d93ae362ab429cb 100755
(executable)
--- a/
src/init-ceph.in
+++ b/
src/init-ceph.in
@@
-293,7
+293,7
@@
for name in $what; do
if [ "$command" = "start" -o "$command" = "onestart" ]; then
if [ -n "$pid_file" ]; then
- do_cmd "
mkdir -p
"`dirname $pid_file`
+ do_cmd "
install -d -m0770 -o ceph -g ceph
"`dirname $pid_file`
cmd="$cmd --pid-file $pid_file"
fi