Subject: pkg/14674: kde2 screen locking fails to unlock
To: None <>
From: Mark Davies <>
List: netbsd-bugs
Date: 11/22/2001 14:16:31
>Number:         14674
>Category:       pkg
>Synopsis:       kde2 screen locking fails to unlock
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 21 17:17:00 PST 2001
>Originator:     Mark Davies
>Release:        NetBSD 1.5Y
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
System: NetBSD 1.5Y NetBSD 1.5Y (MCS_WORKSTATION) #1: Tue Oct 30 22:54:21 NZDT 2001 i386
Architecture: i386
Machine: i386
	With the latest kdebase2 package the screenlocking fails to unlock
	when a password is supplied.
	The following appears on stderr:

	kdesktop: kcheckpass failed to start

This is because kcheckpass is now installed mode 4711 and kdesktop calls
'locate("exe", "kcheckpass")' to find the path for kcheckpass and 'locate'
(in kdelibs2: kdecore/kstddirs.cpp) calls 'KStandardDirs::exists()' which
calls 'access(QFile::encodeName(fullPath), R_OK) == 0' which now fails.

	build/install kdebase2 package
	run kde2
	lock the screen
	try to unlock

	Short term: install kcheckpass mode 4755
	Longer term: fix locate et al to not require executables to be