NetBSD Problem Report #58187

From tsutsui@ceres.dti.ne.jp  Tue Apr 23 15:55:23 2024
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EDC2A1A9238
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Apr 2024 15:55:22 +0000 (UTC)
Message-Id: <202404231555.43NFtGc9005345@ceres.dti.ne.jp>
Date: Wed, 24 Apr 2024 00:55:16 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: /bin/tar does not work without mounted /usr
X-Send-Pr-Version: 3.95

>Number:         58187
>Category:       bin
>Synopsis:       /bin/tar does not work without mounted /usr
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 23 16:00:00 +0000 2024
>Originator:     Izumi Tsutsui
>Release:        NetBSD 10.0
>Organization:
>Environment:
System: NetBSD mirage 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386, but maybe all
Machine: i386
>Description:
/bin/tar (and /bin/cpio) depends on /usr/lib/libarchive.so
they won't work unless /usr is mounted if it's in a separate
partition.

>How-To-Repeat:
% ldd /bin/tar
/bin/tar:
        -larchive.5 => /usr/lib/libarchive.so.5
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lc.12 => /lib/libc.so.12
        -lcrypto.15 => /lib/libcrypto.so.15
        -lcrypt.1 => /lib/libcrypt.so.1
        -lgcc_s.1 => /lib/libgcc_s.so.1
        -lexpat.2 => /usr/lib/libexpat.so.2
        -llzma.2 => /lib/liblzma.so.2
        -lpthread.1 => /lib/libpthread.so.1
        -lz.1 => /lib/libz.so.1

>Fix:
No idea about our current policy.

---
Izumi Tsutsui

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.