guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#54215] [PATCH Shepherd] service: Add #:rlimits parameter to 'exec-c


From: Attila Lendvai
Subject: [bug#54215] [PATCH Shepherd] service: Add #:rlimits parameter to 'exec-command' & co.
Date: Tue, 01 Mar 2022 19:17:21 +0000

> > 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 via email to

[Prev in Thread] Current Thread [Next in Thread]