Commit Graph

8 Commits

Author SHA1 Message Date
Kefu Chai
8aa5ea0cf1 debian/ceph-common.postinst: fix indent and cleanups
* add editor variables for emacs
* replace tab with 8 spaces
* move "then" to previous line to be more consistent

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-08 23:15:07 +08:00
Sage Weil
b89ffdcae5 debian/ceph-common.postinst: do not chown cephadm log dirs
The container uid/gid is different than the debian uid/gid (because the
container is centos-based and we got a different uid/gid allocation there).

Fixes: https://tracker.ceph.com/issues/49677
Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-09 11:56:42 -06:00
Caleb Boylan
114f43a58a build/ops: Lock ceph user during a purge
Signed-off-by: Caleb Boylan <calebboylan@gmail.com>
2017-06-23 15:44:16 -07:00
Sage Weil
c3d23caddf ceph-common: explicitly trigger /run/ceph creation
This doesn't happen magically on debian.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 11:38:47 -04:00
Sage Weil
743b15b412 debian: /var/run/ceph should be owned by ceph:ceph
Fix upstart and sysvinit scripts to create /var/run/ceph properly.

Chown existing dir on upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:35:15 -04:00
Sage Weil
94da8c1e7a debian/ceph-common.postinst: fix adduser, addgroup
Drop the extra groups thing--it's broken anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:35:15 -04:00
Sage Weil
7c96016876 debian/ceph-common.postinst: fix /var/log/ceph permissions
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:35:15 -04:00
Sage Weil
18e0c7778a debian: rename ceph-common.postinst
There was a trailing space!

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-26 20:35:15 -04:00