From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hall.aurel32.net (hall.aurel32.net [IPv6:2001:bc8:30d7:100::1]) by sourceware.org (Postfix) with ESMTPS id 1CFC13858CDA for ; Fri, 19 Aug 2022 09:39:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1CFC13858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=aurel32.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=aurel32.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date: Content-Transfer-Encoding:Cc:From:Reply-To:Subject:Content-ID: Content-Description:In-Reply-To:References:X-Debbugs-Cc; bh=pl0+QF2cEpJA0lAO1LZihGLReqgWTUT5a3CWf/S8cEk=; b=u6KfE5dLBW8/Rdqqdi+dNYanZw gL3JUTmVvE0WFkGTjRMxfGEqEqknI7VQeYcsC3dAESMJmkvhr0H4JHivoiONZGF0XQQzWTuBpIvK3 v1yi1eeoHIqGzR9ccr1nnBuURaXY5WCY1IxN0VzOAa1qxs9L7+2UhZQwULpsq9vW+QVHHmMVluo8E X3JsgaqC5/vejHDapUfyEahrAXTD6trpcZM0C93PyyV3M2kN+sUOSjtXIlftxPF5dVGwl3AmDrgkp 5KRFCQHHQGtmxuqqDGBtB7Q8G4VvHVPaFvUgYb0t5uRRmB5yeRDllsQI0RsmT+Vpm5A6SBMYitwOp Z/vjwBPA==; Received: from [2a01:e0a:406:7381:3e0e:d27:becd:e47b] (helo=ohm.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oOyTG-00BdDK-Hr for libc-stable@sourceware.org; Fri, 19 Aug 2022 11:39:18 +0200 Received: from aurel32 by ohm.aurel32.net with local (Exim 4.96) (envelope-from ) id 1oOyTA-00BWWj-0z for libc-stable@sourceware.org; Fri, 19 Aug 2022 11:39:12 +0200 Date: Fri, 19 Aug 2022 11:39:12 +0200 From: Aurelien Jarno To: libc-stable@sourceware.org Subject: Backport /dev/pts to older branches? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/2.2.6 (2022-06-05) X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-stable@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-stable mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2022 09:39:22 -0000 Dear all, I would be interested in backporting the following change to Debian Bullseye package: commit 27fe5f2e67a0e4cc0526b1b32b55f8e519075edb Author: Florian Weimer Date: Wed Oct 7 14:55:04 2020 +0200 Linux: Require properly configured /dev/pts for PTYs Current systems do not have BSD terminals, so the fallback code in posix_openpt/getpt does not do anything. Also remove the file system check for /dev/pts. Current systems always have a devpts file system mounted there if /dev/ptmx exists. grantpt is now essentially a no-op. It only verifies that the argument is a ptmx-descriptor. Therefore, this change indirectly addresses bug 24941. Reviewed-by: Adhemerval Zanella This fixes bz#24941, which seems to affects ansible users. I wonder if I should backport it in the upstream stable release branch instead. This is trivial to backport, but on some rare systems, this might require some changes to get /dev/pts working. Any thought about that? Thanks Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net