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

[email protected]
Newsgroups dev.linux.lists.virtio-fs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.