assert(_f);
assert(_fds);
- if ((r = manager_open_serialization(&f)) < 0) {
+ if ((r = manager_open_serialization(m, &f)) < 0) {
log_error("Failed to create serialization faile: %s", strerror(-r));
goto fail;
}
return 1;
}
- log_show_color(true);
+ log_show_color(isatty(STDERR_FILENO) > 0);
log_show_location(false);
log_set_max_level(LOG_INFO);
/* Disable nscd, to avoid deadlocks when systemd uses
* NSS and the nscd socket is maintained by us. */
- if (nss_disable_nscd) {
- log_debug("Disabling nscd");
- nss_disable_nscd();
- } else
- log_debug("Hmm, can't disable nscd.");
+ /* if (nss_disable_nscd) { */
+ /* log_debug("Disabling nscd"); */
+ /* nss_disable_nscd(); */
+ /* } else */
+ /* log_debug("Hmm, can't disable nscd."); */
if (!serialization) {
if (arg_show_status)