From nobody Sat May 06 05:38:11 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QCxD60KYbz494VP for ; Sat, 6 May 2023 05:38:14 +0000 (UTC) (envelope-from sblachmann@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QCxD55HKjz3C9G for ; Sat, 6 May 2023 05:38:13 +0000 (UTC) (envelope-from sblachmann@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-24e3b69bc99so1873002a91.2 for ; Fri, 05 May 2023 22:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683351492; x=1685943492; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=onwevCOcQNzkW1Ii1DT5ds4Hi1vYLVuawCjNNe3zJm8=; b=MkdU6usMz4y5en/pLToR3Kabb4FBgrZhpWtHguWZ1iZ70wLXYwRnPfok6dGTOTwfpr otrtWlCbNdaXOuPuumo5Q42ScarbHUzduGJecEzFsjs1rjQalg6rkLqc6x0Wt5yEiBz8 6f/+xjtUD1ZLLPiPlKzr1kF64vw+AKxXbgiRcXlBzdvEyiR9HI2/Nts/TWJMrYrE9muU RuKxKK3KaF/AUXRcAYpLWrENjruGMgyLFDHsub+CN9BdL/UJiKfheOeOTp15M5q4hUoP 95/G9HndQeysW/LBfix6HRPmcG2N3/m2+9nzDtjmfbFnrfoVLCcVhist27C/HHORuAVP YJrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683351492; x=1685943492; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=onwevCOcQNzkW1Ii1DT5ds4Hi1vYLVuawCjNNe3zJm8=; b=cDlqUJvlo/Mfjgq/qkhRuGTVPzI6E/A6hIJkb+I9buw8lIOSdpoN+buvAc3DhB/3CY Jral+u0qO4J62urINP3DPazlcFejmGy66rFjNiA52EEN4CVZRFLJ/IUP6fi+IdaZzq5C AuDmWituMdwKJyfJNLEEYosY2FfTHvgTA3UXwQUR/aVCua8sUUdq4HLI97EVf9a/coTr +5Q0xZfM31D3piq1WROASgU3woMFb3dRzs28XGvWkTjuOslQRsJro1ttWebxqYU0asko qzIxPylx6Ip8lKbPPzw8S64oqDLBGdkBjxQX7nPab/5jrElctWLs0If3yJ5iUgGCzoQA Qc9Q== X-Gm-Message-State: AC+VfDxAU3MpVGZhCz3RVNuaqfPXoe682VCQpIIqlNi/KLgQnA5ZFpeU QSjdzTX7bfLfjPYXl+fm/T8pF33SKB+WHYSMsekIXfSz X-Google-Smtp-Source: ACHHUZ64sLI/AmM35Kar3hh2xFXy77lOFprQp+LyInj/6lPIH+8NZYhuwcSm7yX5j9f8OyZQdpl+YINDCcWI5+H6Ppg= X-Received: by 2002:a17:90a:b908:b0:250:4876:26a8 with SMTP id p8-20020a17090ab90800b00250487626a8mr1485416pjr.13.1683351491837; Fri, 05 May 2023 22:38:11 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Received: by 2002:a05:6a10:e293:b0:464:96a:741a with HTTP; Fri, 5 May 2023 22:38:11 -0700 (PDT) In-Reply-To: References: <256af1c8-7272-746f-35ea-0b1f94c2a40c@bruelltuete.com> From: Stefan Blachmann Date: Sat, 6 May 2023 00:38:11 -0500 Message-ID: Subject: Re: Run scripts from rc.suspend To: "Peter 'PMc' Much" Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4QCxD55HKjz3C9G X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 5/5/23, Peter 'PMc' Much wrote: > On 2023-05-04, Johannes Totz wrote: > I found there is a rather short timeout, when the susppend script will > not complete running child processes and give up (hand over to acpi). > > OTOH stopping processes may sometimes be fast and sometimes take a while - > so the outcome is likely an unpredictable state in the suspend, and some > people don't like that. Can't this timeout delay be made configurable, or just that the suspend scripts complete, instead of killing them?