[Bug 287014] oci: various common tools are missing in pkgbase -utilities or similar packages for OCI containers
Date: Fri, 23 May 2025 12:20:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287014
Bug ID: 287014
Summary: oci: various common tools are missing in pkgbase
-utilities or similar packages for OCI containers
Product: Base System
Version: 15.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: dch@freebsd.org
This ticket is to collect in one place, a list of expected tools that
are not included in the larger freebsd-runtime container image that are
built off pkgbase.
It is expected to remain open for a couple of months to get feedback,
and then update prior to 15.0-RELEASE cycle.
The OCI Container freebsd-runtime:14.3-beta4 package is ~ 11MiB compressed
and contains:
# pkg info
FreeBSD-caroot SSL Certificates
FreeBSD-certctl SSL Certificate Utility
FreeBSD-clibs Core C Libraries
FreeBSD-fetch Fetch Utility
FreeBSD-kerberos-lib Kerberos Libraries
FreeBSD-libarchive libarchive package
FreeBSD-libbsm libbsm package
FreeBSD-libbz2 libbz2 package
FreeBSD-libexecinfo libexecinfo package
FreeBSD-liblzma liblzma package
FreeBSD-libsqlite3 libsqlite3 package
FreeBSD-libucl libucl package
FreeBSD-mtree MTREE Files
FreeBSD-openssl OpenSSL Utility
FreeBSD-openssl-lib OpenSSL Libraries
FreeBSD-pkg-bootstrap pkg bootstrap Utility
FreeBSD-rc RC Scripts
FreeBSD-runtime FreeBSD Base System
FreeBSD-zoneinfo zoneinfo package
Adding FreeBSD-utilities brings in the expected tools, but 3x the image
size. I expect for most users this won't matter, compared to the time
wasted discovering that various tools are not present.
## expected tools & package
Mostly this is a consequence of some things in /bin/ (FreeBSD-runtime package)
vs /usr/bin or /usr/sbin (FreeBSD-utilities package)
FreeBSD-utilities:
- /usr/bin/tee
- /usr/bin/host
- /usr/bin/netstat
- /usr/sbin/chown
## dependencies
# ldd /usr/bin/tee /usr/bin/host /usr/bin/netstat /usr/sbin/chown
/usr/bin/tee:
libc.so.7 => /lib/libc.so.7 (0x2e6d7a34d000)
[vdso] (0x2e6d7840d000)
/usr/bin/host:
libprivateldns.so.5 => /usr/lib/libprivateldns.so.5 (0x37199f158000)
libc.so.7 => /lib/libc.so.7 (0x3719a1d13000)
libssl.so.30 => /usr/lib/libssl.so.30 (0x3719a2204000)
libcrypto.so.30 => /lib/libcrypto.so.30 (0x3719a231e000)
libthr.so.3 => /lib/libthr.so.3 (0x3719a3035000)
[vdso] (0x37199ec7b000)
/usr/bin/netstat:
libkvm.so.7 => /lib/libkvm.so.7 (0x3ff5b96b9000)
libmemstat.so.3 => /usr/lib/libmemstat.so.3 (0x3ff5b9c02000)
libxo.so.0 => /lib/libxo.so.0 (0x3ff5bb592000)
libutil.so.9 => /lib/libutil.so.9 (0x3ff5ba29a000)
libnetgraph.so.4 => /usr/lib/libnetgraph.so.4 (0x3ff5baac6000)
libjail.so.1 => /lib/libjail.so.1 (0x3ff5bbe62000)
libc.so.7 => /lib/libc.so.7 (0x3ff5bc9c7000)
libelf.so.2 => /lib/libelf.so.2 (0x3ff5bdcb3000)
[vdso] (0x3ff5b81e9000)
/usr/sbin/chown:
libc.so.7 => /lib/libc.so.7 (0x35d02d0ee000)
[vdso] (0x35d02b7f6000)
--
You are receiving this mail because:
You are the assignee for the bug.