On 13/11/2023 12:43 pm, Juergen Gross wrote: > The "-N" (do not daemonize) command line option is of questionable use: > its sole purpose seems to be to aid debugging of xenstored by making it > easier to start xenstored under gdb, or to see any debug messages > easily. > > Debug messages can as well be sent to syslog(), while gdb can be > attached to the daemon easily. The only not covered case is an error > while initializing xenstored, but this could be handled e.g. by saving > a core dump, which can be analyzed later. > > The call of talloc_enable_leak_report_full() done only with "-N" > specified is no longer needed, as the same can be achieved via > "xenstore-control memreport". > > Signed-off-by: Juergen Gross <[email protected]>
CC Edvin. There's a patch out to specifically use this option (under systemd) to fix a bug we found. I can't recall the details, but I seem to recall it wasn't specific to oxenstored. ~Andrew
