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

> > now that i have a reaconable edit-build-test cycle for shepherd, i'm planning to
> > clean up shepherd error reporting and logging, so that when an error occur then
> > there's a proper backtrace in the shepherd logs.
> > i'd rather work on that instead. does that sound reasonable?
>
> Sure! Better error reporting and rlimit support are orthogonal
> concerns.

well, it's not orthogonal in the sense that i can only work on one of them in
the same unit of time, and this is already a side-project of a side-project for
me.

let me know if sanity checking the rlimit arg is a precondition for applying
this patch, and then i'll look into it.

otherwise APPLY and SETRLIMIT both signal any errors they encounter, and i think
better logging and backtraces will take us much farther than numerous sanity
checks and error messages, let alone the not-so-apparent costs of the extra LoC
that they introduce into the code.

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“The only way to have a friend is to be one.”
	— Ralph Waldo Emerson (1803–1882)





  reply	other threads:[~2022-03-01 19:50 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
2022-03-01 18:35   ` Attila Lendvai
2022-03-01 18:38     ` Maxime Devos
2022-03-01 19:17       ` Attila Lendvai [this message]
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='CH236W_O1EHlQ2glonl5hirMhi1nIPw0r8xWMSQwcnWfXUTfx-9LMOxXZS2djx1RafhyQUCOTemS9sb1lgXrViu0hoWscAX7PTlZnkPz6po=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=54215@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /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.