unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: nly <nly@disroot.org>
To: 34407@debbugs.gnu.org
Subject: bug#34407: Shepherd won't close socket on exit
Date: Sun, 10 Feb 2019 01:26:55 +0530	[thread overview]
Message-ID: <87k1i868hk.fsf@disroot.org> (raw)

Shepherd does not close the socket when exiting with `herd stop root`.
"bind: Address already in use"

~$ rm /run/user/1000/shepherd/socket
~$ shepherd
Service root has been started.
~$ herd status
error: connect: /run/user/1000/shepherd/socket: Connection refused
~$ shepherd
Service root has been started.
~$ Backtrace:
           3 (primitive-load "/run/current-system/profile/bin/shepherd")
In shepherd.scm:
   250:24  2 (main . _)
     48:6  1 (open-server-socket _)
In unknown file:
           0 (bind #<input-output: socket 13> #(1 "/run/user/1000/shepherd/socket") #)

ERROR: In procedure bind:
In procedure bind: Address already in use
  C-c C-c
~$ 

             reply	other threads:[~2019-02-09 19:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-09 19:56 nly [this message]
2019-02-09 20:21 ` bug#34407: Acknowledgement (Shepherd won't close socket on exit) nly
2019-02-13 23:05   ` Maxim Cournoyer
2019-02-17  3:38 ` bug#34407: [PATCH] shepherd: Delete the socket file upon exit 宋文武
     [not found] ` <87ef87w0d3.fsf@member.fsf.org>
2019-02-19 19:08   ` Danny Milosavljevic
     [not found]   ` <20190219200900.12407d94@scratchpost.org>
2019-02-23  8:53     ` 宋文武
2019-04-08  8:58   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1i868hk.fsf@disroot.org \
    --to=nly@disroot.org \
    --cc=34407@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).