From owner-freebsd-ports@freebsd.org Tue Jul 19 10:05:15 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2ED4CB9E844 for ; Tue, 19 Jul 2016 10:05:15 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E869812CB; Tue, 19 Jul 2016 10:05:14 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [82.113.106.112] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1bPRtf-0004EB-7I; Tue, 19 Jul 2016 12:05:03 +0200 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u6JA4xT1003240 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 19 Jul 2016 12:04:59 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u6JA4wU3003239; Tue, 19 Jul 2016 12:04:58 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 19 Jul 2016 12:04:57 +0200 From: Matthias Apitz To: freebsd-ports@freebsd.org Cc: kde@FreeBSD.org Subject: unable to unlock KDE session (kcheckpass with wrong perms) Message-ID: <20160719100457.GA3179@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-ports@freebsd.org, kde@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.106.112 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2016 10:05:15 -0000 Hello, I'm installing a new laptop with 12-CURRENT and ports from head (compiled by me with poduriere); it turned out, that I was unable to unlock a locked KDE session; digging into the problem I saw that the component to validate the password (kcheckpass) was packaged into the pkg with wrong perms: $ tar tzvf /usr/PKGDIR.20160716/kde-workspace-4.11.21.txz | fgrep kcheckpass -rwxr-xr-x 0 root wheel 14352 17 jul. 21:43 /usr/local/lib/kde4/libexec/kcheckpass in older versions from head in December and Mai it was with perms '-rwsr-sr-x': $ tar tzvf /usr/PKGDIR.20151230/kde-workspace-4.11.14_4.txz | fgrep kcheckpass -rwsr-sr-x 0 root wheel 14352 dic. 31 2015 /usr/local/lib/kde4/libexec/kcheckpass $ tar tzvf /usr/PKGDIR.20160501/kde-workspace-4.11.14_6.txz | fgrep kcheckpass -rwsr-sr-x 0 root wheel 14352 may. 6 21:19 /usr/local/lib/kde4/libexec/kcheckpass matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wer übersieht, dass wir uns den anderen weggenommen haben und sie uns wiederhaben wollen, kann von den Kämpfen der letzten Tage keinen verstehen. Und kann natürlich auch keinen dieser Kämpfe bestehen." Hermann Kant in jW 1.10.1989