X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5DB63857707 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1697950005; bh=JwI6g5syN0Mk0iqID4X9baMrGUhez/C2ndg3WyHosXg=; h=To:CC:Subject:Date:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=HmI+xxRqakyBEgvaePLTwddke/p2Iy/arbKqoVzCQNftckmMs30zOFvu73xB6MqjG Dr3Y4jpzeOIOiwwDFsIEndBJ2lfAUDiR4h4dHDIdWco4hVSwkIGQfQbxpgk2X7L2+y /47XhihHxDB8pmFfmBIiJu0VpTNNfSYJbPM0UGkw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E5B13858C54 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E5B13858C54 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697949968; cv=pass; b=BdT+LYqrfp4Vpff4s61kOq4pmpGSfF2rlxYw9aA402jyHhzLl0ale6jmmzzUJvWl6nfMAIw8NYSXVj3AZI+nzCZHvrJodYFKYKDAfl/GdggRi//txPcZKeHJ5g7seCZL/Is1tvHQm/4zdaPGWgl0e5dmpavi6nS2khoTE8IlYSk= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697949968; c=relaxed/simple; bh=D6cpPBKJy84kv92I7mzadJr9lgu0PTrOnCNvWUP4x00=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=CaMM4Qn2mhH6jrixAzSw6hgzOABDKHOcO4Om2pKvISLmCeu6hnjYUlZU6x0a7WJuji5DKpRBmvPFx2bY/ozEsB9R1MXkHsCJai89f7XOYwtGNeV6bECvuLCx+/pG39Zilrhb76aoi1QovYeXtMBmfp2/j/p7dr7UvqpJs3dgtgc= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PDiP8KqHqwABR5tHOQKOrxxo7/Xb+umrvXbviPu3FYQ0VMaSv/cLofw+FTZpRjqvUm9wvRFH7oCMaWFfxoqXeNMNMnJs3FMgGx+o4pMrcIMKTV+fsArZQ4OSVT0/ibbFIVNefu1aiYTihOS1F+6WWHGkFVPzV7xltLQRPrRf3PMGe6z3+ppQlX9inRgBddu93KdE6CC5CXg4+Jvplp2obL6s8Udgp+E3aly2JZLsEg1q0PYY+ImhO4n/6+1kFK5xzkTgPHf/aWF0ThsvmrMZx6X3QYXkPrVuWq2umfzO37O7UWFH5IABvL0j/J1Tmj8WEoIBoKV/NVyoMqfUxvERlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R9YYfQ8WUpvYkfkyX74qBS3GBSarECsLhKtgMRiOaYQ=; b=QqZqIu88BzPylJsYwOUWxw6AGAir1xYT8ZQwwlm0AAX810sRqA4dKy8BENCMpb/15mkxIGA9R4+yg82OshMKKaytsHRlPk5aNRkoa2KVZ8WkKFiRWg5JVkqsBSQSu7541bhyVF1vySMv5LQoGtLFgxC4Wb0vl0IqBRSe0HHjjAe5K+Tv8efx5fgJXd0yK2g99Kog0BJWgNFOx8m5Ft61dTUFzE0iGupcf7UCQ80MuCd0Gcbnr+464Wk3+daKy6WAo2fVTjogm5uniW12MFnfd1+xrW7g2E+nVKQ8OEsETdzzG1vAmk97F2EZ4EssgHXGjmyYtaqKVodxJCa36YLPyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none To: "'cygwin AT cygwin DOT com'" CC: Fergus Daly Subject: RE: New installation of Cygwin64: xinit.sh exit code 3 Thread-Topic: New installation of Cygwin64: xinit.sh exit code 3 Thread-Index: AdoEBOuzh5j1YItZQHeZbbzpXUBS7gAB35xQACLihTA= Date: Sun, 22 Oct 2023 04:46:03 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [JX85UUDwhIBjLB6ilSUbJG6RRzYOszVK] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB6P18901MB0055:EE_|AS8P189MB1590:EE_ x-ms-office365-filtering-correlation-id: 7a9f7f91-a93d-46bf-23ee-08dbd2b9cbe0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AAZnOV6ekqwfk037PRhacslPNvILx79kaH5xkLhUm7ZrNXHuyB4rJ/cK4FAW7MAEl2Ongc7Ws0oPmtdAJE7F7xV7aFGQgQ2UWP2kEhb9eUWGJ7QoAUHP5lSF/7vBYd0AvfGp027w9T7enIifeeRT2Lb9UpySLUo81DlnJ4u4itY8Lw2p+jriA+tD/CkmcnoXJdaksiozElwplS6wxkpm4SvuF1CiEMQa9N5xZ5MDz0AcsbC4IyOpqA4c7Rx5fnw8Hz2gX/E+8cNBpWdskorBlkvtrlz43vEKkcM5sDsYywp4eEHWpgT+6QsYvNpFeHND7R/XYbf9hGeNXWiKF3FJQtVDHE2m5Tpy1y0Owt0wKOpWmwCs3waTmCMZ5UVOju5S58eLExtxu0y3UvFyZo6MmnmbX7tugdyIibpop5VYRwQAImFbrT7aetPVnpzeXl+yu+X4SlcnK480ZgU1lOrhXsmlhFtPgaLXEyG6eAHnbJLVtVrHtyhsr8zQ5Adzmzl8SgqpI8jUfsRtNBo+bOJOYwNStJ+pn7UN90+fmOuhAVENVhPaq1KFnM+O1525tqrepkfaP7niGpDS1YDd7xYnIn5A+IXbPBm8mYNEW8ZOTJAL9l162BGIqEXufAV9m7QT x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mz5u+UChVxZ1Tr64c8oZRpJ6w7Pmrkv75ehlUiOn8erOhzdrVF41rTVN5zL9?= =?us-ascii?Q?vMeDVH2OP/Q1WVj/HDQxyShicjzjBh4YO50jMyyT3qI4II/JLMiLFApp8mut?= =?us-ascii?Q?yAf20ff4kqzOGJwsM4PQXVraoSDZEKxsDVjn9m9PktopJz0pmNhnaSMN4y2L?= =?us-ascii?Q?BefsenTYAaMVJVQ3DSClbT6FGxr8SvCQOW5Q07BL7RX5Ey42iENflQTYAxXV?= =?us-ascii?Q?RSMBtR7T1pOoCy6434qKQ6dLreiXw4Ho97ADZ0MDrahpgTo8tqAgeziN/zsc?= =?us-ascii?Q?ncuYPjdmatmapp6IpsDez2GgkeeOoLdBar0YJs4OnfV5vXSzN50NfBvydlY/?= =?us-ascii?Q?YI90rAcvMjGimV2O1FzQBrx91ICJ7/fB/gzo90VVTUIP0oDlulBJKUtOwFhM?= =?us-ascii?Q?EzSLA4ILF9aWnDSfRO8RFtJ9C38CW/mn6K/D1NDUHWU+pxza4cjGueLhmXwW?= =?us-ascii?Q?FjzOP69glhYDCGxwE+h7DWBuvYDYN4qcJB3oBbSm4afaM+/NliTK8lEvilmy?= =?us-ascii?Q?9bWRCJpCLLtzbUxjXhy9kCR9eYoz4rHygDuxOp73t2MAigaJTyiQdw7D04YP?= =?us-ascii?Q?wKPufTMA8y3uW1Be3JmQOTe5WJwVndX0S3GdAHZurajv8HWUSLwByBr8L8kF?= =?us-ascii?Q?VSz3owPHrfJtziOqigvf9BQx/HUCt6d0d4ghyYmHd/6+6JMHSdLKIuLpdTvz?= =?us-ascii?Q?WHMEJ3E/SJAXlK2r3AKFDaDf9BSSgl4pPH0SrNek13J5gdvnUL2pK0rM6GY7?= =?us-ascii?Q?A0cqYMffBnuaKjqVT7fh8SAIH5oy0X1GT54hqJ/0xIWrGMQMJBtawJo/wwdd?= =?us-ascii?Q?JLTou95vmmZ7gLHr+VezQZNviE+NjDJC34SlkXUSsmhS1qo2SIa0lQGepM8S?= =?us-ascii?Q?QT8EhpuBsNlzsYaM+IIvZktS5+Jq7NzeJmGHCAanRxuoIinrZ65QRyVGPyXA?= =?us-ascii?Q?KhDrkjyqRaZ+7wf++iBaDLFQ9iETTc8HDFJhHvhwHAoBWkbFV9Yt1Lyy+lo2?= =?us-ascii?Q?ZcqomYMv189o7cPTP2gbfY7j/a4ofGpD6gtPniGNv3NSZPiLpLKx92ekFe+l?= =?us-ascii?Q?hX4+6joGXSOLhJLI4qpPNSOLmtcrPROGZq0a20a/EOVrRgUf3iHWRCNN8d7z?= =?us-ascii?Q?/7LqGS/ePo5T9Pwf8biDVZZr6LLLyJGSEia1Be8XYPh3GgdT/E7xSm/YHwFz?= =?us-ascii?Q?ugUugFzEmYKSdudimPWiS+SejlvyONlrLX85Jg=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB6P18901MB0055.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 7a9f7f91-a93d-46bf-23ee-08dbd2b9cbe0 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2023 04:46:03.3921 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P189MB1590 X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KAM_NUMSUBJECT, 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Fergus Daly via Cygwin Reply-To: Fergus Daly Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" >> Should have added: the file /var/log/setup.log shows no detail beyond >> 2023/10/21 09:29:46 running: G:\console64\bin\bash.exe --norc --noprofile "/etc/postinstall/xinit.sh" >> 2023/10/21 09:29:49 abnormal exit: exit code=3 >> >> -----Original Message----- >> >> I made a new installation of Cygwin 64 on a new USB stick, including the package xinit. >> (I use setup -P followed by a longish but far from complete list of required packages ..,..,xinit,..,..) >> At this first use of setup I got a single error message: >> Package: _/xinit xinit.sh exit code 3 >> At 2nd and all subsequent uses of setup (i.e. as update) I get the slightly altered error message: >> Package: _/Unknown package xinit.sh exit code 3 >> In practice, any usage of xinit (e.g. to launch xterm) seems to work perfectly well, but the repeated >> error message at any update transaction (including when empty) is disconcerting. >> I have not tried an explicit command "bash (or dash) /etc/postinstall/xinit.sh" as - even if this worked - >> I would prefer to canvass opinion on this minor glitch. >> All the same - the glitch is recent, despite being minor .. .. > What filesystem is the drive formatted as: NTFS, ExFAT, FAT32, or other? > Try rerunning the xinit postinstall script as follows and report the failing > command(s) and error messages: > $ CYGWINFORALL=-A /bin/sh -vx /etc/postinstall/xinit.sh Thank you! 1. The identical error msg occurs on all of NTFS, FAT32, exFAT file systems. 2. The output from your test command is identical on all file systems, 3. The failing commands are the two separate "case .. mkdir .. mkshortcut" sequences that occur at the end of the xinit.sh script, with consequent error notification as follows: case $(uname -s) in *-WOW*) wow64=" (32-bit)" ;; esac + case $(uname -s) in ++ uname -s /usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}" ++ /usr/bin/cygpath -A -P + /usr/bin/mkdir -p '/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/Cygwin-X' /usr/bin/mkshortcut $CYGWINFORALL -P -w / -i /usr/bin/xwin-xdg-menu.exe -n "Cygwin-X${wow64}/XWin Server" -a "--quote /usr/bin/bash.exe -l -c \"cd; exec /usr/bin/startxwin\"" /usr/bin/run.exe + /usr/bin/mkshortcut -A -P -w / -i /usr/bin/xwin-xdg-menu.exe -n 'Cygwin-X/XWin Server' -a '--quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startxwin"' /usr/bin/run.exe mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/Cygwin-X/XWin Server.lnk" failed; does the target directory exist? case $(uname -s) in *-WOW*) wow64=" (32-bit)" ;; esac + case $(uname -s) in ++ uname -s /usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}" ++ /usr/bin/cygpath -A -P + /usr/bin/mkdir -p '/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/Cygwin-X' /usr/bin/mkshortcut $CYGWINFORALL -P -w / -i /usr/bin/XWin.exe -n "Cygwin-X${wow64}/User script" -a "--quote /usr/bin/bash.exe -l -c \"cd; XSESSION_ICON= exec /usr/bin/startx /etc/X11/xinit/Xsession xinit-compat\"" /usr/bin/run.exe + /usr/bin/mkshortcut -A -P -w / -i /usr/bin/XWin.exe -n 'Cygwin-X/User script' -a '--quote /usr/bin/bash.exe -l -c "cd; XSESSION_ICON= exec /usr/bin/startx /etc/X11/xinit/Xsession xinit-compat"' /usr/bin/run.exe mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/Cygwin-X/User script.lnk" failed; does the target directory exist? When I used Explorer to visit C:\ProgramData\Microsoft\Windows\Start Menu\Cygwin-X I was told: "You don't currently have permission to access this folder" and clicking on Continue to get access I was told: "You have been denied permission to access this folder" There was then offered an option to edit Permissions which I didn't feel like pursuing. (I am the Administrator on my own standalone Windows machine. The denial of access to Cygwin-X feels odd. PS I also have Cygwin32 installed and running. I _am_ permitted access to the equivalent folder Cygwin-X (32-bit).) -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple