Actions
Bug #19242
openOwnership of /var/run/ceph not set with sysv-init under Jewel
% Done:
0%
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.
Updated by Patrick Donnelly over 2 years ago
- Status changed from Won't Fix to Fix Under Review
- Target version set to v17.0.0
- Source set to Community (dev)
- Backport set to pacific,octopus
- Pull request ID set to 43305
Actions