NetBSD Problem Report #36252

From martin@duskware.de  Tue May  1 08:45:23 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7C33F63B960
	for <gnats-bugs@gnats.netbsd.org>; Tue,  1 May 2007 08:45:23 +0000 (UTC)
Message-Id: <20070501021412.43C7A63B960@narn.NetBSD.org>
Date: Tue,  1 May 2007 02:14:12 +0000 (UTC)
From: jasonb@myjclibrary.org
Reply-To: jasonb@myjclibrary.org
To: netbsd-bugs-owner@NetBSD.org
Subject: kdenetwork3/kcmsambaconf tries to access a hard coded path outside of $PREFIX
X-Send-Pr-Version: www-1.0

>Number:         36252
>Category:       pkg
>Synopsis:       kdenetwork3/kcmsambaconf tries to access a hard coded path outside of $PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 01 08:50:00 +0000 2007
>Last-Modified:  Fri Apr 05 23:44:48 +0000 2013
>Originator:     Jason Boyer
>Release:        3.1-RELEASE
>Organization:
>Environment:
NetBSD janus.local 3.1 NetBSD 3.1 (GENERIC.MPACPI) #0: Tue Oct 31 04:47:22 UTC 2006  builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC.MPACPI i386

>Description:
in the files kdenetwork-3.5.6/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp and kdenetwork-3.5.6/filesharing/simple/filesharing.cpp there's a hard coded reference to "/etc/security/fileshare.conf" which can't exist on NetBSD because of the file /etc/security (in addition to the fact that it would be bad practice being outside of $PREFIX or $PKGSYSCONFDIR


>How-To-Repeat:
Install kdenetwork3, try to accomplish anything in KDE Control Center/Internet & Network/Samba, watch it forget as soon as you close it and return.
>Fix:
Quick and dirty: make the files reference "@PKGSYSCONFDIR@/security/fileshare.conf" with a quick patch


The "right" way: it should honor the sysconfdir set in the Makefile. A bug should be filed upstream in case they have a different plan for it.

>Release-Note:

>Audit-Trail:
From: "Jason Boyer" <jasonb@japl.lib.in.us>
To: <gnats-bugs@NetBSD.org>
Cc: 
Subject: RE: pkg/36252: kdenetwork3/kcmsambaconf tries to access a hard coded path outside of $PREFIX
Date: Tue, 1 May 2007 21:45:14 -0400

 This is a multi-part message in MIME format.

 ------_=_NextPart_001_01C78C5B.B57E271C
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable

 An update: filesharing.cpp also has the path /etc/security mentioned =
 twice as raw strings, so that will need updating as well.

 ------_=_NextPart_001_01C78C5B.B57E271C
 Content-Type: application/ms-tnef;
 	name="winmail.dat"
 Content-Transfer-Encoding: base64

 eJ8+IiEBAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
 b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAXQAAAFJFOiBwa2cvMzYyNTI6IGtk
 ZW5ldHdvcmszL2tjbXNhbWJhY29uZiB0cmllcyB0byBhY2Nlc3MgYSBoYXJkIGNvZGVkIHBhdGgg
 b3V0c2lkZSBvZiAkUFJFRklYAG8fAQWAAwAOAAAA1wcFAAEAFQAtAA4AAgA2AQEggAMADgAAANcH
 BQABABUALgAfAAIASAEBCYABACEAAAA3NTU5NTQyRUU0RDREMjQ4OEJCNjFDQTBCMkQ1QkRGOQBW
 BwEDkAYAgAkAADkAAAADACYAAAAAAAMANgAAAAAAQAA5AJoLbodbjMcBHgA9AAEAAAAFAAAAUkU6
 IAAAAAACAUcAAQAAADoAAABjPVVTO2E9IDtwPUphY2tzb24gQ291bnR5IFA7bD1FWENIQU5HRS0w
 NzA1MDIwMTQ2MzFaLTI1ODAAAAAeAEkAAQAAAF0AAABSZTogcGtnLzM2MjUyOiBrZGVuZXR3b3Jr
 My9rY21zYW1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AHMJoLbodbjMcBQAAIMNkSirVbjMcBAwDeP69vAAAD
 APE/CQQAAB4A+D8BAAAADAAAAEphc29uIEJveWVyAAIB+T8BAAAAcwAAAAAAAADcp0DIwEIQGrS5
 CAArL+GCAQAAAAAAAAAvTz1KQUNLU09OIENPVU5UWSBQVUJMSUMgTElCUkFSWS9PVT1GSVJTVCBB
 RE1JTklTVFJBVElWRSBHUk9VUC9DTj1SRUNJUElFTlRTL0NOPUpBU09OQgAAHgD6PwEAAAAVAAAA
 U3lzdGVtIEFkbWluaXN0cmF0b3IAAAAAAgH7PwEAAAAeAAAAAAAAANynQMjAQhAatLkIACsv4YIB
 AAAAAAAAAC4AAAADAP0/5AQAAAMAGUAAAAAAAwAaQAAAAAADAB1AAAAAAAMAHkAAAAAAHgAwQAEA
 AAAHAAAASkFTT05CAAAeADFAAQAAAAcAAABKQVNPTkIAAB4AMkABAAAAFwAAAGduYXRzLWFkbWlu
 QG5ldGJzZC5vcmcAAB4AM0ABAAAAFwAAAGduYXRzLWFkbWluQG5ldGJzZC5vcmcAAB4AOEABAAAA
 BwAAAEpBU09OQgAAHgA5QAEAAAACAAAALgAAAAMAdkD/////CwApAAAAAAALACMAAAAAAAMABhDx
 yDm1AwAHEGkAAAADABAQAAAAAAMAERABAAAAHgAIEAEAAABlAAAAQU5VUERBVEU6RklMRVNIQVJJ
 TkdDUFBBTFNPSEFTVEhFUEFUSC9FVEMvU0VDVVJJVFlNRU5USU9ORURUV0lDRUFTUkFXU1RSSU5H
 UyxTT1RIQVRXSUxMTkVFRFVQREFUSU5HQQAAAAACAX8AAQAAAD8AAAA8REFGOUQ2QzNCQzcwMEU0
 NjlGNEE3MDgwRTE2NjUzQTc3QjQ0QGV4Y2hhbmdlLmphcGwubGliLmluLnVzPgAA3Do=

 ------_=_NextPart_001_01C78C5B.B57E271C--

Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Sat, 18 Aug 2007 13:43:49 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: markd->pkg-manager
Responsible-Changed-By: markd@NetBSD.org
Responsible-Changed-When: Fri, 05 Apr 2013 23:44:48 +0000
Responsible-Changed-Why:
no time/ability to look at kde3 issues


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.