Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbd not cleaning up socket on exit #122

Open
ari-s opened this issue May 23, 2021 · 0 comments
Open

nbd not cleaning up socket on exit #122

ari-s opened this issue May 23, 2021 · 0 comments

Comments

@ari-s
Copy link

ari-s commented May 23, 2021

when configuring to serve on a unix socket, the socket is not cleaned up upon exit. This prevents restarting.

MWE

/etc/nbd-server/config:

[generic]
 	unixsock = /run/nbd-test.sock

[test]
	exportname = /tmp/nbd-test
	filesize = 10000000
# systemctl start nbd-server
# systemctl stop nbd-server
# [ -e /run/nbd-test.sock ] && echo "socket lingering"
socket lingering

I'm using nbd-server 3.21-1 on debian bullseye. Oddly enough, nbd-server itself reports:
This is nbd-server version 3.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant