NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/58641: mount_qemufwcfg(8) lives in /sbin but requires /usr
>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.)
Home |
Main Index |
Thread Index |
Old Index