Actions
Bug #19242
closedOwnership of /var/run/ceph not set with sysv-init under Jewel
% Done:
100%
Source:
Community (dev)
Tags:
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The init.d/ceph script has these lines:
if [ ! -d $run_dir ]; then # assume /var/run exists install -d -m0770 -o ceph -g ceph /var/run/ceph fi
Which should do the right thing.
However with 10.2.6 (and probably before) under Debian Jessie something else seems to create the directory with root ownership before the startup script even runs.
So the above check finds the directory and never installs it.
Which consequently leads to a failure to start any services.
Removing the check and making the "install" unconditional fixes this.
Actions