projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b518f
)
fix-var-run-perms-sysvinit
author
Ceph Maintainers
<ceph-maintainers@lists.ceph.com>
Fri, 5 Apr 2019 13:12:52 +0000
(14:12 +0100)
committer
Bernd Zeimetz
<bzed@debian.org>
Fri, 5 Apr 2019 13:12:52 +0000
(14:12 +0100)
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