all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@member.fsf.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] services: Add opensmtpd-service.
Date: Sat, 26 Nov 2016 19:33:45 +0100	[thread overview]
Message-ID: <87k2bqnl9y.fsf@gnu.org> (raw)
In-Reply-To: <87r3616ka6.fsf@member.fsf.org> ("宋文武"'s message of "Thu, 24 Nov 2016 22:10:25 +0800")

iyzsong@member.fsf.org (宋文武) skribis:

> Also, I find that my slow box is unable start this opensmtpd service
> during a fresh boot.  ‘smtpd’ has a timeout of 10s hardcoded, I patched
> that to 60s to make it fully start.  But it turns out that
> ‘read-pid-file’ of shepherd has a timeout of 5s, so I guess that’s why
> the service is marked as stop when it actually running…

Oh that sounds like a bug: shepherd should kill(2) the process when the
PID file doesn’t show up on time.

Fixed in commit a8fa86bb23cc457e2cd603ad505c964bc8dc889e of the
Shepherd.

The previous commit allows you to select a timeout other than 5 seconds
too—wonderful.  ;-)

Thanks!

Ludo’.

  reply	other threads:[~2016-11-26 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19  7:29 [PATCH] services: Add opensmtpd-service 宋文武
2016-11-23 22:24 ` Ludovic Courtès
2016-11-24 14:10   ` 宋文武
2016-11-26 18:33     ` Ludovic Courtès [this message]
2016-11-27  2:22       ` 宋文武

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

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

  git send-email \
    --in-reply-to=87k2bqnl9y.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@member.fsf.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.