all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Attila Lendvai <attila@lendvai.name>, 54215@debbugs.gnu.org
Subject: [bug#54215] [PATCH Shepherd] service: Add #:rlimits parameter to 'exec-command' & co.
Date: Tue, 01 Mar 2022 19:32:52 +0100	[thread overview]
Message-ID: <a230c56c7202d6ea11f5cd97baf748606b40b4fb.camel@telenet.be> (raw)
In-Reply-To: <48526d32a684a531940b59edcfb016ab81c7d3bb.camel@telenet.be>

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Maxime Devos schreef op di 01-03-2022 om 19:26 [+0100]:
> before forking, to let exception reporting work better.  WYDT?

Also, if the

  (begin
    (for-each ...)
    (unblock-signals ...)
    (exec-command ...))

throws an exception, then it probably it should ignore exception
handlers and ignore dynamic-wind, otherwise the listening socket
might be deleted (in call-with-server-socket) (*).  This can be
done by catching all exceptions and calling 'primitive-_exit'
in case of an exception.

(*) unverified

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2022-03-01 18:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 18:12 [bug#54215] [PATCH Shepherd] service: Add #:rlimits parameter to 'exec-command' & co Attila Lendvai
2022-03-01 18:26 ` Maxime Devos
2022-03-01 18:32   ` Maxime Devos [this message]
2022-03-01 18:35   ` Attila Lendvai
2022-03-01 18:38     ` Maxime Devos
2022-03-01 19:17       ` Attila Lendvai
2022-03-01 19:46         ` Maxime Devos
2022-03-04  8:29           ` Attila Lendvai
2022-03-21 12:48 ` bug#54215: " 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

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

  git send-email \
    --in-reply-to=a230c56c7202d6ea11f5cd97baf748606b40b4fb.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=54215@debbugs.gnu.org \
    --cc=attila@lendvai.name \
    /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.