NetBSD Problem Report #58641
From www@netbsd.org Sun Aug 25 17:32:33 2024
Return-Path: <www@netbsd.org>
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)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id B1E1C1A923F
for <gnats-bugs@gnats.NetBSD.org>; Sun, 25 Aug 2024 17:32:33 +0000 (UTC)
Message-Id: <20240825172835.1AC211A9241@mollari.NetBSD.org>
Date: Sun, 25 Aug 2024 17:28:35 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: mount_qemufwcfg(8) lives in /sbin but requires /usr
X-Send-Pr-Version: www-1.0
>Number: 58641
>Category: bin
>Synopsis: mount_qemufwcfg(8) lives in /sbin but requires /usr
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 25 17:35:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9
>Organization:
The /sbin/mount_bsdfwcfg Foundatoin
>Environment:
>Description:
$ readelf -d /sbin/mount_qemufwcfg | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [librefuse.so.2]
0x0000000000000001 (NEEDED) Shared library: [libpuffs.so.2]
0x0000000000000001 (NEEDED) Shared library: [libutil.so.7]
0x0000000000000001 (NEEDED) Shared library: [libc.so.12]
But librefuse and libpuffs live in /usr/lib, so this doesn't work if /sbin is available but /usr is not, which is usually why we put things in /sbin.
>How-To-Repeat:
futz around
>Fix:
Yes, please!
Either mount_qemufwcfg should live in /usr/sbin or we need to move libpuffs and librefuse into /lib, which is not great.
(See also PR bin/58638: mount_qemufwcfg(8): usage is confusing (https://gnats.NetBSD.org/58638), which notes that mount_qemufwcfg(8) is incompatible with mount(8). Making it compatible requires keeping mount_qemufwcfg in /sbin.)
(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.