Subject: Re: bug#23274: Misleading error message when running guix-daemon as unprivileged user

From: [email-masked] (Ludovic Courtès)
Date: Mon, 11 Dec 2017 10:35:50 +0100

Hi Martin,

Martin Castillo <[email-masked]> skribis:

> “Address already in use” makes me directly think that there is already
> another daemon running. Strangely, starting another daemon as root
> works. It seems to take the socket from the other daemon away. Is this
> intended? Or can two daemons run in parallel without problems?

What you’re seeing here is the error return by bind(2) while trying to
bind the listening socket to /var/guix/daemon-socket/socket.
guix-daemon doesn’t try to interpret the error in any way, it just shows
you what the OS reported.

So I’m not sure there’s really an issue here.

WDYT?

Ludo’.