Re: [PATCH 3/3] vl: Unlink absolute PID file path

2022-07-12 Thread Daniel P . Berrangé
On Thu, Jun 09, 2022 at 02:27:01PM +0200, Hanna Reitz wrote: > After writing the PID file, we register an exit notifier to unlink it > when the process terminates. However, if the process has changed its > working directory in the meantime (e.g. in os_setup_post() when > daemonizing), this will

[PATCH 3/3] vl: Unlink absolute PID file path

2022-06-09 Thread Hanna Reitz
After writing the PID file, we register an exit notifier to unlink it when the process terminates. However, if the process has changed its working directory in the meantime (e.g. in os_setup_post() when daemonizing), this will not work when the PID file path was relative. Therefore, pass the