* Most output that used K or KB (e.g., for kilobyte) now uses a
lower-case k to match the official SI convention. Any scripts that
parse output and check for an upper-case K will need to be modified.
+
+v0.72
+~~~~~
+
+* ceph-fuse and radosgw now use the same default values for the admin
+ socket and log file paths that the other daemons (ceph-osd,
+ ceph-mon, etc.) do. If you run these daemons as non-root, you may
+ need to adjust your ceph.conf to disable these options or to adjust
+ the permissions on /var/run/ceph and /var/log/ceph.
break;
}
- if ((flags & CINIT_FLAG_UNPRIVILEGED_DAEMON_DEFAULTS) ||
- code_env != CODE_ENVIRONMENT_DAEMON) {
+ if (flags & CINIT_FLAG_UNPRIVILEGED_DAEMON_DEFAULTS) {
// do nothing special! we used to do no default log, pid_file,
- // admin_socket, but changed our minds.
+ // admin_socket, but changed our minds. let's make ceph-fuse
+ // and radosgw use the same defaults as ceph-{osd,mon,mds,...}
+ } else if (code_env != CODE_ENVIRONMENT_DAEMON) {
+ // no default log, pid_file, admin_socket
+ conf->set_val_or_die("pid_file", "");
+ conf->set_val_or_die("admin_socket", "");
+ conf->set_val_or_die("log_file", "");
+ // use less memory for logs
+ conf->set_val_or_die("log_max_recent", "500");
}
return cct;