TritonDataCenter / triton-cmon

The Metric Agent Proxy for Triton's Container Monitor https://github.com/joyent/rfd/blob/master/rfd/0027/README.md
Mozilla Public License 2.0
6 stars 12 forks source link

cmons /data/tls/key.pem should be owned by nobody #39

Closed jbarfield closed 2 years ago

jbarfield commented 2 years ago

cmons /data/tls/key.pem should be owned by nobody

sdcadm post-setup cmon runs successfully but upon completion the cmon smf service goes directly into maintenance state. A bit of cmon log digging and I saw that cmon couldn't load its private key file due to it being owned by root and the cmon service running as "nobody" from smf.

I just added a line to setup.sh to chown the 'key.pem' file so that the service can start up properly the first time.

bahamat commented 2 years ago

Obsoleted by #40