On Tue, 10 Dec 2013, Daniel P. Berrange wrote:
It would seem to be simpler to instead change the main() method
so that --daemon is ignored when re-exec'ing.
Yes, that does sound saner.
I also noticed that virtlockd attempts to write out a re-exec state file
under /var/ even when running unprivileged, when it probably should go
under $XDG_RUNTIME_DIR. I'll roll in a fix for this as well.
- Michael