From nobody Mon Nov 04 18:33:30 2024 X-Original-To: rc@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 4Xj0Tk4gGqz5cPb4 for ; Mon, 04 Nov 2024 18:33:30 +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 4Xj0Tk2BqTz49Mk for ; Mon, 4 Nov 2024 18:33:30 +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=1730745210; 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: in-reply-to:in-reply-to:references:references; bh=7h4Qw4g2U2RV5ShfsoyNiUuJga/+3iBWI3acsOOp71s=; b=oACSmvP7W2yUEo/GcVfkQGPCVTqefOr1oL1yqDB07R1JmNkWjPgjZsVkODef1tIz0Bw/Dq puN/L+sEgOAkP0gy+G9XvVPjc1yG9lpmk+X73TZd/cIkroJ+leeIYQQ3yihIXoPwis6kw6 TAoY/lKq5jqlkmg32pdKUVjgEbCnUbrI4NcGJdmDr7bEOJ8635jGf7C6syLvBHnK9EqPQB wDjQgd96CdtvmpWOPO4EUtKCm5CnjpgptArgzb1RL4lJvApO0KMcA7BJ7yrh0FrItDMVlk iJFq/nZNqThhxVoggIE5SSJsPAL7PvuV8+H7iNMLYFp5deeP3Yfu8ekqTVzXxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730745210; a=rsa-sha256; cv=none; b=HCEUSr+Vi/tdpD/0XkaliUO6t8vZJ4qViOzUupi82/74CFP+s3PED+FMJXCc+kPcWNdR/L eeKjfpCxqcapfZ8bDS1CkhlTI2+3QZs8ceETrpbbwoaLj4uBdJHnsp1c1+qrMOS6+dnrQL ZNT54L7Ix509hsoxZJwhmFftluJdrLsFq+s3zx5Rnf4SWA//okEYXu/IPusA/b1sMlsMRV vIjN9slSAhsVDNi38+o+FOqxnNSL3/Sx3QS3E8S30UEmf42yWaU+RpuEiB+YzYp/7Aj4Gx npumeRxv1e3JJpP1DVOZL2/ekc2h3MVWALI+Ybjy8wOVsS5XSHX3YUbOWxAzqA== 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 4Xj0Tk1pTvzl6L for ; Mon, 4 Nov 2024 18:33:30 +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 4A4IXUFX004578 for ; Mon, 4 Nov 2024 18:33:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A4IXUIR004577 for rc@FreeBSD.org; Mon, 4 Nov 2024 18:33:30 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: rc@FreeBSD.org Subject: [Bug 282324] pkgbase: Utilities used by FreeBSD-rc-14.1 RC Scripts require dragging in bloated utilities Date: Mon, 04 Nov 2024 18:33:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: feature, pkgbase X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jeff+freebsd@wagsky.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Discussion related to /etc/rc.d design and implementation List-Archive: https://lists.freebsd.org/archives/freebsd-rc List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-rc@freebsd.org Sender: owner-freebsd-rc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282324 --- Comment #3 from Jeff Kletsky --- I agree that most of the service-specific rc files would make more sense to install/update/remove along with the service they manage. I'm not sure where to draw the line but as a user, I would expect things li= ke mounting file systems, changing run levels, and running the rc scripts for runtime services to be from the FreeBSD-base system or the FreeBSD-runtime package. I acknowledge that the range of utilities used by third-party rc scripts is virtually unlimited. If "all" were to be included it would be worse than bringing in the whole of FreeBSD-utilities along with the likes of TCL, Per= l, and Python 2. A reasonable compromise for me would be to have the "most common" and highly useful utilities available in FreeBSD-runtime. FreeBSD-rescue is an option = for some, but requires a change of PATH for the rc execution on reduced-footpri= nt systems. Conceivably this could be done automatically, but I haven't thought that far ahead. As a starting point for those "most common" utilities that seem to not to be present in FreeBSD-runtime, I came up with the list below from my limited experience. `awk` isn't something that I use myself, but I have seen used. `false` is arguable though I'd expect it there if the `|| true` construct is available. `od` and `hexdump` have shown up for loading firmware or setting registers = for network devices, at least in other OSes I've worked with. `su` is sometimes needed to assume a service's user `nologin` is present in the distributed user data I'm personally OK with needing to install the compression/decompression utilities with FreeBSD-rescue, though would prefer if they were available as -utilities-compression or something like that or by-algorithm packages. /usr/bin awk basename cut dirname false hexdump od su touch tr true uniq wc yes /usr/sbin chgrp -- rescue chown -- rescue chroot -- rescue daemon nologin (and its symlink as /sbin/nologin) bz, gz, xz, zstd compression and decompression -- rescue realpath -- runtime sort -- runtime find -- runtime tar -- runtime --=20 You are receiving this mail because: You are the assignee for the bug.=