Subject: pkg/24190: symlink integrity check fails for pkgviews packages
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 01/21/2004 18:57:07
>Number: 24190
>Category: pkg
>Synopsis: symlink integrity check fails for pkgviews packages
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 22 00:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Min Sik Kim
>Release: NetBSD 1.6ZH
>Organization:
>Environment:
>Description:
The symlink integrity check introduced in PR #23048 fails if a package
contains symlinks and is installed as a pkgviews package.
For example, lang/tcl has three symlinks. After installing it into
the standard view, 'pkg_admin check tcl' shows the following:
% pkg_admin check tcl
symlink (/usr/pkg/bin/tclsh) is not same as recorded value, Symlink:/usr/pkg/packages/tcl-8.3.4/bin/tclsh: Symlink:tclsh8.3
symlink (/usr/pkg/lib/libtcl83.so) is not same as recorded value, Symlink:/usr/pkg/packages/tcl-8.3.4/lib/libtcl83.so: Symlink:libtcl83.so.1.0
symlink (/usr/pkg/lib/libtcl83.so.1) is not same as recorded value, Symlink:/usr/pkg/packages/tcl-8.3.4/lib/libtcl83.so.1: Symlink:libtcl83.so.1.0
.
Checked 623 files from 1 package.
Done.
>How-To-Repeat:
Install lang/tcl as pkgviews and run 'pkg_admin check tcl'.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Environment:
System: NetBSD sulley.infnis.com 1.6ZH NetBSD 1.6ZH (SULLEY) #3: Fri Jan 16 16:57:45 CST 2004 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
Architecture: i386
Machine: i386