From nobody Thu Oct 16 10:43:37 2025 X-Original-To: freebsd-current@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 4cnPh51G3Xz6CDQH for ; Thu, 16 Oct 2025 10:43:49 +0000 (UTC) (envelope-from freebsd-current-freebsd-org111@ketas.si.pri.ee) Received: from mail.ketas.si.pri.ee (d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13e8:21e:bff:fea2:d004]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4cnPh36qwTz3ghn for ; Thu, 16 Oct 2025 10:43:47 +0000 (UTC) (envelope-from freebsd-current-freebsd-org111@ketas.si.pri.ee) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ketas.si.pri.ee header.s=ketas-si-pri-ee-20240416002854-4096 header.b="dNT/bVI1"; dmarc=pass (policy=reject) header.from=ketas.si.pri.ee; spf=pass (mx1.freebsd.org: domain of freebsd-current-freebsd-org111@ketas.si.pri.ee designates 2001:7d0:8437:13e8:21e:bff:fea2:d004 as permitted sender) smtp.mailfrom=freebsd-current-freebsd-org111@ketas.si.pri.ee X-Original-To: freebsd-current@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ketas.si.pri.ee; s=ketas-si-pri-ee-20240416002854-4096; t=1760611417; bh=8FIHnKUpu3Aktf2MDjUzpbs+43QFuRTGdHfZMAAeuSQ=; h=Date:From:To:Subject:In-Reply-To:References; b=dNT/bVI1YC9h9CAGk+ZXXuwPN2QmcQTTro79FczwJfDhy3wMgELc0DOz9AbL09mMC 6ItPA+lJi5vDDyEQBP72Yz6xsScQmQwXiPP8HVJd8mJ49TuqGUl3glgTVqYn5cyZ+L BsM23TDAQ5xY/lwMltIgwH+IzAwdEQRCxlvjB9GhjKONCAuRxQvkHfjxOn9/ZIEQwI iZFyFllXZZu8IVIBCrJnofm6V48F9fQcuyMI3P0Vc48Hpn3wxBuLZmm8Sy2O+O0GZi c6h02to9sBs+WSIZQmbhAwrwMdz2QiQyg+qHWOmgwfDa/BoUaGOfNPUwpYtgiIYzIx a5s8vAn9/lD0sDFJhmsIIb2gRH7iZ+kg3JCVUle0cNqUk+Ueo4zfMAFLLtm7dv84ex 26RYh8aE/WK5jsl6ZTHoibgIiTdoj7u2AHBLCGdJ6CgNRrqGAPih6qT7sn/IoQupoE fTctu4/IZu8D86Qkm+u7pGz605FlFpZTAus2y9wkcdaj9dwWPu5aHm7J2QzFFWKMjv vwgbyBqlhcJoU/MnO5qLEOhhV4bVCowWi9U5SrwdrRTPtlnIOSeujSOWZZqrueLuiN q3h5fid3A8Tiac26VmFWfng3NnDUHh0xQD/1j35o2fGWYSy+BEmz0ra0IVpfqHZ3JA 5yRLUaBHGRQOsj5xI1YYltCI= Received: from ehlo.thunderbird.net (0115-0000-0000-0000-13c8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13c8::115]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ketas.si.pri.ee (Postfix) with ESMTPSA id CD8885C3234 for ; Thu, 16 Oct 2025 13:43:37 +0300 (EEST) Date: Thu, 16 Oct 2025 13:43:37 +0300 From: Sulev-Madis Silber To: freebsd-current@freebsd.org Subject: Re: should FreeBSD-dhclient depend on FreeBSD-resolvconf? User-Agent: K-9 Mail for Android In-Reply-To: <1dab51ef73837d98d5b5c36ef1e39118@bsdforge.com> References: <324231230.147694.1760527890049@localhost> <1dab51ef73837d98d5b5c36ef1e39118@bsdforge.com> Message-ID: <43B04C0C-E5D4-4A21-8340-FD800FA5B0BB@ketas.si.pri.ee> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Spamd-Result: default: False [0.22 / 15.00]; HFILTER_HOSTNAME_5(3.00)[d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.985]; DMARC_POLICY_ALLOW(-0.50)[ketas.si.pri.ee,reject]; R_SPF_ALLOW(-0.20)[+ip6:2001:7d0:8437:1300::/56]; ONCE_RECEIVED(0.20)[]; R_DKIM_ALLOW(-0.20)[ketas.si.pri.ee:s=ketas-si-pri-ee-20240416002854-4096]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[ketas.si.pri.ee:+] X-Rspamd-Queue-Id: 4cnPh36qwTz3ghn On October 16, 2025 1:29:51 AM GMT+03:00, Chris = wrote: >On 2025-10-15 05:16, Lexi Winter wrote: >> Ronald Klop wrote in <324231230=2E147694=2E1760527890049@localhost>: >>> Yesterday I installed a 15-BETA1 jail using pkgbase >>> FreeBSD-set-minimal-jail=2E I was missing FreeBSD-dhclient which is >>> fine and I installed it=2E Then it didn't have DNS as FreeBSD-resolvco= nf >>> was missing=2E I understand that theoretically dhclient can operate >>> without resolvconf, but in practice they seem pretty useful together= =2E >>>=20 >>> Should FreeBSD-dhclient depend on FreeBSD-resolvconf? >>=20 >> dhclient should depend on resolvconf and i will fix this=2E >>=20 >> i am curious how widespread dhclient use in jails is=2E should we add >> dhclient to set-minimal-jail? >>=20 >> NB, "set-minimal-jail" is not intended to be the smallest possible set >> of packages for a jail; it's meant to be "minimal" (the basic base syst= em) >> for jails=2E > > >> so if dhclient use in jails is widespread, we should probably >> add it to minimal-jail=2E >IMHO isn't the HOST responsible for routing? Doesn't that make dhclient >and friends somewhat unusual (not average jail(8) setup?)=2E > in jail, host does all the routing anyway, it's within same kernel but one might need isolated virtual networks since admins are humans, they might need a way to make this appear sane an= d understandable=2E unfortunately this needs dhcpd, dhclient, rtadvd, rtsol= d, ra in same host it all makes things bit more bloaty=2E or a lot=2E but you get it more ea= sily i don't know how this could be changed to kernel doesn't need to do networ= king with itself which is wtf but virtual networking is a think=2E vale switches, epairs+bridges=2E in f= act whole vm is technological wtf but it's so handy i don't have solution to this, how to make it technically better but still= understandable to humans=2E all i could think is just run dhclient and swa= p that meg of ram out or so if needed this doesn't matter here too=2E dhclient works in jail=2E it has legit use= =2E so if minimal jail is a set of all packages that work in jail=2E let it= all be in on naming, i don't have opinion here=2E i never confuse things=2E others m= ight=2E but then, minimal needs change? unfortuntely you don't do changes l= ike this=2E minimal set is already advertised and this will bite users who = already use it tho, i admit i misread it at first too=2E because i take minimal as reduce= d fbsd=2E i build my own embedded dists, i call them min or minimal, becaus= e i took things away from fbsd base and minimized it but at it, if it's minimal working fbsd, unsure=2E besides there's no conf= usion where it comes from, if from project, then all know