From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yOaODbxnHmI7ggAAgWs5BA (envelope-from ) for ; Tue, 01 Mar 2022 19:36:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gJ3DCrxnHmKmIgAA9RJhRA (envelope-from ) for ; Tue, 01 Mar 2022 19:36:44 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6C95BF7DC for ; Tue, 1 Mar 2022 19:36:43 +0100 (CET) Received: from localhost ([::1]:47418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nP7MY-0004NR-Jk for larch@yhetil.org; Tue, 01 Mar 2022 13:36:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nP7M1-0004N0-3p for guix-patches@gnu.org; Tue, 01 Mar 2022 13:36:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44306) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nP7Lt-0000Xb-Lm for guix-patches@gnu.org; Tue, 01 Mar 2022 13:36:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nP7Lt-0004rV-Ik for guix-patches@gnu.org; Tue, 01 Mar 2022 13:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54215] [PATCH Shepherd] service: Add #:rlimits parameter to 'exec-command' & co. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Mar 2022 18:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54215 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 54215@debbugs.gnu.org Received: via spool by 54215-submit@debbugs.gnu.org id=B54215.164615975818678 (code B ref 54215); Tue, 01 Mar 2022 18:36:01 +0000 Received: (at 54215) by debbugs.gnu.org; 1 Mar 2022 18:35:58 +0000 Received: from localhost ([127.0.0.1]:38203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP7Lq-0004rC-6j for submit@debbugs.gnu.org; Tue, 01 Mar 2022 13:35:58 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]:20027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP7Ln-0004qw-Sa for 54215@debbugs.gnu.org; Tue, 01 Mar 2022 13:35:57 -0500 Date: Tue, 01 Mar 2022 18:35:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1646159748; bh=yj/ayUJpf+N5Ur8Q/+ghSNBkYWjz7kPDKy2jgGh+I/Q=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=pDYRxgdN2wK1/dKxxPtIxjAgZaaDDnvoVCN00MVmW9FmLlqqe/DWgsZVVHNsDkBO0 KJi9HiUOS1NEah/WdWZv2AKiQu2Q9joe5zaCt8+GwaZBFQN31mHAQUx0wn8NoXdb7u mhjBQQIzADAlTB3v09sgCYKA+ReKLsYAl3N2DewJyUe8L/zhvSakfjqpuFGq1EA7ZO Rgdh9boEFWS00kKoMNcBuzk7JBHvVX4L+L1+AtVKBL4JNtdwYTHikX7pCd2P8vKuhH B329OFnyyaUYDvSD+4Mu5fAmXQRnjk8u2AcXpS1E94nA2lC0QJVAaTpH6zF3fd6Fy6 10x5tBYA1fW3A== From: Attila Lendvai Message-ID: In-Reply-To: <48526d32a684a531940b59edcfb016ab81c7d3bb.camel@telenet.be> References: <20220301181242.18384-1-attila@lendvai.name> <48526d32a684a531940b59edcfb016ab81c7d3bb.camel@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Attila Lendvai Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646159803; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yj/ayUJpf+N5Ur8Q/+ghSNBkYWjz7kPDKy2jgGh+I/Q=; b=ZgVrYDNLlzVfFIvTw6OssFLYM7V+Dp15SEtDQVKq5yh5t/48EJCjls9WlPENBnYsSPwtH9 HLUdo31tlX21EDveWuRfFuSkoYhcnRJ48H0zo4xIfBxcmaqJdZ9ciGmgR9QgI1s/Jx0NoV mEQT5PMTPmZDST3qZiv8poPR0W5J7NLx2Q6fKF1mwz4MTkR644HSAOmJ4M0iWB76lfTxzr eDS3nF+c6of4wKNfcaDjxbOGIkRh0LbjAGp+UwsXBCsaNZf+dR7IhfZH/jvhoEq0ixDadF dFSuEULu9QqLKPgVyljX/jmk6FqkNNBgdwA2jJW/l+2WbMeVISIOQeefTrXyxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646159803; a=rsa-sha256; cv=none; b=BVKuM/wuQ4fiN1GHRezz0gtvl4U5DoXLXskoZyOzd2ANZWb3FnwSUzyBfsFmahUB5ZFQU6 fTW7tfoeiZEv7W1sfYBsFbdccE88Z+/sL6qPR0/CFsfoS9J3jWBnjWY265FYpI3LFScGLT N8KgWNLtbeOT+hJO2vdCpyhqn5PEns1L0wKAh8F/JcBkzdMc1QAUnwwjXIrNgfM1mR3zsw XKYARAB3VK3iJPp71j5GPz94hTL97DPYv9EpfwoVhOzFCKReI9vjQk6vhnCu0F+moGnDKQ PsdhXrmW/VRgYASX1vSyLE9p/Y02qfjFf0r7YagNNz8BSXxbE/Ujidx6hKEIUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=pDYRxgdN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=pDYRxgdN; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6C95BF7DC X-Spam-Score: 0.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6YWBWsDg+uvB > I think it would be better to verify if rlimits is well-formed > before forking, to let exception reporting work better. WYDT? now that i have a reaconable edit-build-test cycle for shepherd, i'm planni= ng 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? but feel free to tailor this as you see fit! -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CDon=E2=80=99t be a slave to your own ignorance. Know where your op= inions, especially the strongly held ones, came from and be brave enough to= question them.=E2=80=9D =09=E2=80=94 Dean van Drasek