From nobody Sat Oct 26 01:37:03 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xb2M35lm2z5bNYH for ; Sat, 26 Oct 2024 01:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xb2M33n1Sz4MBN for ; Sat, 26 Oct 2024 01:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729906623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ueuihwYQ0xuHC9AV7LA62YOr1dGPZTF9GVWnqCSiYMs=; b=iOHxCYx5o6hJQa2o7zm53MjF4EAaSbAc+JUTEDNuhaDcUQADgA2cmzRwAcG/4GZVmzatVS foTtVGkGqlXbpcBMkZ8lWSGOh5IyvdcNSh44ne47BVDi37frwf3fOal+w4MroG644Df/rE ARE81cL/v7syfU7MpRbh5xf/Qv+t+37XgY9auql3y/sdwTW2CbuU/mLqp1XBV1qTBuuw0K LSg7RBvbuNGLlvZq+Q0OGjP+SXzriu7SFN6Um8m0p5zdW7gQGNvmwP9dt5m7a+fmuhU/ZO fcMwKTEbVaXgd5N/5sWlCFYQ41+TaVEwi74XP5rk9MlIkC0fXAH2wbh/Hku7qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729906623; a=rsa-sha256; cv=none; b=LxgBgKV3Q942YeeL4fXYbvN3AOHU0cdNffLVdfBAaVydZouYPKfIgQSuZP9orGpOjQYKZ0 HKQ76nu8kHga8tPtonB4R4dXbeHYC/50/Xdb9/l/i+nE3cWGTz3WqDkazEQywv0s/lh/p0 r/8sk2v+WikRCf9vNC/JNXwt6Uj07DKQyyfU02lxDisESvpWQ6eRssF+H87Vufv6AH4LCR UWAyfgjxSwGv8MjMdqNgg18huEoC5noX6GNO9PPJSefFuo6ghhmqZGd/6q5lhWR8XBkj4v v7FVCdgSlo4+MIDGqkrrK+iC8FM1g/ov3SNa21N1p9YmQAzMnFSHMognorSK1w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xb2M33FGwzqXX for ; Sat, 26 Oct 2024 01:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49Q1b3PN097819 for ; Sat, 26 Oct 2024 01:37:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49Q1b3gD097818 for bugs@FreeBSD.org; Sat, 26 Oct 2024 01:37:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282324] Utilities used by FreeBSD-rc-14.1 RC Scripts require dragging in bloated utilities Date: Sat, 26 Oct 2024 01:37:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jeff+freebsd@wagsky.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282324 Bug ID: 282324 Summary: Utilities used by FreeBSD-rc-14.1 RC Scripts require dragging in bloated utilities Product: Base System Version: 14.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jeff+freebsd@wagsky.com I had hoped that the "core" rc scripts in FreeBSD-rc-14.1 would be covered = by either FreeBSD-runtime-14.1p5 or FreeBSD-rescue-14.1p5. However it appears = that at least `tr` and `utx` are called by these scripts in their default configuration. They result in apparently untrapped errors: eval: tr: not found eval: utx: not found rather than apparently trapped ones that generate a warning: /etc/rc: WARNING: /etc/newsyslog.conf is not readable. /etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/syslogd /etc/rc: WARNING: run_rc_command: cannot run /usr/sbin/cron --- At a minimum, I believe the base rc scripts should terminate gracefully if = the utilities are not present.=20 Ideally, common utilities used by rc scripts would be available in a reason= ably compact package or added to /rescue so that FreeBSD-utilities doesn't need = to be dragged in. --- Testing using filesystem generated by https://github.com/dfr/freebsd-images/blob/main/build-minimal.sh and run us= ing `jail` on a ZFS clone [jeff@js2 /var/jail/dns-new/etc/rc.d]$ pkg-in-jail dns-new info FreeBSD-caroot-14.1 SSL Certificates FreeBSD-certctl-14.1 SSL Certificate Utility FreeBSD-clibs-14.1p3 Core C Libraries FreeBSD-fetch-14.1 Fetch Utility FreeBSD-kerberos-lib-14.1 Kerberos Libraries FreeBSD-libarchive-14.1 libarchive package FreeBSD-libbsm-lib32-14.1 libbsm package (32-bit Libraries) FreeBSD-libbz2-14.1 libbz2 package FreeBSD-libexecinfo-14.1 libexecinfo package FreeBSD-liblzma-14.1 liblzma package FreeBSD-libsqlite3-lib32-14.1 libsqlite3 package (32-bit Libraries) FreeBSD-libucl-14.1 libucl package FreeBSD-mtree-14.1 MTREE Files FreeBSD-openssl-lib-14.1p4 OpenSSL Libraries FreeBSD-pkg-bootstrap-14.1 pkg bootstrap Utility FreeBSD-rc-14.1 RC Scripts FreeBSD-rescue-14.1p5 Rescue Utilities FreeBSD-runtime-14.1p5 FreeBSD Base System FreeBSD-zoneinfo-14.1 zoneinfo package -rescue- was added but does not contain `tr` --=20 You are receiving this mail because: You are the assignee for the bug.=