From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 07:35:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6084C16A4CE for ; Sat, 28 Feb 2004 07:35:43 -0800 (PST) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C5E43D3F for ; Sat, 28 Feb 2004 07:35:43 -0800 (PST) (envelope-from kstewart@owt.com) Received: from localhost.invalid (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i1SFZ2fH005631; Sat, 28 Feb 2004 07:35:02 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org, danger@2600.sk Date: Sat, 28 Feb 2004 07:35:04 -0800 User-Agent: KMail/1.6 References: <200402281127.32181.danger@2600.sk> In-Reply-To: <200402281127.32181.danger@2600.sk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402280735.04200.kstewart@owt.com> Subject: Re: pkgdb problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 15:35:43 -0000 On Saturday 28 February 2004 02:27 am, DanGer wrote: > i have just upgraded ruby 1.8 and i wanted to run pkgdb and i get > this: > > ===> Registering installation for ruby-1.8.1_2 > ===> SECURITY REPORT: > This port has installed the following files which may act as > network servers and may therefore pose a remote security risk to the > system. /usr/local/lib/ruby/1.8/i386-freebsd5/socket.so > > This port has installed the following world-writable > files/directories. /usr/local/lib/libruby18.so > > If there are vulnerabilities in these programs there may be a > security risk to the system. FreeBSD makes no guarantee about the > security of ports included in the Ports Collection. Please type 'make > deinstall' to deinstall the port if this is a concern. > > For more information, and contact details about the security > status of this software, see the following webpage: > http://www.ruby-lang.org/en/ > danger# rehash > danger# pkgdb -F > /usr/local/sbin/pkgdb:35:in `require': No such file to load -- > pkgtools (LoadError) > from /usr/local/sbin/pkgdb:35 You have to rebuild portupgrade and all of its new dependancies. It is easier to start by deleting portupgrade and ruby* and then, rebuild portupgrade. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html