[Virtio-fs] [virtiofsd] Issue closed: Do not allow two daemons to listen on same socket

virtiofs-bot at sinrega.org virtiofs-bot at sinrega.org
Mon May 9 09:36:01 UTC 2022


Right now I can start two daemons listening on same socket /tmp/vhostqemu. Drop in a pid lock file and use flock so that only one virtiofsd instance can listen and other fails with error. C version already does it and errors out with error.

"Cannot lock pid file: Resource temporarily unavailable"
---
https://gitlab.com/virtio-fs/virtiofsd/-/issues/31



More information about the Virtio-fs mailing list