[Bug 1557461] [NEW] ceph-osd-prestart.sh is called with wrong options
Dr. Jens Rosenboom
j.rosenboom at x-ion.de
Tue Mar 15 11:10:27 UTC 2016
Public bug reported:
This only affects the xenial package, in /lib/systemd/system/ceph-
osd at .service there is
ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER}
--id %i --setuser ceph --setgroup ceph
where the options were just copied from the ExecStart but this triggers
errors:
ceph-osd-prestart.sh[14077]: getopt: unrecognized option '--setuser'
ceph-osd-prestart.sh[14077]: getopt: unrecognized option '--setgroup'
Looking into the script, it only has some hardcoded checks for the user
"ceph" anyway. Not sure whether it would make sense to allow more
flexibility here or just remove the options from the service definition.
** Affects: ceph (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1557461
Title:
ceph-osd-prestart.sh is called with wrong options
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1557461/+subscriptions
More information about the Ubuntu-server-bugs
mailing list