From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 86EB33858C98 for ; Sat, 22 Jun 2024 06:45:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 86EB33858C98 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tarides.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tarides.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 86EB33858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::52d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719038736; cv=none; b=ec/xCqFs4qjXON48a7VBsrK8UOb315q/z7mfAHbU0x4mTQtZKHO8src5myAIzcC4X80n7edtTsyAwG2WskVsaBcrfkICP88gNeKM5khJ3hiA2Mijy6HrafFvdo2AcMcmDfEVcyVHq1oyXtYrVuMHd2fktDCsEli9Oe+K7NCsAiE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719038736; c=relaxed/simple; bh=xYvU9sDpP9oww23vzhF3QyWhxOUb5fw9AnfEcC61Npk=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=M4UA4iW6JIlP8jYS9Ea6eaamGvCCfofAeZLpdy7erci+tJAyfiAsdiYQtvF77Enwgdh5x6YGUeLHzPii/9LkNX0MWg+MD+ytZf71HsG1jLaA/+JULptZzMSFNC0M7Fd6lURdG6uPx6PP3jimETY1qZpeNuAMTZebTT+/NxVr05s= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-57d280e2d5dso2304315a12.1 for ; Fri, 21 Jun 2024 23:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tarides-com.20230601.gappssmtp.com; s=20230601; t=1719038732; x=1719643532; darn=cygwin.com; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=xYvU9sDpP9oww23vzhF3QyWhxOUb5fw9AnfEcC61Npk=; b=e/1L/tdcbNey4Y4cL6iXDEJZJ/ocd1BIoUl96pJdRJFJmaPRdUjskM4EwoqrHJCoxM 6NsKDYHvt1Xd2qE4oyJ9i5jbiZTmh1hG1N+FARZQx/kNi5Px3NVoBNhsqKLOxzU91xEN hzo1gwZKeQBxgkrGSpkkGSzwYQ8uuFfYB+nIazmEkvbvOCBehKjpXPrYIaazWT1S5t1G 8RY/DaJCWqtwbIyRiH0ourzq0HTn2BgETx9OXdUnKRymKGpkp6n+Biy5hu/ym2dHuaoQ vsHODlwIZqlrYpLwNv1+nkYKg0G9n0Q6VTfbat3mVJYcypQx82muaR7mk0dsx0e02N2f QwnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719038732; x=1719643532; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xYvU9sDpP9oww23vzhF3QyWhxOUb5fw9AnfEcC61Npk=; b=MJGCsF7WmJP/3PNo9tCAA+yv33dP55y1D+emiuMDOSIZCYLsCeUR8DmGDXRBfCbW+Y hkSKjITE2PyeuYg66YIygfdo76S8yF9FFkCdmoeMrx+My6nAfMPZNhYDL9UIqY/rtSux PNcEbaj8cclnRsX9+zoXNSTBudAZFkI4Y1Vffg6a+bE/IaqtDMfiiTHRCcycXnC6hoCz n3zSrmh3eWD/pnBbNXEndIc6bim7Jk6aTLQ8D695prUTxGr3zwowNagIW9F/sdtzQ8sV V6c4Xj8I7yPXGjf1VyaYpF5jw6UdGK4R2JTMfpyXLqjPZ1yQ9TZ3HnHcJ+x5vMDbI6K+ JLpg== X-Gm-Message-State: AOJu0Yy2F6CoiIm3zSOTljEyX/8ynutHN304i95yuKsg17ZHOdkV34ZI AezKLxks+c1dbh/Ayo4o/b8/XGCwRoLTBpxSQDHFpZLD2CqPwnSR3aBb3FOdHa8NQW48mpR0PuU cma7n3f9CJPk2JvpgUXdyPyiC3olZHL/HlMn/ehZ73rB/M6S2 X-Google-Smtp-Source: AGHT+IGLcVhoqchRz+5mvJqaUFd9pc0th5ls2xOthj+2t0JuAp2EZ2wA3oX3rRC++TnDzwIbVGCG5RyjlWZGHm7Mk6M= X-Received: by 2002:a17:907:d383:b0:a68:eb4d:3963 with SMTP id a640c23a62f3a-a6fab7d7ca5mr631454166b.67.1719038732002; Fri, 21 Jun 2024 23:45:32 -0700 (PDT) MIME-Version: 1.0 From: David Allsopp Date: Sat, 22 Jun 2024 07:45:20 +0100 Message-ID: Subject: Aborting Cygwin setup in unattended modes To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: If Cygwin's setup requires input (for example, to select a mirror), with --quiet-mode hidden it simply terminates (there's no apparent exit status or message, though). With --quiet-mode noinput, Cygwin setup sits at the appropriate dialog, but it's of course non-responsive. Would it be possible in these situations for Cygwin to abort, preferably with a non-zero exit code? The background to this was running Cygwin setup in GitHub Actions (so UI not visible), _without_ specifying --site, where the Cygwin installation had been restored by actions/cache but not the registry setting in HKLM\SOFTWARE\Cygwin\setup meaning that setup could not find setup.rc and consequently determine the last-used mirror. The GUI therefore invisibly froze at mirror selection. That issue has obviously been fixed, but it would seem sensible that Cygwin's setup doesn't ever display a dialog _requiring_ input where all that input has been disabled! David