From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +Lj5GIEL9WLa3wAAbAwnHQ (envelope-from ) for ; Thu, 11 Aug 2022 16:00:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CM0RGYEL9WImFgEA9RJhRA (envelope-from ) for ; Thu, 11 Aug 2022 16:00:33 +0200 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 18FC7B736 for ; Thu, 11 Aug 2022 16:00:33 +0200 (CEST) Received: from localhost ([::1]:52774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oM8jf-0004iZ-TP for larch@yhetil.org; Thu, 11 Aug 2022 10:00:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM8jC-0004gg-W5 for bug-guix@gnu.org; Thu, 11 Aug 2022 10:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oM8jC-0002M9-L7 for bug-guix@gnu.org; Thu, 11 Aug 2022 10:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oM8jC-0007Ui-HL for bug-guix@gnu.org; Thu, 11 Aug 2022 10:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57071: Xscreensaver not working since latest patch Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 11 Aug 2022 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57071 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Rick Huijzer Cc: 57071@debbugs.gnu.org, Roman Scherer Received: via spool by 57071-submit@debbugs.gnu.org id=B57071.166022637428744 (code B ref 57071); Thu, 11 Aug 2022 14:00:02 +0000 Received: (at 57071) by debbugs.gnu.org; 11 Aug 2022 13:59:34 +0000 Received: from localhost ([127.0.0.1]:54693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM8ik-0007TX-2r for submit@debbugs.gnu.org; Thu, 11 Aug 2022 09:59:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM8ih-0007TJ-4Y for 57071@debbugs.gnu.org; Thu, 11 Aug 2022 09:59:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM8ib-0002Ia-D3; Thu, 11 Aug 2022 09:59:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=rszighptsDiBKAgMrCi1g+KVqPgyFqmXiOWoTk8FhCQ=; b=k3JdSTcHjspkyNoogYMa qwdKQEfc5iVQzVqlN/mLsGVl399ElOERTmEvp91bjfcNRbvNQulHV7aKKkMScGyeuvdgxN23nqohA ipzTvRM10ZXTgIetuEPkxcs+xZBMsiPv3szlenE+vb6WlqGa48n7Rtu4T+MO69B0brI7myZLI6eYP BLCYYH7++wItf+wYkjmcI19E19giNW4GyLXc4IRUiEai42yJSdwidrGu62K+tR9bP1Omc1gc2gJcs 8CSBKd0bwyqODSAjMkZXLOIkDKt3TBAFkEDmbm/ylGpEwJPxPfB1Da65qWKGT4GqQjyjcjAOzoqGU 4RnByvMm4DIbpw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=58068 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM8ia-0007IA-Di; Thu, 11 Aug 2022 09:59:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zggd14vh.fsf@gnu.org> <87bksstvs0.fsf@burningswell.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 24 Thermidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de =?UTF-8?Q?l'Aun=C3=A9e?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 11 Aug 2022 15:59:21 +0200 In-Reply-To: (Rick Huijzer's message of "Wed, 10 Aug 2022 13:54:33 +0200") Message-ID: <87v8qyubie.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660226433; h=from:from:sender:sender: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=rszighptsDiBKAgMrCi1g+KVqPgyFqmXiOWoTk8FhCQ=; b=BncYxPDWIEuQ99ismTsFdjru4A6f6qoOMeBlxT7tTpKOWrgwDyhNdT8H9JFvwu/TMnEnZ1 cL73dGUaAzoZj1em9J0VWj0Wo7kfkaxU3UQSCxrYapWcOVa9NKKnJmoSdLnVHToTmAEmtQ IGS2DjFJcuzTeXsFG3fYMu6GjjyM39GhAd3aCft5jHvZ7zRa0tc3MXJI59HMDVMQZcgHiy ZEpdo2ZbAnS3wOBNg0YaEZRydYn7nz36jhcUe9iG90a4kAqSB+Tcoe6S1WD259AoO7nHJv 5lX4xggJeQWcQKe4A0kC3y22q/7SlOXHisg6NhGpynGnZ3KNnJvE4R4NV6+VAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660226433; a=rsa-sha256; cv=none; b=AVdUzEQjCTVkoqYck0Fwip05rMM/AOoZcdcUrujQP0Hxq+FggadjTmsv8E36Bs99Uv0rQS 009lTVH7v6UbAoqJr7bf6pw1URBc9iOeYss5vzWSti/uO0PesK/jN7vmsdatXZOei8f8Ij JZ7sM7sbzi1sCPgwqhFNztFfNKfJFW/b8JmPKgfu0n1p0tnoGPjod+R++GhqbVPqzppms+ Pw/bVoG72B45dUI5W64LX1e2c15TvXHzSTvPhKMCPlQ+xVaPylWjH17zAr7Q4EFFWQiozB Gg+AVEkfgiE1gjV8t1j2+9NyuyP2w8unYOgmIlrtXElJNc+Fx+vZ132x7QYBTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=k3JdSTcH; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=k3JdSTcH; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 18FC7B736 X-Spam-Score: -4.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1eP14jzzFDSM Hi Rick & Roman, Rick Huijzer skribis: > It seems that xscreensaver-auth needs to be setuid instead of the main > xscreensaver binary. The screen-locker-service in xorg.scm sets the > provided package setuid and sets the required pam configuration for the > provided package. The problem is that the pam configuration needs to be s= et > for xscreensaver (/etc/pam.d/xscreensaver) and setuid needs to be set for > xscreensaver-auth. > > Interestingly when I setuid xscreensaver-auth manually I run into the > following when unlocking: > Aug 10 13:35:02 localhost unix_chkpwd[2197]: check pass; user unknown > Aug 10 13:35:02 localhost unix_chkpwd[2197]: password check failed for us= er > (rhuijzer) > Aug 10 13:35:02 localhost xscreensaver-auth: pam_unix(xscreensaver:auth): > authentication failure; logname=3D uid=3D1000 euid=3D1000 tty=3D:0 ruser= =3D rhost=3D > user=3Drhuijzer > > But this might be fixed in time by [RFC PATCH] gnu: linux-pam: Change path > to unix_chkpwd helper . > > I don't know how to fix this elegantly, maybe create a dedicated service > for xscreensaver instead of the standard screen-locker-service? Yes, either that or a special case in =E2=80=98screen-locker-service=E2=80= =99. Could you give it a try? Unfortunately I=E2=80=99m going to be away from keyboard for a bit; please = do ping here and/or on IRC if you don=E2=80=99t get a timely reply. Thanks, Ludo=E2=80=99.