• Re: PKGBASE Removes FreeBSD Base System Feature

    From George Michaelson@ggm@algebras.org to muc.lists.freebsd.stable on Wed Jul 30 11:41:18 2025
    From Newsgroup: muc.lists.freebsd.stable

    --000000000000b10ce3063b1b9fb8
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    rm -rf does not remove files marked by chflags to be immutable.

    on that basis "-f" doesn't mean what people think. It doesn't mean "ignore locks" in a colloquial sense.

    if you provide a lock to pkg, then pkg delete -f should not removed locked things.

    my 3c

    On Wed, Jul 30, 2025 at 11:31=E2=80=AFAM Edward Sanford Sutton, III < mirror176@hotmail.com> wrote:

    On 7/29/25 18:15, George Michaelson wrote:
    Isn't this precisely what locked packages are designed to prevent?

    I thought locking packages was intended to stop any modification to
    them so both upgrades and removal would not happen.
    Another topic is its debatable 'if' -f should bypass a lock or not. Considering -f is supposed to be able to let pkg delete itself and
    perform deletes that mess up dependencies, I'd say it shouldn't be
    expected that it keeps things safe from other damaging removals; an interactive warning seems justifiable when a request to 'break things' occurs.

    Outside of an upgrade tool, I would think locking "base" packages was .=
    .
    sensible?

    -G






    --000000000000b10ce3063b1b9fb8
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">rm -rf does not remove files marked by chflags to be immut= able.<div><br></div><div>on that basis &quot;-f&quot; doesn&#39;t mean what=
    people think. It doesn&#39;t mean &quot;ignore locks&quot; in a colloquial=
    sense.<br></div><div><br></div><div>if you provide a lock to pkg, then pkg=
    delete -f should not removed locked things.</div><div><br></div><div>my 3c= </div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir= =3D"ltr" class=3D"gmail_attr">On Wed, Jul 30, 2025 at 11:31=E2=80=AFAM Edwa=
    rd Sanford Sutton, III &lt;<a href=3D"mailto:mirror176@hotmail.com">mirror1= 76@hotmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">On 7/29/25 18:15, George Michaelson wrote:<br>
    &gt; Isn&#39;t this precisely what locked packages are designed to prevent?=


    =C2=A0 =C2=A0I thought locking packages was intended to stop any modificati=
    on to <br>
    them so both upgrades and removal would not happen.<br>
    =C2=A0 =C2=A0Another topic is its debatable &#39;if&#39; -f should bypass a=
    lock or not. <br>
    Considering -f is supposed to be able to let pkg delete itself and <br>
    perform deletes that mess up dependencies, I&#39;d say it shouldn&#39;t be =

    expected that it keeps things safe from other damaging removals; an <br> interactive warning seems justifiable when a request to &#39;break things&#= 39; <br>
    occurs.<br>

    &gt; Outside of an upgrade tool, I would think locking &quot;base&quot; pac= kages was .. <br>
    &gt; sensible?<br>
    &gt; <br>
    &gt; -G<br>
    &gt; <br>
    &gt; <br>


    </blockquote></div>

    --000000000000b10ce3063b1b9fb8--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Shawn Webb@shawn.webb@hardenedbsd.org to muc.lists.freebsd.stable on Wed Jul 30 02:18:40 2025
    From Newsgroup: muc.lists.freebsd.stable


    --z6ngwkyglkjghwbx
    Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable
    Subject: Re: PKGBASE Removes FreeBSD Base System Feature
    MIME-Version: 1.0

    On Wed, Jul 30, 2025 at 02:28:35AM +0200, vermaden wrote:
    Hi,
    =20
    after short discussion here:
    - https://github.com/freebsd/pkg/issues/2485
    =20
    I got REALLY concerned.
    =20
    One of THE features and selling points of a FreeBSD UNIX system is the 'u=
    ntouchable' Base System.
    =20
    Without PKGBASE all the features are preserved.
    =20
    But when You convert to PKGBASE its ... GONE!
    =20
    Consider this command:
    =20
    # pkg delete -af
    =20
    What it does?
    =20
    It removes all third party packages on 'classic' FreeBSD system without t=
    ouching the FreeBSD Base System.
    =20
    What the same "pkg delete -af" command does on a PKGBASE FreeBSD system?
    =20
    It kills/destroys almost all of the FreeBSD Base System and leaves only t=
    wo PKGBASE packages called:
    =20
    - FreeBSD-clibs
    - FreeBSD-runtime
    =20
    All the rest of Base System is GONE. Destroyed.

    Hey vermaden,

    As mentioned in the GitHub ticket, it appears there might be some room
    for discussion on which base packages ought to be marked vital and if
    the current list (of two) should be expanded.

    I suspect there could also be room for discussion on technical
    measures pkg could adopt to help mitigate issues like this.

    I myself don't have much in the way of suggestions on either topic of discussion. I'm simply hoping this email moves the needle forward in a
    positive direction.

    Thanks,

    --=20
    Shawn Webb
    Cofounder / Security Engineer
    HardenedBSD

    Signal Username: shawn_webb.74
    Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50 https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

    --z6ngwkyglkjghwbx
    Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmiJgPgACgkQ/y5nonf4 4fraZhAApJo0TCgSjFHuLLDOsTetAdFO45PwxZuwQKo9Q490cI3o8cJdOjjb0S8Z 9vouPbkv1ffTN0dTqnUhJajcpRgXKXyvxA83F7qJDin+p87rZcBpKlnTbeQrm2Rt 0J3EcsaAsCIlwgeLtpdcvYBEWlC5i4ffw62sQN8R+ip1A1p6cNEmIzonq+PZrZF3 lZXgEGd9ubOwjOwKq7ZEduZJoCn1j5CXoNN/zYQQVNCTVDTEnRncEj8TUp/4qt5W f3W4MZZUqRD6Z7s66T4etYuju9gcDK/OhZ9oaA0/v7XmMhzTK15EegjjrW7epDZc hBCHd/yboD5Q1mj+Af9pz2ohC5pnU7iC9I2c+MvX2BNB2J+yRUQuHP9GXVIUOsb2 N1AtCRiaudzCV/66CW4tERIwwmZJ+61Tiy4JgHn07IIO8+/lRt4mALK28yYG+uGq OzQG1Q72z3S9JkyVokkA9L1WN+jplgdIfOsW72GlQqfjr6h7uHkiSUNKQ9wOOcpZ oq7lY7Fon1pQmolK8kVT4k28trgfIewtyDYU3vLflrVgD6M/+sFJ2vHIpLHkZevA nvw3tBWUjT3O0ZRNGtudLwsd5LnqSJ5D0mdeJwWXizDIjvCcVE0IHqVJpL3uZUPn iEmGMu7Ida7OzyLCHjsSu6IHvYiWIofxRbpLN0qEKI9/PKOLGaM=
    =ivPd
    -----END PGP SIGNATURE-----

    --z6ngwkyglkjghwbx--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Warner Losh@imp@bsdimp.com to muc.lists.freebsd.stable on Sun Aug 3 17:22:00 2025
    From Newsgroup: muc.lists.freebsd.stable

    --000000000000bbbe4e063b7e423c
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    On Sun, Aug 3, 2025, 4:19=E2=80=AFPM Daniel Morante <daniel@morante.net> wr= ote:

    I just took a look at
    https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/ and I am instantly disappointed. I was a fan of the idea, but seeing how they decided to mak=
    e
    one package for each item is a massive bummer. Why would you split it up
    this way? When when you install the Mozilla Firefox via package, you don'=
    t
    install every file individually as a separate package.


    But you do install a boatload of related packages...

    It's the same concept for FreeBSD. All these files make up a single entit=
    y
    "FreeBSD" the operating system. Why on earth would you install each item that's required to run FreeBSD as a separate package? All this will do is create increased overhead when installing the system (as each package mus=
    t
    go through it's verification and transaction process), and all sorts of trouble down the line when dependency hell sets in.

    If it hasn't set in when a new dependency was free and it's cost hidden, chances are we are safe. One big problem wi freebsd in embedded space is getting a good subset. Fine grain gives that a fighting chance.

    Warner



    This is not the FreeBSD way. Very sad, concerned, and disappointed at this
    design choice.
    On 7/30/2025 3:30 AM, Baptiste Daroussin wrote:

    On Wed 30 Jul 02:28, vermaden wrote:

    Hi,

    after short discussion here:
    - https://github.com/freebsd/pkg/issues/2485

    I got REALLY concerned.

    One of THE features and selling points of a FreeBSD UNIX system is the 'u=
    ntouchable' Base System.

    untouchable is really subjective and has always been, there are so many b=
    uild
    options and one of the selling point for many is the customizability, in particular for the wildly deploy use case of appliances.

    But even on desktops people keeps tweaking the build options...

    Without PKGBASE all the features are preserved.

    But when You convert to PKGBASE its ... GONE!

    Consider this command:

    # pkg delete -af

    What it does?

    It removes all third party packages on 'classic' FreeBSD system without t=
    ouching the FreeBSD Base System.

    No it remove all the packages. semantic matters.

    What the same "pkg delete -af" command does on a PKGBASE FreeBSD system?

    It kills/destroys almost all of the FreeBSD Base System and leaves only t=
    wo PKGBASE packages called:

    - FreeBSD-clibs
    - FreeBSD-runtime

    This is why the vital flag are designed for.

    All the rest of Base System is GONE. Destroyed.

    You do not even have vi(1) editor ad /rescue is separate not protected Fr=
    eeBSD-rescue package and its also removed.

    WTF?!

    POLA is the principle that made FreeBSD such predictable system. Where is=
    the POLA now?

    Why the same *pkg delete -af* command on 'classic' FreeBSD system without=
    PKGBASE only removes all third party packages and the same *pkg delete -af=
    * literally destroys most of the FreeBSD PKGBASE Base System?

    Its crazy ...

    Before jumping straight into making a drama, maybe ask for the plan? or d=
    iscuss
    with people involved, or even better propose some help?

    The plan is the following for years: either create meta packages which wi=
    ll be
    flagged as vital for various combinaison of pkgbase: base, base-minimal, base-oci etc., etc. and use groups (marked as vital as well) if they are =
    ready
    by then. This part has been delayed because: groups are now ready yet in =
    pkg but
    might be there by the time 15.0-RELEASE is there.

    Bapt




    --000000000000bbbe4e063b7e423c
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote gmail_quote_contai= ner"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Aug 3, 2025, 4:19=E2=80= =AFPM Daniel Morante &lt;<a href=3D"mailto:daniel@morante.net">daniel@moran= te.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

    =20
    =20
    =20
    <div>
    <p>I just took a look at <a href=3D"https://pkg.freebsd.org/FreeBSD:15:= amd64/base_latest/" rel=3D"nofollow ugc noopener noreferrer" target=3D"_bla= nk">https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/</a>
    and I am instantly disappointed. I was a fan of the idea, but
    seeing how they decided to make one package for each item is a
    massive bummer. Why would you split it up this way? When when you
    install the Mozilla Firefox via package, you don&#39;t install every
    file individually as a separate package.=C2=A0</p></div></blockquote>= </div></div><div dir=3D"auto"><br></div><div dir=3D"auto">But you do instal=
    l a boatload of related packages...</div><div dir=3D"auto"><div class=3D"gm= ail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=3D= "margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    <p>It&#39;s the same concept for FreeBSD. All these files make up a
    single entity &quot;FreeBSD&quot; the operating system. Why on earth = would
    you install each item that&#39;s required to run FreeBSD as a separat=
    e
    package? All this will do is create increased overhead when
    installing the system (as each package must go through it&#39;s
    verification and transaction process), and all sorts of trouble
    down the line when dependency hell sets in.<br></p></div></blockquote= ></div></div><div dir=3D"auto"></div><div dir=3D"auto"><div class=3D"gmail_= quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=3D"mar= gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p></p></d= iv></blockquote></div></div><div dir=3D"auto">If it hasn&#39;t set in when =
    a new dependency was free and it&#39;s cost hidden, chances are we are safe=
    . One big problem wi freebsd in embedded space is getting a good subset. Fi=
    ne grain gives that a fighting chance.</div><div dir=3D"auto"><br></div><di=
    v dir=3D"auto">Warner</div><div dir=3D"auto"><br></div><div dir=3D"auto"><d=
    iv class=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_q= uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e= x"><div><p><br></p></div></blockquote></div></div><div dir=3D"auto"><br></d= iv><div dir=3D"auto"><div class=3D"gmail_quote gmail_quote_container"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
    c solid;padding-left:1ex"><div><p>
    This is not the FreeBSD way.=C2=A0 Very sad, concerned, and
    disappointed at this design choice.<br>
    </p>
    <div>On 7/30/2025 3:30 AM, Baptiste
    Daroussin wrote:<br>
    </div>
    <blockquote type=3D"cite">
    <pre>On Wed 30 Jul 02:28, vermaden wrote:
    </pre>
    <blockquote type=3D"cite">
    <pre>Hi,

    after short discussion here:
    - <a href=3D"https://github.com/freebsd/pkg/issues/2485" target=3D"_blank" = rel=3D"noreferrer">https://github.com/freebsd/pkg/issues/2485</a>

    I got REALLY concerned.

    One of THE features and selling points of a FreeBSD UNIX system is the &#39= ;untouchable&#39; Base System.
    </pre>
    </blockquote>
    <pre>untouchable is really subjective and has always been, there are =
    so many build
    options and one of the selling point for many is the customizability, in particular for the wildly deploy use case of appliances.

    But even on desktops people keeps tweaking the build options...
    </pre>
    <blockquote type=3D"cite">
    <pre>Without PKGBASE all the features are preserved.

    But when You convert to PKGBASE its ... GONE!
    </pre>
    </blockquote>
    <pre></pre>
    <blockquote type=3D"cite">
    <pre>Consider this command:

    # pkg delete -af

    What it does?

    It removes all third party packages on &#39;classic&#39; FreeBSD system wit= hout touching the FreeBSD Base System.
    </pre>
    </blockquote>
    <pre>No it remove all the packages. semantic matters.
    </pre>
    <blockquote type=3D"cite">
    <pre>What the same &quot;pkg delete -af&quot; command does on a PKG= BASE FreeBSD system?

    It kills/destroys almost all of the FreeBSD Base System and leaves only two=
    PKGBASE packages called:

    - FreeBSD-clibs
    - FreeBSD-runtime
    </pre>
    </blockquote>
    <pre>This is why the vital flag are designed for.
    </pre>
    <blockquote type=3D"cite">
    <pre>All the rest of Base System is GONE. Destroyed.

    You do not even have vi(1) editor ad /rescue is separate not protected Free= BSD-rescue package and its also removed.

    WTF?!

    POLA is the principle that made FreeBSD such predictable system. Where is t=
    he POLA now?

    Why the same *pkg delete -af* command on &#39;classic&#39; FreeBSD system w= ithout PKGBASE only removes all third party packages and the same *pkg dele=
    te -af* literally destroys most of the FreeBSD PKGBASE Base System?

    Its crazy ...
    </pre>
    </blockquote>
    <pre>Before jumping straight into making a drama, maybe ask for the p= lan? or discuss
    with people involved, or even better propose some help?

    The plan is the following for years: either create meta packages which will=
    be
    flagged as vital for various combinaison of pkgbase: base, base-minimal, base-oci etc., etc. and use groups (marked as vital as well) if they are re= ady
    by then. This part has been delayed because: groups are now ready yet in pk=
    g but
    might be there by the time 15.0-RELEASE is there.

    Bapt

    </pre>
    </blockquote>
    </div>

    </blockquote></div></div></div>

    --000000000000bbbe4e063b7e423c--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From George Michaelson@ggm@algebras.org to muc.lists.freebsd.stable on Mon Aug 4 09:31:49 2025
    From Newsgroup: muc.lists.freebsd.stable

    --000000000000cea3cf063b7e6504
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    I think the .tgz blobs used by NetBSD are a good example of the biggest blobbyness you want. rescue and base are the minimal safe set. games X11,
    debug and documentation are long standing extras.

    I also agree with you Werner, that if you have a SAT capable dependency
    solver, the finer you go the more likely it is you can come up with a NIX
    type formally provably minimally complete set of dependent parts, and
    reduce the install surface to a maximum.

    I guess I'm kind-of saying in user-experience, I feel a bit in box A and
    box B.

    For now, I like the direction the intent is going: yes, a lot of parts.
    But, separating their "head" so pkg delete -f is "safe" for ordinary use is
    a good plan (if that IS the plan)

    -G

    On Mon, Aug 4, 2025 at 9:22=E2=80=AFAM Warner Losh <imp@bsdimp.com> wrote:



    On Sun, Aug 3, 2025, 4:19=E2=80=AFPM Daniel Morante <daniel@morante.net> =
    wrote:

    I just took a look at
    https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/ and I am instantly
    disappointed. I was a fan of the idea, but seeing how they decided to ma=
    ke
    one package for each item is a massive bummer. Why would you split it up
    this way? When when you install the Mozilla Firefox via package, you don=
    't
    install every file individually as a separate package.


    But you do install a boatload of related packages...

    It's the same concept for FreeBSD. All these files make up a single
    entity "FreeBSD" the operating system. Why on earth would you install ea=
    ch
    item that's required to run FreeBSD as a separate package? All this will=
    do
    is create increased overhead when installing the system (as each package
    must go through it's verification and transaction process), and all sort=
    s
    of trouble down the line when dependency hell sets in.

    If it hasn't set in when a new dependency was free and it's cost hidden, chances are we are safe. One big problem wi freebsd in embedded space is getting a good subset. Fine grain gives that a fighting chance.

    Warner



    This is not the FreeBSD way. Very sad, concerned, and disappointed at
    this design choice.
    On 7/30/2025 3:30 AM, Baptiste Daroussin wrote:

    On Wed 30 Jul 02:28, vermaden wrote:

    Hi,

    after short discussion here:
    - https://github.com/freebsd/pkg/issues/2485

    I got REALLY concerned.

    One of THE features and selling points of a FreeBSD UNIX system is the '= untouchable' Base System.

    untouchable is really subjective and has always been, there are so many = build
    options and one of the selling point for many is the customizability, in
    particular for the wildly deploy use case of appliances.

    But even on desktops people keeps tweaking the build options...

    Without PKGBASE all the features are preserved.

    But when You convert to PKGBASE its ... GONE!

    Consider this command:

    # pkg delete -af

    What it does?

    It removes all third party packages on 'classic' FreeBSD system without = touching the FreeBSD Base System.

    No it remove all the packages. semantic matters.

    What the same "pkg delete -af" command does on a PKGBASE FreeBSD system?

    It kills/destroys almost all of the FreeBSD Base System and leaves only = two PKGBASE packages called:

    - FreeBSD-clibs
    - FreeBSD-runtime

    This is why the vital flag are designed for.

    All the rest of Base System is GONE. Destroyed.

    You do not even have vi(1) editor ad /rescue is separate not protected F= reeBSD-rescue package and its also removed.

    WTF?!

    POLA is the principle that made FreeBSD such predictable system. Where i=
    s the POLA now?

    Why the same *pkg delete -af* command on 'classic' FreeBSD system withou=
    t PKGBASE only removes all third party packages and the same *pkg delete -a=
    f* literally destroys most of the FreeBSD PKGBASE Base System?

    Its crazy ...

    Before jumping straight into making a drama, maybe ask for the plan? or = discuss
    with people involved, or even better propose some help?

    The plan is the following for years: either create meta packages which w= ill be
    flagged as vital for various combinaison of pkgbase: base, base-minimal,
    base-oci etc., etc. and use groups (marked as vital as well) if they are=
    ready
    by then. This part has been delayed because: groups are now ready yet in=
    pkg but
    might be there by the time 15.0-RELEASE is there.

    Bapt




    --000000000000cea3cf063b7e6504
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">I think the .tgz blobs used by NetBSD are a good example o=
    f the biggest blobbyness you want. rescue and base are the minimal safe set=
    . games X11, debug and documentation are long standing extras.<div><br></di= v><div>I also agree with you Werner, that if you have a SAT capable depende= ncy solver, the finer you go the more likely it is you can come up with a N=
    IX type formally provably minimally complete set of dependent parts, and re= duce the install surface to a maximum.</div><div><br></div><div>I guess I&#= 39;m kind-of saying in user-experience, I feel a bit in box A and box B.</d= iv><div><br></div><div>For now, I like the direction the intent is going: y= es, a lot of parts. But, separating their &quot;head&quot; so pkg delete -f=
    is &quot;safe&quot; for ordinary use is a good plan (if that IS the plan)<= /div><div><br></div><div>-G</div></div><br><div class=3D"gmail_quote gmail_= quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Aug 4, 2025 =
    at 9:22=E2=80=AFAM Warner Losh &lt;<a href=3D"mailto:imp@bsdimp.com">imp@bs= dimp.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex"><div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Sun, Aug 3, 2025, 4:19=E2=80=AFPM Daniel M= orante &lt;<a href=3D"mailto:daniel@morante.net" target=3D"_blank">daniel@m= orante.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><u></u>

    =20
    =20
    =20
    <div>
    <p>I just took a look at <a href=3D"https://pkg.freebsd.org/FreeBSD:15:= amd64/base_latest/" rel=3D"nofollow ugc noopener noreferrer" target=3D"_bla= nk">https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/</a>
    and I am instantly disappointed. I was a fan of the idea, but
    seeing how they decided to make one package for each item is a
    massive bummer. Why would you split it up this way? When when you
    install the Mozilla Firefox via package, you don&#39;t install every
    file individually as a separate package.=C2=A0</p></div></blockquote>= </div></div><div dir=3D"auto"><br></div><div dir=3D"auto">But you do instal=
    l a boatload of related packages...</div><div dir=3D"auto"><div class=3D"gm= ail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.= 8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <p>It&#39;s the same concept for FreeBSD. All these files make up a
    single entity &quot;FreeBSD&quot; the operating system. Why on earth = would
    you install each item that&#39;s required to run FreeBSD as a separat=
    e
    package? All this will do is create increased overhead when
    installing the system (as each package must go through it&#39;s
    verification and transaction process), and all sorts of trouble
    down the line when dependency hell sets in.<br></p></div></blockquote= ></div></div><div dir=3D"auto"></div><div dir=3D"auto"><div class=3D"gmail_= quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p></p></div>= </blockquote></div></div><div dir=3D"auto">If it hasn&#39;t set in when a n=
    ew dependency was free and it&#39;s cost hidden, chances are we are safe. O=
    ne big problem wi freebsd in embedded space is getting a good subset. Fine = grain gives that a fighting chance.</div><div dir=3D"auto"><br></div><div d= ir=3D"auto">Warner</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px=
    0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v><p><br></p></div></blockquote></div></div><div dir=3D"auto"><br></div><di=
    v dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote"=
    style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p= adding-left:1ex"><div><p>
    This is not the FreeBSD way.=C2=A0 Very sad, concerned, and
    disappointed at this design choice.<br>
    </p>
    <div>On 7/30/2025 3:30 AM, Baptiste
    Daroussin wrote:<br>
    </div>
    <blockquote type=3D"cite">
    <pre>On Wed 30 Jul 02:28, vermaden wrote:
    </pre>
    <blockquote type=3D"cite">
    <pre>Hi,

    after short discussion here:
    - <a href=3D"https://github.com/freebsd/pkg/issues/2485" rel=3D"noreferrer"=
    target=3D"_blank">https://github.com/freebsd/pkg/issues/2485</a>

    I got REALLY concerned.

    One of THE features and selling points of a FreeBSD UNIX system is the &#39= ;untouchable&#39; Base System.
    </pre>
    </blockquote>
    <pre>untouchable is really subjective and has always been, there are =
    so many build
    options and one of the selling point for many is the customizability, in particular for the wildly deploy use case of appliances.

    But even on desktops people keeps tweaking the build options...
    </pre>
    <blockquote type=3D"cite">
    <pre>Without PKGBASE all the features are preserved.

    But when You convert to PKGBASE its ... GONE!
    </pre>
    </blockquote>
    <pre></pre>
    <blockquote type=3D"cite">
    <pre>Consider this command:

    # pkg delete -af

    What it does?

    It removes all third party packages on &#39;classic&#39; FreeBSD system wit= hout touching the FreeBSD Base System.
    </pre>
    </blockquote>
    <pre>No it remove all the packages. semantic matters.
    </pre>
    <blockquote type=3D"cite">
    <pre>What the same &quot;pkg delete -af&quot; command does on a PKG= BASE FreeBSD system?

    It kills/destroys almost all of the FreeBSD Base System and leaves only two=
    PKGBASE packages called:

    - FreeBSD-clibs
    - FreeBSD-runtime
    </pre>
    </blockquote>
    <pre>This is why the vital flag are designed for.
    </pre>
    <blockquote type=3D"cite">
    <pre>All the rest of Base System is GONE. Destroyed.

    You do not even have vi(1) editor ad /rescue is separate not protected Free= BSD-rescue package and its also removed.

    WTF?!

    POLA is the principle that made FreeBSD such predictable system. Where is t=
    he POLA now?

    Why the same *pkg delete -af* command on &#39;classic&#39; FreeBSD system w= ithout PKGBASE only removes all third party packages and the same *pkg dele=
    te -af* literally destroys most of the FreeBSD PKGBASE Base System?

    Its crazy ...
    </pre>
    </blockquote>
    <pre>Before jumping straight into making a drama, maybe ask for the p= lan? or discuss
    with people involved, or even better propose some help?

    The plan is the following for years: either create meta packages which will=
    be
    flagged as vital for various combinaison of pkgbase: base, base-minimal, base-oci etc., etc. and use groups (marked as vital as well) if they are re= ady
    by then. This part has been delayed because: groups are now ready yet in pk=
    g but
    might be there by the time 15.0-RELEASE is there.

    Bapt

    </pre>
    </blockquote>
    </div>

    </blockquote></div></div></div>
    </blockquote></div>

    --000000000000cea3cf063b7e6504--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Brandon Allbery@allbery.b@gmail.com to muc.lists.freebsd.stable on Sun Aug 3 19:50:43 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000072ec4f063b7ea924
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    On Sun, Aug 3, 2025 at 7:32=E2=80=AFPM George Michaelson <ggm@algebras.org>=
    wrote:

    I think the .tgz blobs used by NetBSD are a good example of the biggest blobbyness you want. rescue and base are the minimal safe set. games X11, debug and documentation are long standing extras.


    Which is what we had, more or less.


    For now, I like the direction the intent is going: yes, a lot of parts.
    But, separating their "head" so pkg delete -f is "safe" for ordinary use =
    is
    a good plan (if that IS the plan)


    I'm wondering if the idea of package groups has been considered. This would also allow things like distinguishing packages installed by ports, which
    might be useful when dependencies conflict with those installed from
    package repos.

    --=20
    brandon s allbery kf8nh
    allbery.b@gmail.com

    --00000000000072ec4f063b7ea924
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div dir=3D"ltr">On Sun, Aug 3, 2025 at 7:32=E2=80=AFPM Ge= orge Michaelson &lt;<a href=3D"mailto:ggm@algebras.org">ggm@algebras.org</a= >&gt; wrote:</div><div class=3D"gmail_quote gmail_quote_container"><blockqu= ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
    solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">I think the .tgz=
    blobs used by NetBSD are a good example of the biggest blobbyness you want=
    . rescue and base are the minimal safe set. games X11, debug and documentat= ion are long standing extras.</div></blockquote><div><br></div><div>Which i=
    s what we had, more or less.</div><div>=C2=A0</div><blockquote class=3D"gma= il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2= 04,204);padding-left:1ex"><div dir=3D"ltr"><div></div><div>For now, I like = the direction the intent is going: yes, a lot of parts. But, separating the=
    ir &quot;head&quot; so pkg delete -f is &quot;safe&quot; for ordinary use i=
    s a good plan (if that IS the plan)</div></div></blockquote><div><br></div>= <div>I&#39;m wondering if the idea of package groups has been considered. T= his would also allow things like distinguishing packages installed by ports=
    , which might be useful when dependencies conflict with those installed fro=
    m package repos.</div><div>=C2=A0</div></div><span class=3D"gmail_signature= _prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir= =3D"ltr"><div><div dir=3D"ltr"><div>brandon s allbery kf8nh</div><div><a hr= ef=3D"mailto:allbery.b@gmail.com" target=3D"_blank">allbery.b@gmail.com</a>= </div></div></div></div></div></div>

    --00000000000072ec4f063b7ea924--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Don Lewis@truckman@FreeBSD.org to muc.lists.freebsd.stable on Sun Aug 3 23:37:41 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 3 Aug, Daniel Morante wrote:
    I just took a look at
    https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/ <https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/> and I am
    instantly disappointed. I was a fan of the idea, but seeing how they
    decided to make one package for each item is a massive bummer. Why would
    you split it up this way? When when you install the Mozilla Firefox via package, you don't install every file individually as a separate package.

    It's the same concept for FreeBSD. All these files make up a single
    entity "FreeBSD" the operating system. Why on earth would you install
    each item that's required to run FreeBSD as a separate package? All this will do is create increased overhead when installing the system (as each package must go through it's verification and transaction process), and
    all sorts of trouble down the line when dependency hell sets in.

    This is not the FreeBSD way.a Very sad, concerned, and disappointed at
    this design choice.
    What benefit is there to installing setuid program lpr on an
    appliance-like system without a printer other than enlarging the attack surface? If I remove it, do I have to build my own freebsd-update
    system to keep things up to date?
    I frequently want to build small systems without a compiler if I know
    that I will never build software on them.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mariusz Zaborski@oshogbo@freebsd.org to muc.lists.freebsd.stable on Mon Aug 4 08:57:52 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000016dbae063b84a1f0
    Content-Type: text/plain; charset="UTF-8"

    (1)
    Keep pkg(8) for third party packages with /etc/pkg and /usr/local/etc/pkg
    and /var/db/pkg dirs for configuration.

    Use separate pkgbase(8) with /etc/pkgbase and /usr/local/etc/pkgbase and
    /var/db/pkgbase dirs for managing PKGBASE packages. By pkgbase(8) I have
    the same pkg(8) project in mind - just renamed as pkgbase(8) and with
    */pkgbase dirs instead of */pkg.

    I can imagine a situation where a third-party package depends on a package
    from the base system.
    When you bootstrap a jail or your machine, you might start with a minimal installation, but I would expect pkg to automatically figure out what needs
    to be installed when it's required.

    On Mon, 4 Aug 2025 at 08:37, Don Lewis <truckman@freebsd.org> wrote:

    On 3 Aug, Daniel Morante wrote:
    I just took a look at
    https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/ <https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/> and I am
    instantly disappointed. I was a fan of the idea, but seeing how they decided to make one package for each item is a massive bummer. Why would you split it up this way? When when you install the Mozilla Firefox via package, you don't install every file individually as a separate package.

    It's the same concept for FreeBSD. All these files make up a single
    entity "FreeBSD" the operating system. Why on earth would you install
    each item that's required to run FreeBSD as a separate package? All this will do is create increased overhead when installing the system (as each package must go through it's verification and transaction process), and
    all sorts of trouble down the line when dependency hell sets in.

    This is not the FreeBSD way. Very sad, concerned, and disappointed at
    this design choice.

    What benefit is there to installing setuid program lpr on an
    appliance-like system without a printer other than enlarging the attack surface? If I remove it, do I have to build my own freebsd-update
    system to keep things up to date?

    I frequently want to build small systems without a compiler if I know
    that I will never build software on them.




    --00000000000016dbae063b84a1f0
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div dir=3D"ltr">&gt;(1)<br>&gt; Keep pkg(8) for third par=
    ty packages with /etc/pkg and /usr/local/etc/pkg and /var/db/pkg dirs for c= onfiguration.</div>&gt;<br>&gt; Use separate pkgbase(8) with /etc/pkgbase a=
    nd /usr/local/etc/pkgbase and /var/db/pkgbase dirs for managing PKGBASE pac= kages. By pkgbase(8) I have the same pkg(8) project in mind - just renamed =
    as pkgbase(8) and with */pkgbase dirs instead of */pkg.<br><p>I can imagine=
    a situation where a third-party package depends on a package from the base=
    system.<br>
    When you bootstrap a jail or your machine, you might start with a minimal i= nstallation, but I would expect pkg=C2=A0to automatically figure out what n= eeds to be installed when it&#39;s required.</p><br><div class=3D"gmail_quo=
    te gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 4 A=
    ug 2025 at 08:37, Don Lewis &lt;<a href=3D"mailto:truckman@freebsd.org">tru= ckman@freebsd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote"=
    style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p= adding-left:1ex">On=C2=A0 3 Aug, Daniel Morante wrote:<br>
    &gt; I just took a look at <br>
    &gt; <a href=3D"https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/" rel= =3D"noreferrer" target=3D"_blank">https://pkg.freebsd.org/FreeBSD:15:amd64/= base_latest/</a> <br>
    &gt; &lt;<a href=3D"https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/" = rel=3D"noreferrer" target=3D"_blank">https://pkg.freebsd.org/FreeBSD:15:amd= 64/base_latest/</a>&gt; and I am <br>
    &gt; instantly disappointed. I was a fan of the idea, but seeing how they <=

    &gt; decided to make one package for each item is a massive bummer. Why wou=
    ld <br>
    &gt; you split it up this way? When when you install the Mozilla Firefox vi=
    a <br>
    &gt; package, you don&#39;t install every file individually as a separate p= ackage.<br>
    &gt; <br>
    &gt; It&#39;s the same concept for FreeBSD. All these files make up a singl=
    e <br>
    &gt; entity &quot;FreeBSD&quot; the operating system. Why on earth would yo=
    u install <br>
    &gt; each item that&#39;s required to run FreeBSD as a separate package? Al=
    l this <br>
    &gt; will do is create increased overhead when installing the system (as ea=
    ch <br>
    &gt; package must go through it&#39;s verification and transaction process)=
    , and <br>
    &gt; all sorts of trouble down the line when dependency hell sets in.<br>
    &gt; <br>
    &gt; This is not the FreeBSD way.=C2=A0 Very sad, concerned, and disappoint=
    ed at <br>
    &gt; this design choice.<br>

    What benefit is there to installing setuid program lpr on an<br>
    appliance-like system without a printer other than enlarging the attack<br> surface?=C2=A0 If I remove it, do I have to build my own freebsd-update<br> system to keep things up to date?<br>

    I frequently want to build small systems without a compiler if I know<br>
    that I will never build software on them.<br>


    </blockquote></div></div>

    --00000000000016dbae063b84a1f0--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mariusz Zaborski@oshogbo@freebsd.org to muc.lists.freebsd.stable on Mon Aug 4 10:03:33 2025
    From Newsgroup: muc.lists.freebsd.stable

    --000000000000f5915b063b858b1c
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    Also - nothing stands in the way that pkg(8) will check pkgbase(8) what
    PKGBASE packages are installed and then install needed Base System packages with pkgbase(8) to satisfy its pkg(8) dependencies.

    But this adds additional complexity, as you have to manage two separate databases almost as if they were one.
    Where do you define this dependancy? Can other independent repose also use
    this feature? How to tell which repo depends on which?
    Can other repos introduce new databases?

    I think the correct solution is to have a single tool.
    Then you introduce packages like FreeBSD-full, FreeBSD-lite, or
    FreeBSD-jail (or flavours, whatever works). These packages are marked as
    vital and depend on different base system packages.

    For example, FreeBSD-full might depend on FreeBSD-rescue, while
    FreeBSD-jail does not.

    And that=E2=80=99s all there is to it.

    If you try to remove FreeBSD-rescue, you can=E2=80=99t - because it would r= equire
    removing FreeBSD-full as well, which is vital and can't be removed.
    In the case of a jail installation or a minimal FreeBSD setup, if you
    install something like FreeIPA and it requires FreeBSD-krb in your jail, it will be installed automatically.
    When you later remove FreeIPA, and no other package depends on FreeBSD-krb,
    it can be removed as well.

    I think something similar was mentioned by bapt@ on gh: https://github.com/freebsd/pkg/issues/2485#issuecomment-3135130067

    On Mon, 4 Aug 2025 at 09:19, vermaden <vermaden@interia.pl> wrote:

    Hi.

    That is a good point - but if I have too choose between a feature You jus=
    t
    mentioned and really separated and safe Base System from the third party pkg(8) packages operations - then I choose Base System safety.

    Also - nothing stands in the way that pkg(8) will check pkgbase(8) what PKGBASE packages are installed and then install needed Base System packag=
    es
    with pkgbase(8) to satisfy its pkg(8) dependencies.

    Regards,
    vermaden





    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-04 8:58
    Nadawca: "Mariusz Zaborski" &lt;oshogbo@freebsd.org>
    Adresat: "Don Lewis" &lt;truckman@freebsd.org>;
    DW: "Daniel Morante" &lt;daniel@morante.net>; stable@freebsd.org;





    (1)
    Keep pkg(8) for third party packages with /etc/pkg and
    /usr/local/etc/pkg and /var/db/pkg dirs for configuration.

    Use separate pkgbase(8) with /etc/pkgbase and /usr/local/etc/pkgbase
    and /var/db/pkgbase dirs for managing PKGBASE packages. By pkgbase(8) I
    have the same pkg(8) project in mind - just renamed as pkgbase(8) and wit=
    h
    */pkgbase dirs instead of */pkg.

    I can imagine a situation where a third-party package depends on a
    package from the base system.
    When you bootstrap a jail or your machine, you might start with a
    minimal installation, but I would expect pkg&nbsp;to automatically figure
    out what needs to be installed when it's required.

    On Mon, 4 Aug 2025 at 08:37, Don Lewis &lt;truckman@freebsd.org> wrote:

    On&nbsp; 3 Aug, Daniel Morante wrote:
    I just took a look at
    https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/
    &lt;https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/> and I am
    instantly disappointed. I was a fan of the idea, but seeing how they
    decided to make one package for each item is a massive bummer. Why
    would
    you split it up this way? When when you install the Mozilla Firefox
    via
    package, you don't install every file individually as a separate
    package.

    It's the same concept for FreeBSD. All these files make up a single
    entity "FreeBSD" the operating system. Why on earth would you install
    each item that's required to run FreeBSD as a separate package? All
    this
    will do is create increased overhead when installing the system (as
    each
    package must go through it's verification and transaction process),
    and
    all sorts of trouble down the line when dependency hell sets in.

    This is not the FreeBSD way.&nbsp; Very sad, concerned, and
    disappointed at
    this design choice.

    What benefit is there to installing setuid program lpr on an
    appliance-like system without a printer other than enlarging the attac=
    k
    surface?&nbsp; If I remove it, do I have to build my own freebsd-updat=
    e
    system to keep things up to date?

    I frequently want to build small systems without a compiler if I know
    that I will never build software on them.




    --000000000000f5915b063b858b1c
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div dir=3D"ltr">&gt; Also - nothing stands in the way tha=
    t pkg(8) will check pkgbase(8) what PKGBASE packages are installed and then=
    install needed Base System packages with pkgbase(8) to satisfy its pkg(8) = dependencies.</div><div dir=3D"ltr"><br>But this adds additional complexity=
    , as you have to manage two separate databases almost as if they were one.<= br>Where do you define this dependancy? Can other independent repose also u=
    se this feature? How to tell which repo depends on which?<br>Can other repo=
    s introduce new databases?<br><br>I think the correct solution is to have a=
    single tool.<br>Then you introduce packages like FreeBSD-full, FreeBSD-lit=
    e, or FreeBSD-jail (or flavours, whatever works). These packages are marked=
    as vital and depend on different base system packages.<div><br>For example=
    , FreeBSD-full might depend on FreeBSD-rescue, while FreeBSD-jail does not.= <br><br>And that=E2=80=99s all there is to it.<br><br>If you try to remove = FreeBSD-rescue, you can=E2=80=99t - because it would require removing FreeB= SD-full as well, which is vital and can&#39;t be removed.<br>In the case of=
    a jail installation or a minimal FreeBSD setup, if you install something l= ike FreeIPA and it requires FreeBSD-krb in your jail, it will be installed = automatically.<br>When you later remove FreeIPA, and no other package depen=
    ds on FreeBSD-krb, it can be removed as well.<br><br>I think something simi= lar was mentioned by bapt@ on gh:=C2=A0<a href=3D"https://github.com/freebs= d/pkg/issues/2485#issuecomment-3135130067">https://github.com/freebsd/pkg/i= ssues/2485#issuecomment-3135130067</a></div></div><br><div class=3D"gmail_q= uote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 4=
    Aug 2025 at 09:19, vermaden &lt;<a href=3D"mailto:vermaden@interia.pl">ver= maden@interia.pl</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa= dding-left:1ex">Hi.<br>

    That is a good point - but if I have too choose between a feature You just = mentioned and really separated and safe Base System from the third party pk= g(8) packages operations - then I choose Base System safety.<br>

    Also - nothing stands in the way that pkg(8) will check pkgbase(8) what PKG= BASE packages are installed and then install needed Base System packages wi=
    th pkgbase(8) to satisfy its pkg(8) dependencies.<br>

    Regards,<br>
    vermaden<br>





    Temat: Re: PKGBASE Removes FreeBSD Base System Feature<br>
    Data: 2025-08-04 8:58<br>
    Nadawca: &quot;Mariusz Zaborski&quot; &amp;<a href=3D"mailto:lt%3Boshogbo@f= reebsd.org" target=3D"_blank">lt;oshogbo@freebsd.org</a>&gt;<br>
    Adresat: &quot;Don Lewis&quot; &amp;<a href=3D"mailto:lt%3Btruckman@freebsd= .org" target=3D"_blank">lt;truckman@freebsd.org</a>&gt;; <br>
    DW: &quot;Daniel Morante&quot; &amp;<a href=3D"mailto:lt%3Bdaniel@morante.n= et" target=3D"_blank">lt;daniel@morante.net</a>&gt;; <a href=3D"mailto:stab= le@freebsd.org" target=3D"_blank">stable@freebsd.org</a>; <br>




    &gt; <br>
    &gt;&gt;(1)<br>
    &gt;&gt; Keep pkg(8) for third party packages with /etc/pkg and /usr/local/= etc/pkg and /var/db/pkg dirs for configuration.<br>
    &gt;&gt;<br>
    &gt;&gt; Use separate pkgbase(8) with /etc/pkgbase and /usr/local/etc/pkgba=
    se and /var/db/pkgbase dirs for managing PKGBASE packages. By pkgbase(8) I = have the same pkg(8) project in mind - just renamed as pkgbase(8) and with = */pkgbase dirs instead of */pkg.<br>
    &gt; <br>
    &gt; I can imagine a situation where a third-party package depends on a pac= kage from the base system.<br>
    &gt; When you bootstrap a jail or your machine, you might start with a mini= mal installation, but I would expect pkg&amp;nbsp;to automatically figure o=
    ut what needs to be installed when it&#39;s required.<br>
    &gt; <br>
    &gt; On Mon, 4 Aug 2025 at 08:37, Don Lewis &amp;<a href=3D"mailto:lt%3Btru= ckman@freebsd.org" target=3D"_blank">lt;truckman@freebsd.org</a>&gt; wrote:=

    &gt; <br>
    &gt;&gt; On&amp;nbsp; 3 Aug, Daniel Morante wrote:<br>
    &gt;&gt;&gt; I just took a look at <br>
    &gt;&gt;&gt; <a href=3D"https://pkg.freebsd.org/FreeBSD:15:amd64/base_lates= t/" rel=3D"noreferrer" target=3D"_blank">https://pkg.freebsd.org/FreeBSD:15= :amd64/base_latest/</a> <br>
    &gt;&gt;&gt; &amp;lt;<a href=3D"https://pkg.freebsd.org/FreeBSD:15:amd64/ba= se_latest/" rel=3D"noreferrer" target=3D"_blank">https://pkg.freebsd.org/Fr= eeBSD:15:amd64/base_latest/</a>&gt; and I am <br>
    &gt;&gt;&gt; instantly disappointed. I was a fan of the idea, but seeing ho=
    w they <br>
    &gt;&gt;&gt; decided to make one package for each item is a massive bummer.=
    Why would <br>
    &gt;&gt;&gt; you split it up this way? When when you install the Mozilla Fi= refox via <br>
    &gt;&gt;&gt; package, you don&#39;t install every file individually as a se= parate package.<br>
    &gt;&gt;&gt; <br>
    &gt;&gt;&gt; It&#39;s the same concept for FreeBSD. All these files make up=
    a single <br>
    &gt;&gt;&gt; entity &quot;FreeBSD&quot; the operating system. Why on earth = would you install <br>
    &gt;&gt;&gt; each item that&#39;s required to run FreeBSD as a separate pac= kage? All this <br>
    &gt;&gt;&gt; will do is create increased overhead when installing the syste=
    m (as each <br>
    &gt;&gt;&gt; package must go through it&#39;s verification and transaction = process), and <br>
    &gt;&gt;&gt; all sorts of trouble down the line when dependency hell sets i= n.<br>
    &gt;&gt;&gt; <br>
    &gt;&gt;&gt; This is not the FreeBSD way.&amp;nbsp; Very sad, concerned, an=
    d disappointed at <br>
    &gt;&gt;&gt; this design choice.<br>
    &gt;&gt; <br>
    &gt;&gt; What benefit is there to installing setuid program lpr on an<br> &gt;&gt; appliance-like system without a printer other than enlarging the a= ttack<br>
    &gt;&gt; surface?&amp;nbsp; If I remove it, do I have to build my own freeb= sd-update<br>
    &gt;&gt; system to keep things up to date?<br>
    &gt;&gt; <br>
    &gt;&gt; I frequently want to build small systems without a compiler if I k= now<br>
    &gt;&gt; that I will never build software on them.<br>
    &gt;&gt; <br>
    &gt; <br>
    </blockquote></div></div>

    --000000000000f5915b063b858b1c--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.stable on Mon Aug 4 07:51:54 2025
    From Newsgroup: muc.lists.freebsd.stable


    On Aug 1, 2025, at 07:22, David Chisnall <theraven@FreeBSD.org> wrote:
    On 31 Jul 2025, at 02:57, Miroslav Lachman <000.fbsd@quip.cz> wrote:

    I would also like to separate it. Use one command to update (upgrade) 3rd party packages and another to update (upgrade) base packages. It is our workflow for the last 25+ years thus running one command to update both is really unexpected and unwanted.

    I disagree here. If you *want* to separate them, then you can: you can specify the repository that you want to upgrade explicitly. But if you do then you risk things like:

    - IrCOve upgraded my base system, but not my ports-kmods things, so now my GUI doesnrCOt start.
    PkgBase does not remove the issue that updating the kernel
    first, rebooting, and then updating the world can be a
    requirement. (World should get a later reboot as well.)
    Last I knew PkgBase did not manage this sequence of itself,
    even for when kmods are not involved. I selectively update
    the kernels first and reboot before updating teh other
    PkgBase packages. (The plural 'kernels' is because I'm
    using main and have all the PkgBase kernels installed.
    One can not do that for non-main for contexts with .dtb
    files involved: conflicts.)
    Is it always safe to update all the ports-kmods before the
    world is updated so they are in place for the after-kernel
    reboot with the old world?
    If not, then PkgBase is not of itself a way of making the
    handling automatic as far as I can tell.
    - IrCOve upgraded ports, but the ports tree is built on a newer point release and I need to upgrade to make some symbols exist.
    - IrCOve upgraded the base system and now some kmods from ports donrCOt work.

    All of these are things that users have complained about publicly in the last year or so.

    I have avoided them by always doing `freebsd-update install && pkg upgrade` and keeping that in my shell history[1] so I donrCOt accidentally forget to upgrade both together.

    Given a choice between a thing that works for users, or something that *can* work for users but comes with a bunch of footguns that they need to avoid, IrCOd pick the former.

    David

    [1] IrCOve noticed on fresh installs, the default shell no longer has working persistent history, which is a *big* POLA violation, if people want to complain about something.

    ===
    Mark Millard
    marklmi at yahoo.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Mon Aug 4 20:47:54 2025
    From Newsgroup: muc.lists.freebsd.stable

    Hi.
    PkgBase does not remove the issue that updating
    the kernel first, rebooting, and then updating the
    world can be a requirement.
    (World should get a later reboot as well.)
    Not related to PKGBASE - but as you will be doing a reboot after the update/upgrade anyway - its safer and easier to do the upgrade inside separate ZFS Boot Environment - as running kernel does not 'conflict' with the one installed/upgraded inside the ZFS BE. So you do all the possible steps needed - upgrading base - upgrading packages ...
    Details: https://vermaden.wordpress.com/2021/02/23/upgrade-freebsd-with-zfs-boot-environments/
    Another good aspect of doing it this way is limiting downtime to just a reboot time - because while you were doing the upgrade - the 'host' system still works untouched - then after you are done - you reboot into upgraded ZFS BE and check if everything works - and if not you just reboot again into the ZFS BE that worked perfectly before the upgrade and have 'endless' time to figure out what the issue with the upgrade was.
    Hope that helps.
    Regards,
    vermaden
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-04 16:52
    Nadawca: "Mark Millard" &lt;marklmi@yahoo.com>
    Adresat: "David Chisnall" &lt;theraven@FreeBSD.org>;
    DW: "Miroslav Lachman" &lt;000.fbsd@quip.cz>; "vermaden" &lt;vermaden@interia.pl>; "Shawn Webb" &lt;shawn.webb@hardenedbsd.org>; "freebsd-pkgbase@freebsd.org" &lt;freebsd-pkgbase@freebsd.org>; "freebsd-stable@freebsd.org" &lt;freebsd-stable@freebsd.org>; "freebsd-pkg@freebsd.org" &lt;freebsd-pkg@freebsd.org>; "freebsd-current@freebsd.org" &lt;freebsd-current@freebsd.org>; pete@nomadlogic.org; bapt@freebsd.org; bane@pmf.uns.ac.rs;



    On Aug 1, 2025, at 07:22, David Chisnall wrote:

    On 31 Jul 2025, at 02:57, Miroslav Lachman &lt;000.fbsd@quip.cz> wrote:

    I would also like to separate it. Use one command to update
    (upgrade) 3rd party packages and another to update (upgrade) base packages.
    It is our workflow for the last 25+ years thus running one command to
    update both is really unexpected and unwanted.

    I disagree here. If you *want* to separate them, then you can: you
    can specify the repository that you want to upgrade explicitly. But if you
    do then you risk things like:

    - IrCOve upgraded my base system, but not my ports-kmods things, so
    now my GUI doesnrCOt start.

    PkgBase does not remove the issue that updating the kernel
    first, rebooting, and then updating the world can be a
    requirement. (World should get a later reboot as well.)

    Last I knew PkgBase did not manage this sequence of itself,
    even for when kmods are not involved. I selectively update
    the kernels first and reboot before updating teh other
    PkgBase packages. (The plural 'kernels' is because I'm
    using main and have all the PkgBase kernels installed.
    One can not do that for non-main for contexts with .dtb
    files involved: conflicts.)

    Is it always safe to update all the ports-kmods before the
    world is updated so they are in place for the after-kernel
    reboot with the old world?

    If not, then PkgBase is not of itself a way of making the
    handling automatic as far as I can tell.

    - IrCOve upgraded ports, but the ports tree is built on a newer
    point release and I need to upgrade to make some symbols exist.
    - IrCOve upgraded the base system and now some kmods from ports
    donrCOt work.

    All of these are things that users have complained about publicly in
    the last year or so.

    I have avoided them by always doing `freebsd-update install &amp;&amp; pkg upgrade` and keeping that in my shell history[1] so I donrCOt accidentally forget to upgrade both together.

    Given a choice between a thing that works for users, or something
    that *can* work for users but comes with a bunch of footguns that they need
    to avoid, IrCOd pick the former.

    David

    [1] IrCOve noticed on fresh installs, the default shell no longer
    has working persistent history, which is a *big* POLA violation, if people
    want to complain about something.



    ===
    Mark Millard
    marklmi at yahoo.com



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Wed Aug 6 11:30:54 2025
    From Newsgroup: muc.lists.freebsd.stable

    lowercase, please.
    I always used PKGBASE when I refer to this technology and I will continue to do so.
    Limited raw email allows only lowercase, Title Case or UPPERCASE. If UPPERCASE is problematic for you then maybe you should switch to platforms that allow more sophisticated ways of text formating with bold/italic/underline features.
    Off-topic from the four lists: it's known
    that following instructions, whilst taking
    the linked approach, can break the OS.
    Breakage is not particularly safe.
    Instructions work as desired - I upgraded dozens of systems this way over a decade and not a single one break.
    ZFS Boot Environments were literally designed to work that way - to create upgrade within new not running BE:
    - https://docs.oracle.com/cd/E23824_01/html/E24456/betools-6.html#betools-3
    ... and even IF they would break anything - the only thing they would break would be separately created ZFS Boot Environment and NOT the host system itselt. Read more about ZFS Boot Environments - how they work - what they provide - and stop spreading that misinformation if you do not understand how they work.

    With regard to rule-breaking,
    Citing The Matrix movie: "Some of them can be bent. Others can be broken."
    The FreeBSD Base System is one of THE core FreeBSD values and features. It is really important to make sure that PKGBASE - as much as I like the concept - will not break it. For this important concern of mine that PKGBASE must find some way to preserve Base System independence from regular third party packages I addressed all Mailing Lists that are related to this problem - and they are:
    - freebsd-stable
    - freebsd-current
    - freebsd-pkg
    - freebsd-pkgbase
    As that seemed logical and reasonable.
    Regards,
    vermaden
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-06 3:41
    Nadawca: "Graham Perrin" &lt;grahamperrin@gmail.com>
    Adresat: freebsd-pkgbase@freebsd.org;
    DW: freebsd-stable@freebsd.org; freebsd-pkg@freebsd.org; freebsd-current@freebsd.org; postmaster@freebsd.org;

    On 04/08/2025 19:47, vermaden wrote:
    rCa Not related to PKGBASE

    lowercase, please.

    pkgbase

    rCa safer rCa https://vermaden.wordpress.com/2021/02/23/upgrade-freebsd-with-zfs-boot-environments/
    rCa


    Off-topic from the four lists: it's known that following instructions,
    whilst taking the linked approach, can break the OS. Breakage is not particularly safe.

    The four lists are not the places for a debate.

    With regard to rule-breaking,


    could have been taken as a reminder that no posting should be made to
    more than 2 mailing lists, and only to 2 when a clear and obvious need
    to post to both lists exists.




    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Wed Aug 6 19:40:36 2025
    From Newsgroup: muc.lists.freebsd.stable

    Because thatrCOs what you asked for.
    Why would the command do anything other than that?
    If it did not, what command should and would you oppose it existing?
    The problem is that the same 'pkg delete -af' command - will behave DIFFERENTLY with PKGBASE and without PKGBASE on the same FreeBSD version system - that is the center of the problem.
    Everyone that use FreeBSD got used to the fact that pkg(8) command maintains only third party packages and Base System is untouched. With current state of PKGBASE FreeBSD is no different then a Linux distribution with yum/dnf/apt package manager - the Base System 'security' is broken.
    Regards,
    vermaden
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-06 18:45
    Nadawca: "Ceri Davies" &lt;ceri@submonkey.net>
    Adresat: "vermaden" &lt;vermaden@interia.pl>;
    DW: FreeBSD-pkgbase@freebsd.org; freebsd-stable@freebsd.org; freebsd-pkg@freebsd.org; freebsd-current@freebsd.org;
    On 30 Jul 2025, at 01:28, vermaden wrote:

    N++Hi,

    after short discussion here:
    - https://github.com/freebsd/pkg/issues/2485

    I got REALLY concerned.

    One of THE features and selling points of a FreeBSD UNIX system is
    the 'untouchable' Base System.

    Without PKGBASE all the features are preserved.

    But when You convert to PKGBASE its ... GONE!

    Consider this command:

    # pkg delete -af

    What it does?

    It removes all third party packages on 'classic' FreeBSD system
    without touching the FreeBSD Base System.

    What the same "pkg delete -af" command does on a PKGBASE FreeBSD
    system?

    It kills/destroys almost all of the FreeBSD Base System and leaves
    only two PKGBASE packages called:

    - FreeBSD-clibs
    - FreeBSD-runtime

    All the rest of Base System is GONE. Destroyed.

    You do not even have vi(1) editor ad /rescue is separate not
    protected FreeBSD-rescue package and its also removed.

    WTF?!

    POLA is the principle that made FreeBSD such predictable system.
    Where is the POLA now?
    Why the same *pkg delete -af* command on 'classic' FreeBSD system
    without PKGBASE only removes all third party packages and the same *pkg
    delete -af* literally destroys most of the FreeBSD PKGBASE Base System?

    Because thatrCOs what you asked for. Why would the command do
    anything other than that? If it did not, what command should and would you oppose it existing?

    Ceri


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Wed Aug 6 23:54:35 2025
    From Newsgroup: muc.lists.freebsd.stable

    No, it has the same behaviour.
    English is not my primary language so I will try to explain in more simple words as you probably did not understood.
    NOPE.
    It DOES NOT has the same behavior.
    Situation A.
    A.1. You have FreeBSD 15-CURRENT installed in 'classic' way.
    A.2. You issue this command: # pkg delete -af
    A.3. All Third Party packages are deleted from your system.
    A.4. You FreeBSD 15-CURRENT Base System remain UNTOUCHED.
    Situation B.
    B.1. You have FreeBSD 15-CURRENT installed in 'PKGBSD' way.
    B.2. You issue this command: # pkg delete -af
    B.3. All Third Party packages are deleted from your system.
    B.4. You FreeBSD 15-CURRENT Base System is REMOVED with only 2/290 packages UNTOUCHED
    Details here:
    - https://github.com/freebsd/pkg/issues/2485#issuecomment-3133359219
    Regards,
    vermaden
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-06 23:11
    Nadawca: "Ceri Davies" &lt;ceri@submonkey.net>
    Adresat: "vermaden" &lt;vermaden@interia.pl>;
    DW: FreeBSD-pkgbase@freebsd.org;
    On 6 Aug 2025, at 18:40, vermaden wrote:

    N++

    Because thatrCOs what you asked for.
    Why would the command do anything other than that?
    If it did not, what command should and would you oppose it
    existing?

    The problem is that the same 'pkg delete -af' command - will behave DIFFERENTLY with PKGBASE and without PKGBASE on the same FreeBSD version
    system - that is the center of the problem.


    No, it has the same behaviour.

    The result on the system may be different, but that is true of many,
    many commands that make assumptions about the existing configuration of a system.

    Ceri


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From DutchDaemon - FreeBSD Forums Administrator@DutchDaemon@FreeBSD.org to muc.lists.freebsd.stable on Thu Aug 7 13:09:52 2025
    From Newsgroup: muc.lists.freebsd.stable

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------sPc9LADirbdtZk4AvNyw5j08
    Content-Type: multipart/mixed; boundary="------------p03EFxYj6hzl9OCZ7qEszXCh";
    protected-headers="v1"
    From: DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org>
    To: Tomek CEDRO <tomek@cedro.info>, vermaden <vermaden@interia.pl>
    Cc: Ceri Davies <ceri@submonkey.net>,
    "FreeBSD-pkgbase@freebsd.org" <FreeBSD-pkgbase@freebsd.org>,
    "freebsd-pkg@freebsd.org" <freebsd-pkg@freebsd.org>,
    "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>,
    "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
    Message-ID: <5d439128-fec3-4992-bb83-adcc440814cb@FreeBSD.org>
    Subject: Re: PKGBASE Removes FreeBSD Base System Feature
    References: <zxdjhwcktnktdqzisgzy@qkoz>
    <FD0B239A-7DE4-4588-840E-C31FBBECBBEF@submonkey.net>
    <pecwwvnjxkiaplcpxkph@fpas>
    <CAFYkXjmc8K-vOPB0rQpWERejwLTc4kkM3623EjFRzRLTTK5qsA@mail.gmail.com> In-Reply-To: <CAFYkXjmc8K-vOPB0rQpWERejwLTc4kkM3623EjFRzRLTTK5qsA@mail.gmail.com>

    --------------p03EFxYj6hzl9OCZ7qEszXCh
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOC83LzIwMjUgMTo0MyBBTSwgVG9tZWsgQ0VEUk8gd3JvdGU6DQo+IE9uIFRodSwgQXVn IDcsIDIwMjUgYXQgMTI6MjHigK9BTSB2ZXJtYWRlbiA8dmVybWFkZW5AaW50ZXJpYS5wbD4g d3JvdGU6DQo+PiBTbyBZb3Ugc3RpbGwgZG8gbm90IHVuZGVyc3RhbmQgLi4uDQo+Pg0KPj4g VGhlIHBrZyg4KSBjb21tYW5kIHdvcmtzIGZpbmUgLSBpdHMganVzdCBOT1QgU1VQUE9TRSB0 byBERVNUUk9ZIG1vc3Qgb2YgdGhlIEZyZWVCU0QgQmFzZSBTeXN0ZW0gLSBiZWNhdXNlIEZy ZWVCU0QgaXMgbm90IExpbnV4IHRvIGFsbG93IHNoaXQgbGlrZSB0aGF0IC4uLg0KPiArMSA9 KQ0KPg0KPiBCYXNlIGFuZCBVc2VybGFuZCBzaG91bGQgYmUgY2xlYXJseSBzZXBhcmF0ZWQs IGFzIGl0IHdhcywgYXMgaXQgaXMsIG5vDQo+IG1hdHRlciBob3cgaXQgd2lsbCBiZSBvcmdh bml6ZWQgaW50ZXJuYWxseSAoaS5lLiBtb2R1bGFyIGJhc2UpIDotKQ0KPg0KPiBNYXliZSBp dHMgd29ydGggdGhpbmtpbmcgYWJvdXQgc29tZSBzb3J0IG9mIHN0YW5kYXJkIG1pbmltYWwg ZmFsbGJhY2sNCj4gZW52aXJvbm1lbnQgKHJlc2N1ZT8pIHdoZW4gYmFzZSBnZXRzIGJyb2tl biBmb3IgYW55IHJlYXNvbiAoaS5lLg0KPiBicm9rZW4gcGtnYmFzZSwgYnJva2VuIG1vZHVs ZXMsIGZzIGNvcnJ1cHRpb24sIGJyb2tlbiBoYXJkd2FyZSwNCj4gYWNjaWRlbnQpIHRvIGVp dGhlciByZXN0b3JlIGxhc3Qgd29ya2luZyBjb25maWd1cmF0aW9uIG9yIHJlY3JlYXRlDQo+ IGRlZmF1bHRzIHdpdGgvZnJvbSB3aGF0IGNhbiBiZSBzYXZlZD8gOi0pDQoNCg0KTWF5YmUg dGhpcyB3b3VsZCBiZSBhIGdvb2QgdGltZSB0byByZXNlcnZlIHRoZSAtYiAvIC0tYmFzZSBm bGFncyBpbiANCnBrZyg4KSAuLiA/DQoNCg==

    --------------p03EFxYj6hzl9OCZ7qEszXCh--

    --------------sPc9LADirbdtZk4AvNyw5j08
    Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature
    Content-Disposition: attachment; filename="OpenPGP_signature.asc"

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQSDIpfQllw48uFsWk/r4FMJZEPckQUCaJSJgAUDAAAAAAAKCRDr4FMJZEPckffH AP9PJfCwGFL6zX8yxatjLoANyf293bNKnLCEjhU4hWqOTgEA9m7hrfqeTLJ3CQ5QgvzV6CjnT5r4 lM5DV48DkaJJaAc=
    =KyCQ
    -----END PGP SIGNATURE-----

    --------------sPc9LADirbdtZk4AvNyw5j08--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Thu Aug 7 17:02:32 2025
    From Newsgroup: muc.lists.freebsd.stable

    Why should we use the `pkg` tooling for this?
    Why not instead have a dedicated set of tooling
    for managing the base operating system?
    That is what I proposed here with pkgbase(8) command: https://lists.freebsd.org/archives/freebsd-pkgbase/2025-July/000596.html
    In point (1) of course.
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-07 16:58
    Nadawca: "Daniel Morante" &lt;daniel@morante.net>
    Adresat: stable@freebsd.org; FreeBSD-pkgbase@freebsd.org; "freebsd-current" &lt;freebsd-current@freebsd.org>;

    I gave this more thought.&nbsp; Maybe the problem here is the approach?&nbsp; Why
    should we use the `pkg` tooling for this?

    Why not instead have a dedicated set of tooling for managing the base operating system? We kind of already have that and it works well with
    the FreeBSD philosophy.&nbsp; They are called `bsdinstall`, and `freebsd-update`.&nbsp; Can we simply convert/repurpose (and maybe even merge) and rename those tools to handle managing the operating system
    in
    a package like style.&nbsp; We just call it "freebsd-setup" or whatever.&nbsp;
    The
    point being that `pkg` is for ports/packages for third party software
    and `freebsd-setup` is for the operating system.&nbsp; The two should
    never
    cross paths.

    On 8/7/2025 7:09 AM, DutchDaemon - FreeBSD Forums Administrator wrote:
    On 8/7/2025 1:43 AM, Tomek CEDRO wrote:
    On Thu, Aug 7, 2025 at 12:21rC>AM vermaden
    wrote:
    So You still do not understand ...

    The pkg(8) command works fine - its just NOT SUPPOSE to DESTROY
    most
    of the FreeBSD Base System - because FreeBSD is not Linux to allow
    shit like that ...
    +1 =)

    Base and Userland should be clearly separated, as it was, as it is,
    no
    matter how it will be organized internally (i.e. modular base) :-)

    Maybe its worth thinking about some sort of standard minimal
    fallback
    environment (rescue?) when base gets broken for any reason (i.e.
    broken pkgbase, broken modules, fs corruption, broken hardware,
    accident) to either restore last working configuration or recreate
    defaults with/from what can be saved? :-)


    Maybe this would be a good time to reserve the -b / --base flags in
    pkg(8) .. ?



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?UTF-8?Q?Yves_Gu=C3=A9rin?=@yvesguerin@yahoo.ca to muc.lists.freebsd.stable on Thu Aug 7 16:59:09 2025
    From Newsgroup: muc.lists.freebsd.stable

    ------=_Part_251057_698875695.1754585949592
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    Dear,
    I am agree with the proposal of=C2=A0Daniel Morant.
    Do it as freebsd-setup: keep the FreeBSD philosophy in mind and UNIX one to=
    o.
    Regards=C2=A0
    Yves Guerin=20

    Le jeudi 7 ao=C3=BBt 2025 =C3=A0 10:58:35 UTC=E2=88=924, Daniel Morante=
    <daniel@morante.net> a =C3=A9crit : =20
    =20
    I gave this more thought.=C2=A0 Maybe the problem here is the approach?=C2= =A0 Why=20
    should we use the `pkg` tooling for this?

    Why not instead have a dedicated set of tooling for managing the base=20 operating system? We kind of already have that and it works well with=20
    the FreeBSD philosophy.=C2=A0 They are called `bsdinstall`, and=20 `freebsd-update`.=C2=A0 Can we simply convert/repurpose (and maybe even=20 merge) and rename those tools to handle managing the operating system in=20
    a package like style.=C2=A0 We just call it "freebsd-setup" or whatever.=C2= =A0 The=20
    point being that `pkg` is for ports/packages for third party software=20
    and `freebsd-setup` is for the operating system.=C2=A0 The two should never= =20
    cross paths.

    On 8/7/2025 7:09 AM, DutchDaemon - FreeBSD Forums Administrator wrote:
    On 8/7/2025 1:43 AM, Tomek CEDRO wrote:
    On Thu, Aug 7, 2025 at 12:21=E2=80=AFAM vermaden <vermaden@interia.pl> w= rote:
    So You still do not understand ...

    The pkg(8) command works fine - its just NOT SUPPOSE to DESTROY most=20
    of the FreeBSD Base System - because FreeBSD is not Linux to allow=20
    shit like that ...
    +1 =3D)

    Base and Userland should be clearly separated, as it was, as it is, no
    matter how it will be organized internally (i.e. modular base) :-)

    Maybe its worth thinking about some sort of standard minimal fallback
    environment (rescue?) when base gets broken for any reason (i.e.
    broken pkgbase, broken modules, fs corruption, broken hardware,
    accident) to either restore last working configuration or recreate
    defaults with/from what can be saved? :-)


    Maybe this would be a good time to reserve the -b / --base flags in=20
    pkg(8) .. ?

    =20
    ------=_Part_251057_698875695.1754585949592
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    <html><head></head><body><div class=3D"ydp99a953ccyahoo-style-wrap" style= =3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px= ;"><div><div dir=3D"ltr" data-setdir=3D"false">Dear,</div><div dir=3D"ltr" = data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">I am=
    agree with the proposal of&nbsp;<span><span data-test-id=3D"message-from" = class=3D"ydp447a8f55u_b ydp447a8f55en_0 ydp447a8f55c1AVi73_6FsP ydp447a8f55= c1AVi7H_6LEV ydp447a8f55C4_Z29WjXl"><span><span data-test-id=3D"email-pill"=
    class=3D"ydp447a8f55D_F ydp447a8f55rtlI_dz_sSg"><span>Daniel Morant.</span= ></span></span></span></span></div><div dir=3D"ltr" data-setdir=3D"false"><= span><br></span></div><div dir=3D"ltr" data-setdir=3D"false"><span>Do it as=
    freebsd-setup: keep the FreeBSD philosophy in mind and UNIX one too.</span= ></div><div dir=3D"ltr" data-setdir=3D"false"><span><br></span></div><div d= ir=3D"ltr" data-setdir=3D"false"><span>Regards&nbsp;</span></div><div><br><= /div><div class=3D"ydp99a953ccsignature">Yves Guerin</div></div>
    <div><br></div><div><br></div>
    =20
    </div><div id=3D"yahoo_quoted_5491869217" class=3D"yahoo_quoted">
    <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s= ans-serif;font-size:13px;color:#26282a;">
    =20
    <div>
    Le jeudi 7 ao=C3=BBt 2025 =C3=A0 10:58:35 UTC=E2=88= =924, Daniel Morante &lt;daniel@morante.net&gt; a =C3=A9crit :
    </div>
    <div><br></div>
    <div><br></div>
    =20
    =20
    <div><div dir=3D"ltr">I gave this more thought.&nbsp; Maybe=
    the problem here is the approach?&nbsp; Why <br clear=3D"none">should we u=
    se the `pkg` tooling for this?<br clear=3D"none"><br clear=3D"none">Why not=
    instead have a dedicated set of tooling for managing the base <br clear=3D= "none">operating system? We kind of already have that and it works well wit=
    h <br clear=3D"none">the FreeBSD philosophy.&nbsp; They are called `bsdinst= all`, and <br clear=3D"none">`freebsd-update`.&nbsp; Can we simply convert/= repurpose (and maybe even <br clear=3D"none">merge) and rename those tools =
    to handle managing the operating system in <br clear=3D"none">a package lik=
    e style.&nbsp; We just call it "freebsd-setup" or whatever.&nbsp; The <br c= lear=3D"none">point being that `pkg` is for ports/packages for third party = software <br clear=3D"none">and `freebsd-setup` is for the operating system= .&nbsp; The two should never <br clear=3D"none">cross paths.<br clear=3D"no= ne"><div class=3D"yqt5048317583" id=3D"yqtfd54700"><br clear=3D"none">On 8/= 7/2025 7:09 AM, DutchDaemon - FreeBSD Forums Administrator wrote:<br clear= =3D"none">&gt; On 8/7/2025 1:43 AM, Tomek CEDRO wrote:<br clear=3D"none">&g= t;&gt; On Thu, Aug 7, 2025 at 12:21=E2=80=AFAM vermaden &lt;<a shape=3D"rec=
    t" ymailto=3D"mailto:vermaden@interia.pl" href=3D"mailto:vermaden@interia.p= l">vermaden@interia.pl</a>&gt; wrote:<br clear=3D"none">&gt;&gt;&gt; So You=
    still do not understand ...<br clear=3D"none">&gt;&gt;&gt;<br clear=3D"non= e">&gt;&gt;&gt; The pkg(8) command works fine - its just NOT SUPPOSE to DES= TROY most <br clear=3D"none">&gt;&gt;&gt; of the FreeBSD Base System - beca= use FreeBSD is not Linux to allow <br clear=3D"none">&gt;&gt;&gt; shit like=
    that ...<br clear=3D"none">&gt;&gt; +1 =3D)<br clear=3D"none">&gt;&gt;<br = clear=3D"none">&gt;&gt; Base and Userland should be clearly separated, as i=
    t was, as it is, no<br clear=3D"none">&gt;&gt; matter how it will be organi= zed internally (i.e. modular base) :-)<br clear=3D"none">&gt;&gt;<br clear= =3D"none">&gt;&gt; Maybe its worth thinking about some sort of standard min= imal fallback<br clear=3D"none">&gt;&gt; environment (rescue?) when base ge=
    ts broken for any reason (i.e.<br clear=3D"none">&gt;&gt; broken pkgbase, b= roken modules, fs corruption, broken hardware,<br clear=3D"none">&gt;&gt; a= ccident) to either restore last working configuration or recreate<br clear= =3D"none">&gt;&gt; defaults with/from what can be saved? :-)<br clear=3D"no= ne">&gt;<br clear=3D"none">&gt;<br clear=3D"none">&gt; Maybe this would be =
    a good time to reserve the -b / --base flags in <br clear=3D"none">&gt; pkg= (8) .. ?<br clear=3D"none">&gt;<br clear=3D"none"></div></div></div>
    </div>
    </div></body></html>
    ------=_Part_251057_698875695.1754585949592--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?UTF-8?Q?Yves_Gu=C3=A9rin?=@yvesguerin@yahoo.ca to muc.lists.freebsd.stable on Thu Aug 7 19:39:09 2025
    From Newsgroup: muc.lists.freebsd.stable

    ------=_Part_308288_1026578009.1754595549290
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    Dear,
    Sorry for the noise,=C2=A0
    I am agree with the proposal of=C2=A0Daniel Morant.
    Do it as freebsd-setup: keep the FreeBSD philosophy in mind and UNIX one to=
    o.
    Regards=C2=A0
    Yves Guerin=20

    Le jeudi 7 ao=C3=BBt 2025 =C3=A0 10:58:35 UTC=E2=88=924, Daniel Morante=
    <daniel@morante.net> a =C3=A9crit : =20
    =20
    I gave this more thought.=C2=A0 Maybe the problem here is the approach?=C2= =A0 Why=20
    should we use the `pkg` tooling for this?

    Why not instead have a dedicated set of tooling for managing the base=20 operating system? We kind of already have that and it works well with=20
    the FreeBSD philosophy.=C2=A0 They are called `bsdinstall`, and=20 `freebsd-update`.=C2=A0 Can we simply convert/repurpose (and maybe even=20 merge) and rename those tools to handle managing the operating system in=20
    a package like style.=C2=A0 We just call it "freebsd-setup" or whatever.=C2= =A0 The=20
    point being that `pkg` is for ports/packages for third party software=20
    and `freebsd-setup` is for the operating system.=C2=A0 The two should never= =20
    cross paths.

    On 8/7/2025 7:09 AM, DutchDaemon - FreeBSD Forums Administrator wrote:
    On 8/7/2025 1:43 AM, Tomek CEDRO wrote:
    On Thu, Aug 7, 2025 at 12:21=E2=80=AFAM vermaden <vermaden@interia.pl> w= rote:
    So You still do not understand ...

    The pkg(8) command works fine - its just NOT SUPPOSE to DESTROY most=20
    of the FreeBSD Base System - because FreeBSD is not Linux to allow=20
    shit like that ...
    +1 =3D)

    Base and Userland should be clearly separated, as it was, as it is, no
    matter how it will be organized internally (i.e. modular base) :-)

    Maybe its worth thinking about some sort of standard minimal fallback
    environment (rescue?) when base gets broken for any reason (i.e.
    broken pkgbase, broken modules, fs corruption, broken hardware,
    accident) to either restore last working configuration or recreate
    defaults with/from what can be saved? :-)


    Maybe this would be a good time to reserve the -b / --base flags in=20
    pkg(8) .. ?

    =20
    ------=_Part_308288_1026578009.1754595549290
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    <html><head></head><body><div class=3D"ydp657aa60byahoo-style-wrap" style= =3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px= ;"><div><div dir=3D"ltr" data-setdir=3D"false"><div><div><div dir=3D"ltr">D= ear,</div><div dir=3D"ltr"><br clear=3D"none"></div><div dir=3D"ltr" data-s= etdir=3D"false">Sorry for the noise,&nbsp;</div><div dir=3D"ltr" data-setdi= r=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">I am agree wit=
    h the proposal of&nbsp;<span><span class=3D"ydp34db9334yiv4511573142ydp447a= 8f55u_b ydp34db9334yiv4511573142ydp447a8f55en_0 ydp34db9334yiv4511573142ydp= 447a8f55c1AVi73_6FsP ydp34db9334yiv4511573142ydp447a8f55c1AVi7H_6LEV ydp34d= b9334yiv4511573142ydp447a8f55C4_Z29WjXl"><span><span class=3D"ydp34db9334yi= v4511573142ydp447a8f55D_F ydp34db9334yiv4511573142ydp447a8f55rtlI_dz_sSg"><= span>Daniel Morant.</span></span></span></span></span></div><div dir=3D"ltr= "><span><br clear=3D"none"></span></div><div dir=3D"ltr"><span>Do it as fre= ebsd-setup: keep the FreeBSD philosophy in mind and UNIX one too.</span></d= iv><div dir=3D"ltr"><span><br clear=3D"none"></span></div><div dir=3D"ltr">= <span>Regards&nbsp;</span></div><div><br clear=3D"none"></div><div class=3D= "ydp34db9334yiv4511573142ydp99a953ccsignature">Yves Guerin</div></div></div= ></div></div>
    <div><br></div><div><br></div>
    =20
    </div><div id=3D"yahoo_quoted_5052031518" class=3D"yahoo_quoted">
    <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s= ans-serif;font-size:13px;color:#26282a;">
    =20
    <div>
    Le jeudi 7 ao=C3=BBt 2025 =C3=A0 10:58:35 UTC=E2=88= =924, Daniel Morante &lt;daniel@morante.net&gt; a =C3=A9crit :
    </div>
    <div><br></div>
    <div><br></div>
    =20
    =20
    <div><div dir=3D"ltr">I gave this more thought.&nbsp; Maybe=
    the problem here is the approach?&nbsp; Why <br clear=3D"none">should we u=
    se the `pkg` tooling for this?<br clear=3D"none"><br clear=3D"none">Why not=
    instead have a dedicated set of tooling for managing the base <br clear=3D= "none">operating system? We kind of already have that and it works well wit=
    h <br clear=3D"none">the FreeBSD philosophy.&nbsp; They are called `bsdinst= all`, and <br clear=3D"none">`freebsd-update`.&nbsp; Can we simply convert/= repurpose (and maybe even <br clear=3D"none">merge) and rename those tools =
    to handle managing the operating system in <br clear=3D"none">a package lik=
    e style.&nbsp; We just call it "freebsd-setup" or whatever.&nbsp; The <br c= lear=3D"none">point being that `pkg` is for ports/packages for third party = software <br clear=3D"none">and `freebsd-setup` is for the operating system= .&nbsp; The two should never <br clear=3D"none">cross paths.<br clear=3D"no= ne"><div class=3D"yqt5048317583" id=3D"yqtfd54700"><br clear=3D"none">On 8/= 7/2025 7:09 AM, DutchDaemon - FreeBSD Forums Administrator wrote:<br clear= =3D"none">&gt; On 8/7/2025 1:43 AM, Tomek CEDRO wrote:<br clear=3D"none">&g= t;&gt; On Thu, Aug 7, 2025 at 12:21=E2=80=AFAM vermaden &lt;<a shape=3D"rec=
    t" ymailto=3D"mailto:vermaden@interia.pl" href=3D"mailto:vermaden@interia.p= l">vermaden@interia.pl</a>&gt; wrote:<br clear=3D"none">&gt;&gt;&gt; So You=
    still do not understand ...<br clear=3D"none">&gt;&gt;&gt;<br clear=3D"non= e">&gt;&gt;&gt; The pkg(8) command works fine - its just NOT SUPPOSE to DES= TROY most <br clear=3D"none">&gt;&gt;&gt; of the FreeBSD Base System - beca= use FreeBSD is not Linux to allow <br clear=3D"none">&gt;&gt;&gt; shit like=
    that ...<br clear=3D"none">&gt;&gt; +1 =3D)<br clear=3D"none">&gt;&gt;<br = clear=3D"none">&gt;&gt; Base and Userland should be clearly separated, as i=
    t was, as it is, no<br clear=3D"none">&gt;&gt; matter how it will be organi= zed internally (i.e. modular base) :-)<br clear=3D"none">&gt;&gt;<br clear= =3D"none">&gt;&gt; Maybe its worth thinking about some sort of standard min= imal fallback<br clear=3D"none">&gt;&gt; environment (rescue?) when base ge=
    ts broken for any reason (i.e.<br clear=3D"none">&gt;&gt; broken pkgbase, b= roken modules, fs corruption, broken hardware,<br clear=3D"none">&gt;&gt; a= ccident) to either restore last working configuration or recreate<br clear= =3D"none">&gt;&gt; defaults with/from what can be saved? :-)<br clear=3D"no= ne">&gt;<br clear=3D"none">&gt;<br clear=3D"none">&gt; Maybe this would be =
    a good time to reserve the -b / --base flags in <br clear=3D"none">&gt; pkg= (8) .. ?<br clear=3D"none">&gt;<br clear=3D"none"></div></div></div>
    </div>
    </div></body></html>
    ------=_Part_308288_1026578009.1754595549290--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Fri Aug 8 03:20:31 2025
    From Newsgroup: muc.lists.freebsd.stable

    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE concept - besides 'kinda working' - does not holds to the POLA principle at all - and if anyone will chose to use PKGBASE instead of 'classic' install the 'pkg delete -af' will not only delete all the third party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable to say the least.
    My 'vote' here does not changed.
    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg
    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase
    Its literally the same 'separation' as the Base System for binaries:
    - /bin
    - /usr/bin
    - /sbin
    - /usr/sbin
    And /usr/local PREFIX for third party packages as:
    - /usr/local/bin
    - /usr/local/sbin
    Regards,
    vermaden
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-07 2:10
    Nadawca: "Sulev-Madis Silber" &lt;freebsd-current-freebsd-org111@ketas.si.pri.ee>
    Adresat: freebsd-current@freebsd.org;

    what linux distros do here? extra options to avoid
    deleting the basic things like kernel and minimal userland utils? if you
    happen to make way too broad package deletion. i don't think linux
    sysadmins want it either. even if you consider linux moving faster and with less seatbelts ("allow shit like that" (c) vermaden). it's not pkg fault it does wipe system clean if you asked it. also, des@ reminded me that pkg replaced older tracking system 12 years ago. yet, i see pkg production
    versions being released just recently with a bug that user immediately
    notices. it was fixed because oops humans make mistakes. but it would be a horror if pkg does those things when it manages the entire system. granted,
    you can always boot at least external media when any "nuclear" pkg update
    comes out. this one wasn't but... and one could say that pkgbase is
    extensively discussed everywhere. but we still have discussions like this
    here. even fights. what if you miss all those? i never knew 32bit is on the
    way out until i happened to randomly read that warning from kernel boot
    log. there are number of those things in fbsd. happened earlier, happened lately. maybe it's inevitable. were you scared to install new major version like 5 or 13 right away because who knows what will happen? luckily there
    are 2, sometimes 3 majors to choose from should some of them include rushed
    in late changes that turned out to be buggy. it feels like it got worse
    lately. i mean more changes, more breaks. i don't know why this isn't
    confined to current or stable. those are annoying type of changes.
    hopefully pkgbase will not be switched on before it's done. but pkg for
    ports still has issues and it's now default package manager here. feels
    like too much hassle. there are many changes, i mean. good, but extra fuzz.
    drm for gpus, wifi driver changes, wifi adapter firmware loading changes.
    all with somebody complaining that (s)he didn't know there was breaking
    change. i don't have had reason to run -af and not checking either but if
    you had habit of doing that, it would be similar to rm ~ catching the /
    along too. unsure what the fix is. (userland) utils and kernel printing it
    out to console? over longer period of time? i mean i could understand that change was discussed "everywhere", meetings, mailing lists. it would still
    be missed. if i make something, which i only tried once, and publish it, i would never expect them to be aware of changes i make. because release
    notes, changelogs, those don't get attention. and you can still miss stuff.
    i once told that correct procedure is to check everything throughly and
    then upgrade, but i have passed this myself often. and have gotten
    "fallouts" too. in fbsd the only thing i would need to stand back, squint
    and duck is when booting new current. when pkgbase gets out in installer,
    i expect it to still have issues and i would rather stand back and watch
    this "nuke" going off. because it does make radical changes. one of most
    wtf is that now one needs to deal /etc in new ways. and if those differ
    from mergemaster or etcupdate, it would make somebody mad. perhaps even
    worse than i could. in my mind, changes are good. if they are reasonable.
    and known. probably knowing is biggest issue. what if one misses all those
    10 different places? i never checked, does freebsd-update tell that pkgbase
    is coming? does buildworld, maybe installworld tell that? that i actually
    used and i don't see it. because those are like places where you see it. i can't recall if ports warned of pkgng coming soon? i also prefer if those messages would include plans and not final decisions to make a change. i haven't tries pkgbase myself, maybe i will, maybe i don't. unsure what fix
    is. maybe start putting things right into where everyone sees it. unsure.
    and if i were you, whoever leads pkgbase initiative in "high castle" (it
    does feel like this!), i would not let users delete base with -af. it's
    rather unusual anyway and i don't think not deleting would get people as
    mad as deleting stuff. i can't recall what was it, was it repo manager on
    linux distro or something else but something wanted you to write whole sentence, observing caps and so on. then it executed that irreversible operation. in my systems, i've been configured things to ask date &amp; times when i really wanted to not do anything stupid. that would get somebody's
    brain working and maybe they interrupt their autopilot mode if they didn't actually want it. trust me, deleting freebsd-kernel, removing freebsd-bin, pkg-bootstrap... isn't what you want to see, then it's too late. and yes,
    add echos to installworld end and freebsd-update if it's not there already because that's what people see



    On August 7, 2025 1:21:32 AM GMT+03:00, vermaden
    wrote:
    So You still do not understand ...

    The pkg(8) command works fine - its just NOT SUPPOSE to DESTROY most
    of the FreeBSD Base System - because FreeBSD is not Linux to allow shit
    like that ...




    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-07 0:13
    Nadawca: "Ceri Davies" &lt;ceri@submonkey.net>
    Adresat: "vermaden" &lt;vermaden@interia.pl>;
    DW: FreeBSD-pkgbase@freebsd.org; freebsd-pkg@freebsd.org; freebsd-current@freebsd.org; freebsd-stable@freebsd.org;



    On 6 Aug 2025, at 22:54, vermaden wrote:

    N++

    No, it has the same behaviour.

    English is not my primary language so I will try to explain in
    more
    simple words as you probably did not understood.

    NOPE.

    It DOES NOT has the same behavior.

    In each case it forcibly deletes all the packages from your system,
    like you asked.

    I understood you fine, I just disagree that this is a shocking
    result
    when you have specified the rCLallrCY and rCLforcerCY flags. In fact
    it is
    exactly what that command is documented to do and therefore is very
    far
    from a violation of the principle of least astonishment.

    Ceri








    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Fri Aug 8 04:14:12 2025
    From Newsgroup: muc.lists.freebsd.stable

    One small 'patch' ...
    - this is not unacceptable to say the least.
    + this is unacceptable to say the least.
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-08 3:37
    Nadawca: "vermaden" &lt;vermaden@interia.pl>
    Adresat: "Sulev-Madis Silber" &lt;freebsd-current-freebsd-org111@ketas.si.pri.ee>; "freebsd-current@freebsd.org" &lt;freebsd-current@freebsd.org>; freebsd-stable@FreeBSD.org; freebsd-pkgbase@FreeBSD.org;

    OK, Colin Percival just announced 15.0-PRERELEASE - yet
    the PKGBASE concept - besides 'kinda working' - does not holds to the POLA principle at all - and if anyone will chose to use PKGBASE instead of
    'classic' install the 'pkg delete -af' will not only delete all the third
    party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ...
    this is not unacceptable to say the least.

    My 'vote' here does not changed.

    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg

    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    Its literally the same 'separation' as the Base System for binaries:
    - /bin
    - /usr/bin
    - /sbin
    - /usr/sbin

    And /usr/local PREFIX for third party packages as:
    - /usr/local/bin
    - /usr/local/sbin

    Regards,
    vermaden





    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-07 2:10
    Nadawca: "Sulev-Madis Silber"
    &lt;freebsd-current-freebsd-org111@ketas.si.pri.ee>
    Adresat: freebsd-current@freebsd.org;


    what linux distros do here? extra options to avoid
    deleting the basic things like kernel and minimal userland utils? if
    you
    happen to make way too broad package deletion. i don't think linux
    sysadmins want it either. even if you consider linux moving faster and
    with
    less seatbelts ("allow shit like that" (c) vermaden). it's not pkg
    fault it
    does wipe system clean if you asked it. also, des@ reminded me that
    pkg
    replaced older tracking system 12 years ago. yet, i see pkg production versions being released just recently with a bug that user immediately notices. it was fixed because oops humans make mistakes. but it would
    be a
    horror if pkg does those things when it manages the entire system.
    granted,
    you can always boot at least external media when any "nuclear" pkg
    update
    comes out. this one wasn't but... and one could say that pkgbase is extensively discussed everywhere. but we still have discussions like
    this
    here. even fights. what if you miss all those? i never knew 32bit is
    on the
    way out until i happened to randomly read that warning from kernel
    boot
    log. there are number of those things in fbsd. happened earlier,
    happened
    lately. maybe it's inevitable. were you scared to install new major
    version
    like 5 or 13 right away because who knows what will happen? luckily
    there
    are 2, sometimes 3 majors to choose from should some of them include
    rushed
    in late changes that turned out to be buggy. it feels like it got
    worse
    lately. i mean more changes, more breaks. i don't know why this isn't confined to current or stable. those are annoying type of changes.
    hopefully pkgbase will not be switched on before it's done. but pkg
    for
    ports still has issues and it's now default package manager here.
    feels
    like too much hassle. there are many changes, i mean. good, but extra
    fuzz.
    drm for gpus, wifi driver changes, wifi adapter firmware loading
    changes.
    all with somebody complaining that (s)he didn't know there was
    breaking
    change. i don't have had reason to run -af and not checking either but
    if
    you had habit of doing that, it would be similar to rm ~ catching the
    /
    along too. unsure what the fix is. (userland) utils and kernel
    printing it
    out to console? over longer period of time? i mean i could understand
    that
    change was discussed "everywhere", meetings, mailing lists. it would
    still
    be missed. if i make something, which i only tried once, and publish
    it, i
    would never expect them to be aware of changes i make. because release
    notes, changelogs, those don't get attention. and you can still miss
    stuff.
    i once told that correct procedure is to check everything throughly
    and
    then upgrade, but i have passed this myself often. and have gotten
    "fallouts" too. in fbsd the only thing i would need to stand back,
    squint
    and duck is when booting new current. when pkgbase gets out in
    installer,
    i expect it to still have issues and i would rather stand back and
    watch
    this "nuke" going off. because it does make radical changes. one of
    most
    wtf is that now one needs to deal /etc in new ways. and if those
    differ
    from mergemaster or etcupdate, it would make somebody mad. perhaps
    even
    worse than i could. in my mind, changes are good. if they are
    reasonable.
    and known. probably knowing is biggest issue. what if one misses all
    those
    10 different places? i never checked, does freebsd-update tell that
    pkgbase
    is coming? does buildworld, maybe installworld tell that? that i
    actually
    used and i don't see it. because those are like places where you see
    it. i
    can't recall if ports warned of pkgng coming soon? i also prefer if
    those
    messages would include plans and not final decisions to make a change.
    i
    haven't tries pkgbase myself, maybe i will, maybe i don't. unsure what
    fix
    is. maybe start putting things right into where everyone sees it.
    unsure.
    and if i were you, whoever leads pkgbase initiative in "high castle"
    (it
    does feel like this!), i would not let users delete base with -af.
    it's
    rather unusual anyway and i don't think not deleting would get people
    as
    mad as deleting stuff. i can't recall what was it, was it repo manager
    on
    linux distro or something else but something wanted you to write whole sentence, observing caps and so on. then it executed that irreversible operation. in my systems, i've been configured things to ask date
    &amp; times
    when i really wanted to not do anything stupid. that would get
    somebody's
    brain working and maybe they interrupt their autopilot mode if they
    didn't
    actually want it. trust me, deleting freebsd-kernel, removing
    freebsd-bin,
    pkg-bootstrap... isn't what you want to see, then it's too late. and
    yes,
    add echos to installworld end and freebsd-update if it's not there
    already
    because that's what people see



    On August 7, 2025 1:21:32 AM GMT+03:00, vermaden
    wrote:
    So You still do not understand ...

    The pkg(8) command works fine - its just NOT SUPPOSE to DESTROY most
    of the FreeBSD Base System - because FreeBSD is not Linux to allow
    shit
    like that ...




    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-07 0:13
    Nadawca: "Ceri Davies" &lt;ceri@submonkey.net>
    Adresat: "vermaden" &lt;vermaden@interia.pl>;
    DW: FreeBSD-pkgbase@freebsd.org; freebsd-pkg@freebsd.org;
    freebsd-current@freebsd.org; freebsd-stable@freebsd.org;



    On 6 Aug 2025, at 22:54, vermaden wrote:

    N++

    No, it has the same behaviour.

    English is not my primary language so I will try to explain in
    more
    simple words as you probably did not understood.

    NOPE.

    It DOES NOT has the same behavior.

    In each case it forcibly deletes all the packages from your
    system,
    like you asked.

    I understood you fine, I just disagree that this is a shocking
    result
    when you have specified the rCLallrCY and rCLforcerCY flags. In
    fact
    it is
    exactly what that command is documented to do and therefore is very
    far
    from a violation of the principle of least astonishment.

    Ceri











    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Colin Percival@cperciva@freebsd.org to muc.lists.freebsd.stable on Thu Aug 7 19:17:23 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 8/7/25 18:20, vermaden wrote:
    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE concept - besides 'kinda working' - does not holds to the POLA principle at all - and if anyone will chose to use PKGBASE instead of 'classic' install the 'pkg delete -af' will not only delete all the third party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable to say the least.

    POLA is inherently subjective; what astonishes one person might be exactly
    what another person expects. In this particular case, while someone might indeed be astonished that "forcibly delete everything" deletes everything, someone else could well be astonished if "pkg delete -f clang" doesn't in
    fact delete clang.

    My 'vote' here does not changed.

    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg

    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    I would like this idea, except for one wrinkle: I don't think it would work.
    In particular, packages installed from ports might depend on packages from
    the base system, so having a single tool which knows about both is necessary. --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Charles Sprickman@spork@bway.net to muc.lists.freebsd.stable on Thu Aug 7 22:51:15 2025
    From Newsgroup: muc.lists.freebsd.stable


    On Aug 7, 2025, at 10:17rC>PM, Colin Percival <cperciva@freebsd.org> wrote:

    On 8/7/25 18:20, vermaden wrote:
    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE concept - besides 'kinda working' - does not holds to the POLA principle at all - and if anyone will chose to use PKGBASE instead of 'classic' install the 'pkg delete -af' will not only delete all the third party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable to say the least.

    POLA is inherently subjective; what astonishes one person might be exactly what another person expects. In this particular case, while someone might indeed be astonished that "forcibly delete everything" deletes everything, someone else could well be astonished if "pkg delete -f clang" doesn't in fact delete clang.

    My 'vote' here does not changed.
    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg
    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    I would like this idea, except for one wrinkle: I don't think it would work. In particular, packages installed from ports might depend on packages from the base system, so having a single tool which knows about both is necessary
    As someone who does *just enough* work with FreeBSD and has used it since 2.1.6 or so, I would argue that in the past few years I've found myself "astonished" with a number of things, and I think a command that would normally wipe out all non-base components all of a sudden nuking your whole system is "astonishing".
    We can dance around how it isn't for say, a developer or a consultant or someone working at a company that's contributing to FreeBSD, but if you want to appeal outside of that highly-technical, highly-focused on FreeBSD (as opposed to generalist sysadmins - hi, it's me!), this whole "if you're too dumb to know everything" or "not engaged enough" to be on (and actually read) multiple mailing lists, the forums, the Foundation's newsletter, and a few random wiki pages (plus I'm sure other new outlets I haven't paid attention to, what is the project really doing? Is the wish to be a niche OS that needn't bother with new users or is it to broaden the base of users outside the community?
    I really can't wrap my head around all the arguments against doing something, anything, to be kinder to a new user (or less-obsessed old user). So many people on this team are well into adulthood, and as I hit my 40's, I can tell you I dropped a LOT of that attitude I see on the lists, forums, and IRC that's just a foot stomp and a dismissive "RTFM!" whenever someone hasn't reached some arbitrary bar of minimum knowledge to use a FreeBSD system without things blowing up on them for making assumptions like the one this thread is about. I genuinely don't get the pushback. I don't know the hierarchy of the players involved here or who's ultimately in charge, but I don't get why *this* hill is the one people are choosing to die on. Help me understand this. I know for certain I'm someone that would be "astonished" to find my base nuked by a previously safe command. Maybe I'm not worthy of the OS, I don't know? :)
    Charles
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rick Macklem@rick.macklem@gmail.com to muc.lists.freebsd.stable on Thu Aug 7 20:25:41 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Thu, Aug 7, 2025 at 7:52rC>PM Daniel Morante <daniel@morante.net> wrote:

    packages installed from ports might depend on packages from
    the base system
    One of the (if not THE) thing I found appealing about FreeBSD was not
    having to think about or be concerned with that. You install FreeBSD,
    you get what you need to run (ports/packages) on FreeBSD.
    Yea, I'll admit I've been installing it for literally decades and it has always been quick and easy (at least if you don't want windows/desktop and I
    found that went pretty smoothly when I did it not too long ago).
    I missed why the tarballs needed to be replaced with this pkg stuff,
    but I guess they have a good reason?
    rick

    On 8/7/2025 10:17 PM, Colin Percival wrote:
    On 8/7/25 18:20, vermaden wrote:
    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE
    concept - besides 'kinda working' - does not holds to the POLA
    principle at all - and if anyone will chose to use PKGBASE instead of
    'classic' install the 'pkg delete -af' will not only delete all the
    third party packages but will also WIPE almost ENTIRE BASE SYSTEM of
    FreeBSD ... this is not unacceptable to say the least.

    POLA is inherently subjective; what astonishes one person might be
    exactly
    what another person expects. In this particular case, while someone
    might
    indeed be astonished that "forcibly delete everything" deletes
    everything,
    someone else could well be astonished if "pkg delete -f clang" doesn't in fact delete clang.

    My 'vote' here does not changed.

    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg

    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    I would like this idea, except for one wrinkle: I don't think it would work.
    In particular, packages installed from ports might depend on packages
    from
    the base system, so having a single tool which knows about both is necessary.

    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Peter Libassi@peter@libassi.se to muc.lists.freebsd.stable on Fri Aug 8 05:57:11 2025
    From Newsgroup: muc.lists.freebsd.stable


    8 aug. 2025 kl. 04:17 skrev Colin Percival <cperciva@freebsd.org>:

    On 8/7/25 18:20, vermaden wrote:
    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE concept - besides 'kinda working' - does not holds to the POLA principle at all - and if anyone will chose to use PKGBASE instead of 'classic' install the 'pkg delete -af' will not only delete all the third party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable to say the least.

    POLA is inherently subjective; what astonishes one person might be exactly what another person expects. In this particular case, while someone might indeed be astonished that "forcibly delete everything" deletes everything, someone else could well be astonished if "pkg delete -f clang" doesn't in fact delete clang.

    My 'vote' here does not changed.
    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg
    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    I would like this idea, except for one wrinkle: I don't think it would work. In particular, packages installed from ports might depend on packages from the base system, so having a single tool which knows about both is necessary.

    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


    I disagree, today base does not depend or care of ports. It should continue this way. In principle i agree with Vermaden. However If it today is desirable to use some sort of rCYpackagesrCY functionality for base, fine, just donrCOt confuse users with word the rCOpkgrCO. pkgs are ports and per se separated from base. Take Vermadens suggestion and rename rCOpkgbaserCY to something that makes you intuitively understand that these are base modules, i.e functional building block for base.
    /Peter
    a Ordinary FreeBSD user--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bane Ivosev@bane.ivosev@pmf.uns.ac.rs to muc.lists.freebsd.stable on Fri Aug 8 07:12:55 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 8/7/2025 10:17 PM, Colin Percival wrote:
    I would like this idea, except for one wrinkle: I don't think it would work. In particular, packages installed from ports might depend on packages from the base system, so having a single tool which knows about both is necessary.

    As someone already said "that was THE thing", clear separation for OS
    and ports. The fact that the FreeBSD release engineering lead is
    thinking along these lines, to me, is ... scary.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From freebsd@freebsd@oldach.net (Helge Oldach) to muc.lists.freebsd.stable on Fri Aug 8 07:42:54 2025
    From Newsgroup: muc.lists.freebsd.stable

    Colin Percival wrote on Fri, 08 Aug 2025 04:17:23 +0200 (CEST):
    On 8/7/25 18:20, vermaden wrote:
    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg

    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    I would like this idea, except for one wrinkle: I don't think it would work. In particular, packages installed from ports might depend on packages from the base system, so having a single tool which knows about both is necessary.

    Dropping the idea of applying pkg's paradigms to base would fix that instantly.

    Kind regards
    Helge


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From sthaug@sthaug@nethelp.no to muc.lists.freebsd.stable on Fri Aug 8 09:10:53 2025
    From Newsgroup: muc.lists.freebsd.stable

    POLA is inherently subjective; what astonishes one person might be exactly >> what another person expects. In this particular case, while someone might >> indeed be astonished that "forcibly delete everything" deletes everything, >> someone else could well be astonished if "pkg delete -f clang" doesn't in
    fact delete clang.

    Not really. So far "the FreeBSD standard" kept things "similar" for
    over 30 years. If we traveled back/forward in time we would still use
    the same approach to configure and run stuff. Maybe except pkg-add was replaced with pkg, but still all locations are the same, configuration
    files format, ports build, etc. "Base" is the cornerstone of FreeBSD
    and its most widely known unique feature. It is like coming back to
    familiar stable work place, where all things does not change on a
    daily basis, or going to a different place and having the same
    familiar setup with nothing missing. There was always clear separation
    of "base system" and "userland". This meant all FreeBSD base release
    X.Y would have exactly the same predictable behavior for everyone.

    FreeBSD-user since 2.0 here. I've gotten used to the FreeBSD package
    system, and quite like it. Regarding this discussion:

    - It's important to have a clean separation between the base system
    (whether that is installed using the package system or not) and the
    rest. An easy way to list "these are the base system packages" is
    absolutely needed.

    - I see no problem with packages from ports depending on packages
    from the base system, since packages from ports already depend on
    the base system today. The other way around, having the base system
    depend on packages from ports, would be a problem!

    - Maybe there should be an extra step if you try to delete packages
    from the base system? I'm no great fan of "Are you sure" prompts all
    over the place, this is just some food for thought.

    - In any case, if you do any variant of "pkg delete -f" you are
    explicitly saying "I want to *force* this delete", and shooting
    yourself in the foot should be allowed.

    Steinar Haug, Nethelp consulting, sthaug@nethelp.no


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=@des@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 10:31:34 2025
    From Newsgroup: muc.lists.freebsd.stable

    sthaug@nethelp.no writes:
    - It's important to have a clean separation between the base system
    (whether that is installed using the package system or not) and the
    rest. An easy way to list "these are the base system packages" is
    absolutely needed.
    You can easily create an alias for this:
    pkg query -e '%o = base' %n
    If you want something closer to `pkg info`, try:
    pkg query -e '%o = base' '%n-%v %c' | column -tl 2
    - Maybe there should be an extra step if you try to delete packages
    from the base system?
    There already is:
    % sudo pkg delete FreeBSD-clibs
    Checking integrity... done (0 conflicting)
    The following package(s) are locked or vital and may not be removed:

    FreeBSD-clibs

    1 packages requested for removal: 1 locked, 0 missing
    The only matter that remains to be settled is which packages should be
    marked vital:
    % pkg query -e '%V = 1' %n
    FreeBSD-clibs
    FreeBSD-runtime
    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Tomoaki AOKI@junchoon@dec.sakura.ne.jp to muc.lists.freebsd.stable on Fri Aug 8 19:01:36 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Thu, 7 Aug 2025 19:17:23 -0700
    Colin Percival <cperciva@freebsd.org> wrote:

    On 8/7/25 18:20, vermaden wrote:
    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE concept - besides 'kinda working' - does not holds to the POLA principle at all - and if anyone will chose to use PKGBASE instead of 'classic' install the 'pkg delete -af' will not only delete all the third party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable to say the least.

    POLA is inherently subjective; what astonishes one person might be exactly what another person expects. In this particular case, while someone might indeed be astonished that "forcibly delete everything" deletes everything, someone else could well be astonished if "pkg delete -f clang" doesn't in fact delete clang.

    My 'vote' here does not changed.

    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg

    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    I would like this idea, except for one wrinkle: I don't think it would work. In particular, packages installed from ports might depend on packages from the base system, so having a single tool which knows about both is necessary.

    What about switching the default behavior WRT in what name it is
    involed, like ex and vi?

    Possibly I'm mis-understanding / mis-remenbering, but IIRC, ther is
    vital flag that prevent the pkg from easily removed. Treating non-pkg
    base to be vital could help. Isn't it?

    Also, for PkgBase, defaulting base packages "locked" and unlock them
    when really need and requested to upgrade, then, lock again once
    finished would be wanted. Maybe it would be better done via bsdinstall
    and/or freebsd-update, using pkg as its backend. Keeping UI and
    config files as-is (just "distributions" like base.txz are broken down
    into finer grain and its extentions changes to *.pkg) would minimize
    pains in the wild. (As, for example, lib32.txz didn't exist in i386,
    IMHO, changes in "distributin names" are acceptable on major version
    ups.)


    And "layering" base and ports would be also wanted.

    Anything in "ports" layer can depends on anything in "base" layer,
    but components in "base" layer should be restricted NOT to depends on
    enything in "ports" layer. Maybe the exception would be external
    tool chains to build base. Possibly Rust required for future LinuxKPI?

    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
    --
    Tomoaki AOKI <junchoon@dec.sakura.ne.jp>


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=@des@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 14:30:42 2025
    From Newsgroup: muc.lists.freebsd.stable

    Tomek CEDRO <tomek@cedro.info> writes:
    Not really. So far "the FreeBSD standard" kept things "similar" for
    over 30 years. If we traveled back/forward in time we would still use
    the same approach to configure and run stuff. Maybe except pkg-add was replaced with pkg, but still all locations are the same, configuration
    files format, ports build, etc.
    I'm sorry but that's pure fantasy. In the last 30 years, we've switched
    our init system twice, the main system configuration moved from
    /etc/sysconfig to /etc/rc.conf, and we later added /etc/rc.conf.d and per-service subdirectories. The ports tree is also completely different
    from what it was 15 years ago, let alone 30: we've switched to staged, unprivileged builds, we've added USES and FLAVOR, we switched the
    primary identifier from the origin to PKGNAME, we switched to pkg (which
    is a much bigger change than you seem to realize)... If anything, the separation between base and ports is stronger now than ever, because we
    used to allow ports to install files outside of ${LOCALBASE} and even
    replace parts of the base system.
    Packaged base has been in the works for a decade and it's going in.
    There are rough edges, but we'll sort them out and the end result will
    be much, much easier to manage for everybody than what we have now. By
    the time FreeBSD 16.0 comes around, it will be second nature, and you
    will have a hard time remembering what the fuss was all about.
    [...] packages installed from ports might depend on packages from
    the base system [...]
    This statement is extremely dangerous. It touches clue of this
    discussion. It seems to reveal planning to totally break current
    FreeBSD design / architecture? So far "base" could work without
    "userland", provided consistent, coherent, and predictable working environment. Everyone had the same set of "base" tools where
    "userland" could be built on top, so every system could be different
    but had exactly the same base. I can see that "base" will not be
    coherent for everyone anymore. If ports start depending on base
    packages then circular dependencies will arise and this will be a Linux-like-mess, because there could be different versions of base
    packages for different port versions that will depend on different
    versions of base packages. Then all will be just a package and there
    will be no "coherent FreeBSD base" anymore right? Then 14-RELEASE will
    hit end-of-lie and people will be _forced_ to switch to 15-RELEASE or
    move away to different BSD. This sounds like FreeBSD is going full
    Linux :-(
    It's bad form to quote a large paragraph without summarizing, but this
    is so unhinged I couldn't figure out what to cut. It's completely off
    the wall, starting with the use of rCLuserlandrCY, a well-established term meaning rCLcode that isn't part of the kernelrCY, to mean... something else that I can't quite figure out. But also, there is nothing circular at
    all about ports depending on base. That's the way it's always been,
    even if we didn't explicitly record it in package metadata (apart from
    the shlib login in recent versions of pkg).
    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Christos Chatzaras@chris@cretaforce.gr to muc.lists.freebsd.stable on Fri Aug 8 16:05:08 2025
    From Newsgroup: muc.lists.freebsd.stable


    --Apple-Mail=_539E53A8-AE99-44BF-B144-DF5819BC2486
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
    charset=us-ascii



    On 8 Aug 2025, at 04:20, vermaden <vermaden@interia.pl> wrote:
    =20
    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE =
    concept - besides 'kinda working' - does not holds to the POLA principle =
    at all - and if anyone will chose to use PKGBASE instead of 'classic' =
    install the 'pkg delete -af' will not only delete all the third party = packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... =
    this is not unacceptable to say the least.
    =20
    My 'vote' here does not changed.
    =20
    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg
    =20
    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase
    =20
    Its literally the same 'separation' as the Base System for binaries:
    - /bin
    - /usr/bin
    - /sbin
    - /usr/sbin
    =20
    And /usr/local PREFIX for third party packages as:
    - /usr/local/bin
    - /usr/local/sbin
    =20
    Regards,
    vermaden

    I support the pkgbase approach and agree with the proposed separation.=

    --Apple-Mail=_539E53A8-AE99-44BF-B144-DF5819BC2486
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html;
    charset=us-ascii

    <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;"><br = id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote = type=3D"cite"><div>On 8 Aug 2025, at 04:20, vermaden = &lt;vermaden@interia.pl&gt; wrote:</div><br = class=3D"Apple-interchange-newline"><div><div>OK, Colin Percival just = announced 15.0-PRERELEASE - yet the PKGBASE concept - besides 'kinda =
    working' - does not holds to the POLA principle at all - and if anyone =
    will chose to use PKGBASE instead of 'classic' install the 'pkg delete =
    -af' will not only delete all the third party packages but will also =
    WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable =
    to say the least.<br><br>My 'vote' here does not changed.<br><br>Lets =
    keep pkg(8) for third party packages with:<br>- /etc/pkg<br>- = /usr/local/etc/pkg<br>- /var/db/pkg<br><br>Lets have pkgbase(8) for =
    FreeBSD Base System PKGBASE with:<br>- /etc/pkgbase<br>- = /usr/local/etc/pkgbase<br>- /var/db/pkgbase<br><br>Its literally the =
    same 'separation' as the Base System for binaries:<br>- /bin<br>- = /usr/bin<br>- /sbin<br>- /usr/sbin<br><br>And /usr/local PREFIX for =
    third party packages as:<br>- /usr/local/bin<br>- = /usr/local/sbin<br><br>Regards,<br>vermaden<br></div></div></blockquote><b= r></div><div><p class=3D"p1">I support the pkgbase approach and agree =
    with the proposed separation.</p></div></body></html>=

    --Apple-Mail=_539E53A8-AE99-44BF-B144-DF5819BC2486--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?UTF-8?Q?Yves_Gu=C3=A9rin?=@yvesguerin@yahoo.ca to muc.lists.freebsd.stable on Fri Aug 8 13:32:40 2025
    From Newsgroup: muc.lists.freebsd.stable

    ------=_Part_509706_959573590.1754659960112
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    Dear,
    In fact the idea is great but I think that pkgbase is too similare as pkg a=
    nd prompt to mistake.
    I like the FreeBSD-setup or something like this
    Regards,
    Yves Guerin=20

    Le vendredi 8 ao=C3=BBt 2025 =C3=A0 09:06:52 UTC=E2=88=924, Christos Ch= atzaras <chris@cretaforce.gr> a =C3=A9crit : =20
    =20
    =20


    On 8 Aug 2025, at 04:20, vermaden <vermaden@interia.pl> wrote:
    OK, Colin Percival just announced 15.0-PRERELEASE - yet the PKGBASE concept=
    - besides 'kinda working' - does not holds to the POLA principle at all - = and if anyone will chose to use PKGBASE instead of 'classic' install the 'p=
    kg delete -af' will not only delete all the third party packages but will a= lso WIPE almost ENTIRE BASE SYSTEM of FreeBSD ... this is not unacceptable =
    to say the least.

    My 'vote' here does not changed.

    Lets keep pkg(8) for third party packages with:
    - /etc/pkg
    - /usr/local/etc/pkg
    - /var/db/pkg

    Lets have pkgbase(8) for FreeBSD Base System PKGBASE with:
    - /etc/pkgbase
    - /usr/local/etc/pkgbase
    - /var/db/pkgbase

    Its literally the same 'separation' as the Base System for binaries:
    - /bin
    - /usr/bin
    - /sbin
    - /usr/sbin

    And /usr/local PREFIX for third party packages as:
    - /usr/local/bin
    - /usr/local/sbin

    Regards,
    vermaden



    I support the pkgbase approach and agree with the proposed separation.
    =20
    ------=_Part_509706_959573590.1754659960112
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    <html><head></head><body><div class=3D"ydpcc8f391fyahoo-style-wrap" style= =3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px= ;"><div><div dir=3D"ltr" data-setdir=3D"false">Dear,</div><div dir=3D"ltr" = data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">In f= act the idea is great but I think that pkgbase is too similare as pkg and p= rompt to mistake.</div><div dir=3D"ltr" data-setdir=3D"false"><br></div><di=
    v dir=3D"ltr" data-setdir=3D"false">I like the FreeBSD-setup or something l= ike this</div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"= ltr" data-setdir=3D"false">Regards,</div><div><br></div><div class=3D"ydpcc= 8f391fsignature">Yves Guerin</div></div>
    <div><br></div><div><br></div>
    =20
    </div><div id=3D"yahoo_quoted_5005976090" class=3D"yahoo_quoted">
    <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s= ans-serif;font-size:13px;color:#26282a;">
    =20
    <div>
    Le vendredi 8 ao=C3=BBt 2025 =C3=A0 09:06:52 UTC=E2= =88=924, Christos Chatzaras &lt;chris@cretaforce.gr&gt; a =C3=A9crit :
    </div>
    <div><br></div>
    <div><br></div>
    =20
    =20
    <div><div id=3D"yiv0089243424"><div><br clear=3D"none" id= =3D"yiv0089243424lineBreakAtBeginningOfMessage"><div><br clear=3D"none"><bl= ockquote type=3D"cite"><div id=3D"yiv0089243424yqtfd93671" class=3D"yiv0089= 243424yqt7016076354"><div>On 8 Aug 2025, at 04:20, vermaden &lt;vermaden@in= teria.pl&gt; wrote:</div><br clear=3D"none" class=3D"yiv0089243424Apple-int= erchange-newline"></div><div><div><div id=3D"yiv0089243424yqtfd05204" class= =3D"yiv0089243424yqt7016076354">OK, Colin Percival just announced 15.0-PRER= ELEASE - yet the PKGBASE concept - besides 'kinda working' - does not holds=
    to the POLA principle at all - and if anyone will chose to use PKGBASE ins= tead of 'classic' install the 'pkg delete -af' will not only delete all the=
    third party packages but will also WIPE almost ENTIRE BASE SYSTEM of FreeB=
    SD ... this is not unacceptable to say the least.<br clear=3D"none"><br cle= ar=3D"none">My 'vote' here does not changed.<br clear=3D"none"><br clear=3D= "none">Lets keep pkg(8) for third party packages with:<br clear=3D"none">- = /etc/pkg<br clear=3D"none">- /usr/local/etc/pkg<br clear=3D"none">- /var/db= /pkg<br clear=3D"none"><br clear=3D"none">Lets have pkgbase(8) for FreeBSD = Base System PKGBASE with:<br clear=3D"none">- /etc/pkgbase<br clear=3D"none= ">- /usr/local/etc/pkgbase<br clear=3D"none">- /var/db/pkgbase<br clear=3D"= none"><br clear=3D"none">Its literally the same 'separation' as the Base Sy= stem for binaries:<br clear=3D"none">- /bin<br clear=3D"none">- /usr/bin<br=
    clear=3D"none">- /sbin<br clear=3D"none">- /usr/sbin<br clear=3D"none"><br=
    clear=3D"none">And /usr/local PREFIX for third party packages as:<br clear= =3D"none">- /usr/local/bin<br clear=3D"none">- /usr/local/sbin<br clear=3D"= none"><br clear=3D"none">Regards,<br clear=3D"none">vermaden</div><br clear= =3D"none"></div></div></blockquote><br clear=3D"none"></div><div><p class= =3D"yiv0089243424p1">I support the pkgbase approach and agree with the prop= osed separation.</p></div></div></div></div>
    </div>
    </div></body></html>
    ------=_Part_509706_959573590.1754659960112--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Tomek CEDRO@tomek@cedro.info to muc.lists.freebsd.stable on Fri Aug 8 15:33:06 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Fri, Aug 8, 2025 at 2:30rC>PM Dag-Erling Sm|+rgrav <des@freebsd.org> wrote:

    Tomek CEDRO <tomek@cedro.info> writes:
    Not really. So far "the FreeBSD standard" kept things "similar" for
    over 30 years. If we traveled back/forward in time we would still use
    the same approach to configure and run stuff. Maybe except pkg-add was replaced with pkg, but still all locations are the same, configuration files format, ports build, etc.

    I'm sorry but that's pure fantasy. In the last 30 years, we've switched
    our init system twice, the main system configuration moved from /etc/sysconfig to /etc/rc.conf, and we later added /etc/rc.conf.d and per-service subdirectories. The ports tree is also completely different
    from what it was 15 years ago, let alone 30: we've switched to staged, unprivileged builds, we've added USES and FLAVOR, we switched the
    primary identifier from the origin to PKGNAME, we switched to pkg (which
    is a much bigger change than you seem to realize)... If anything, the separation between base and ports is stronger now than ever, because we
    used to allow ports to install files outside of ${LOCALBASE} and even
    replace parts of the base system.
    Yes, but from user perspective these changes were easy to adapt to :-)
    Packaged base has been in the works for a decade and it's going in.
    There are rough edges, but we'll sort them out and the end result will
    be much, much easier to manage for everybody than what we have now. By
    the time FreeBSD 16.0 comes around, it will be second nature, and you
    will have a hard time remembering what the fuss was all about.
    Looks like 15 will be a "great adventure", that just started with a
    pre-release and early testing feedback. I hope it turns out well in
    the end, as planned, I believe you know what you are doing, I really
    keep my fingers crossed, good luck guys :-)
    Maybe its just worth considering putting EOL to 14 after 16.1 is out? :-P
    [...] packages installed from ports might depend on packages from
    the base system [...]
    This statement is extremely dangerous. It touches clue of this
    discussion. It seems to reveal planning to totally break current
    FreeBSD design / architecture? So far "base" could work without
    "userland", provided consistent, coherent, and predictable working environment. Everyone had the same set of "base" tools where
    "userland" could be built on top, so every system could be different
    but had exactly the same base. I can see that "base" will not be
    coherent for everyone anymore. If ports start depending on base
    packages then circular dependencies will arise and this will be a Linux-like-mess, because there could be different versions of base
    packages for different port versions that will depend on different
    versions of base packages. Then all will be just a package and there
    will be no "coherent FreeBSD base" anymore right? Then 14-RELEASE will
    hit end-of-lie and people will be _forced_ to switch to 15-RELEASE or
    move away to different BSD. This sounds like FreeBSD is going full
    Linux :-(

    It's bad form to quote a large paragraph without summarizing, but this
    is so unhinged I couldn't figure out what to cut. It's completely off
    the wall, starting with the use of rCLuserlandrCY, a well-established term meaning rCLcode that isn't part of the kernelrCY, to mean... something else that I can't quite figure out. But also, there is nothing circular at
    all about ports depending on base. That's the way it's always been,
    even if we didn't explicitly record it in package metadata (apart from
    the shlib login in recent versions of pkg).
    Its just fear, outlined by a speculation, sure, we don't know how this
    story ends, but this fear is shared and expressed here by many folks,
    that FreeBSD may turn into Linux, a place where lots of us been and
    never want to come back, not to mention any commercial closed source
    OS :-)
    Maybe a (wiki?) reference page with clear outline of benefits, goals, identified problems, and todos would cut all those speculations?
    Thanks! :-)
    Tomek
    ps/2: will this pkgbase allow running 15/16 on 2MB Flash and 8MB RAM router? :D --
    CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From David Chisnall@theraven@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 14:56:18 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 8 Aug 2025, at 14:42, Dag-Erling Sm|+rgrav <des@FreeBSD.org> wrote:

    Tomek CEDRO <tomek@cedro.info> writes:
    [...] from user perspective these changes were easy to adapt to :-)

    So will this one.
    LetrCOs remember the thing that started this entire thread: `pkg delete -af` This is an *incredibly* stupid thing to do. Long before pkg came along, I did the equivalent of this and managed to lock myself out of a headless box by doing this because I forgot that I was using the ports version of openssh instead of the base one.
    There are lots of other ways that deleting all packages will break your system. This is why `pkg delete` *shows you a list of packages that it will delete*, whether you specify `-a` or a single package.
    If you add `-f`, you are explicitly saying rCyI know what I am doing, I donrCOt need to see the list of packages, I know exactly what is happeningrCO.
    To all of the people worrying about this: In the decade since pkg was introduced, how many times have you *ever* run `pkg delete -af`? My guess, for 99% of users, the answer is zero. ItrCOs like running rm -rf without checking whatrCOs in a directory first.
    This entire long thread is because someone did a large destructive operation, using a tool that defaults to telling them in detail what it will do and giving them a chance to stop, and intentionally put the tool in the mode where it didnrCOt do that.
    If thatrCOs the most likely way of accidentally breaking a FreeBSD system, werCOre in an amazing position. I doubt itrCOs even in the top 100.
    David
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From David Chisnall@theraven@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 15:20:40 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 8 Aug 2025, at 15:02, Santiago Martinez <sm@codenetworks.net> wrote:

    Hi David, I see your point.

    For me, no pkg command (upgrade / install : delete / lock) should act on base without the user explicitly targeting base.
    Why?
    This is the same we have today. No extra complexity or confusion, actually it is quite simple , if you want to touch your base system just explicitly targeting it ( what we do today with FreeBSD-update)
    What is the reason that you would want to install updates for packages built by ports and *not* want to install updates to the base system?
    Currently, you need to do these separately because they are managed by two separate tools, but thatrCOs an accident. It was never a deliberate usability choice to have different ways of updating different parts of the system. Fixing this is one of the goals of pkgbase.
    Regarding the non-base package dependencies with base, it will be also the same as today. If this is something we are looking to get rid of then is a different situation.
    Fixing this is one of the benefits of pkgbase: there is a single upgrade command, unless you explicitly restrict what it is updating (via -r) then it will upgrade everything that is out of date.
    Nothing stops the user from upgrading base (target base) then upgrading the rest. Or to have a target that is rCLallrCY.
    This is still possible with pkgbase. If you want to stage things, simply use the `-r` flag. But when do you *actively want* that?
    I think most of the FreeBSD user like the separation of base and non base and the current status seems to get rid of it. Hence some of us are putting attention to it ( maybe too much)
    This is a gross mischaracterisation driven by VermadenrCOs love of hyperbole. No one is removing the distinction between the base system and ports. The base system remains:
    - The thing installed in /, not in /usr/local (or whatever else you put in $LOCALBASE when you build the ports).
    - A uniform set of things maintained by the project.
    - The set of things with stable ABI guarantees during a major release.
    - A self-contained set of things with no external dependencies.
    - A set of things with a support lifecycle maintained by the FreeBSD Release Engineering team.
    Every single one of these properties (and probably others I havenrCOt thought of) are preserved. The only difference is that upgrades are simpler because I have a uniform tool that manages all of the things that the FreeBSD project distributes (and other things that other people distribute as package repos).
    Every upgrade flow I have on every FreeBSD machine I use is simplified by pkgbase. Having fewer tools is a usability win. Having a single command upgrade everything is a usability win. If you *want to* upgrade only some things, thatrCOs one extra command-line flag.
    David
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From DutchDaemon - FreeBSD Forums Administrator@DutchDaemon@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 16:59:54 2025
    From Newsgroup: muc.lists.freebsd.stable

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------1KhzJHg0mGhzitL8EKMnDIPR
    Content-Type: multipart/mixed; boundary="------------vJCI1oR4sRvLzRc45ftqoHVf";
    protected-headers="v1"
    From: DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org>
    To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
    Cc: freebsd-current@freebsd.org, freebsd-pkgbase@freebsd.org
    Message-ID: <81470e1f-5a91-453b-a1aa-20a7e9fb8855@FreeBSD.org>
    Subject: Re: PKGBASE Removes FreeBSD Base System Feature
    References: <79429D6B-7948-4D27-9F14-664CC075547A@FreeBSD.org>
    <EA7F6AC8-CCFF-4F59-AD51-57AED93E5A23@codenetworks.net>
    <7D0CD326-0CB0-41F0-99C2-BFEB9F4DC1EA@FreeBSD.org>
    In-Reply-To: <7D0CD326-0CB0-41F0-99C2-BFEB9F4DC1EA@FreeBSD.org>

    --------------vJCI1oR4sRvLzRc45ftqoHVf
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOC84LzIwMjUgNDoyMCBQTSwgRGF2aWQgQ2hpc25hbGwgd3JvdGU6DQo+IEV2ZXJ5IHVw Z3JhZGUgZmxvdyBJIGhhdmUgb24gZXZlcnkgRnJlZUJTRCBtYWNoaW5lIEkgdXNlIGlzIHNp bXBsaWZpZWQgYnkgcGtnYmFzZS4gIEhhdmluZyBmZXdlciB0b29scyBpcyBhIHVzYWJpbGl0 eSB3aW4uICBIYXZpbmcgYSBzaW5nbGUgY29tbWFuZCB1cGdyYWRlIGV2ZXJ5dGhpbmcgaXMg YSB1c2FiaWxpdHkgd2luLiAgSWYgeW91KndhbnQgdG8qIHVwZ3JhZGUgb25seSBzb21lIHRo aW5ncywgdGhhdOKAmXMgb25lIGV4dHJhIGNvbW1hbmQtbGluZSBmbGFnLg0KSnVzdCB0byBj bGFyaWZ5IHRoaW5ncyBmcm9tIGFuIGludmVyc2UgcGVyc3BlY3RpdmU6IGluIGEgcGtnYmFz ZSANCnNjZW5hcmlvLCBob3cgd291bGQgb25lIGdvIGFib3V0IGRlbGV0aW5nIGFsbCBwb3J0 cywgYW5kIG9ubHkgcG9ydHM/IA0KV2hhdCB3b3VsZCB0aGUgbmV3IHBrZyBjb21tYW5kIGJl
    Pw0K

    --------------vJCI1oR4sRvLzRc45ftqoHVf--

    --------------1KhzJHg0mGhzitL8EKMnDIPR
    Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature
    Content-Disposition: attachment; filename="OpenPGP_signature.asc"

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQSDIpfQllw48uFsWk/r4FMJZEPckQUCaJYQ6wUDAAAAAAAKCRDr4FMJZEPckVBM AP9N+j84mm0JJNpKeqLVGn1UI1Ve1ebr5rP09fEeVbqiTQEAzOFIdTFHrdaQTuPMMt4JV7Rx+1fV 9zcvb36pksb4lQw=
    =E07D
    -----END PGP SIGNATURE-----

    --------------1KhzJHg0mGhzitL8EKMnDIPR--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Fri Aug 8 17:03:41 2025
    From Newsgroup: muc.lists.freebsd.stable

    Current 'vital' thing does NOTHING to protect FreeBSD Base System.
    I literally just wiped one of my Jails because of this 'vital' protection.
    That 'vital' thing is useless in current state after issuing this command:
    # pkg delete -af
    Log below.
    Unbootable and unusable FreeBSD left after the command that only removed packages without PKGBASE and with PKGBASE you are left with dust.
    Even /rescue is gone.
    root@bsdinstalljail:/ # pkg info
    FreeBSD-acct-14.1p1 System Accounting Utilities FreeBSD-acct-man-14.1 System Accounting Utilities (Manual Pages) FreeBSD-acpi-14.1 ACPI Utilities
    (...)
    FreeBSD-zfs-dev-14.1p1 ZFS Libraries and Utilities (Development Files) FreeBSD-zfs-man-14.1 ZFS Libraries and Utilities (Manual Pages) FreeBSD-zoneinfo-14.1p7 zoneinfo package
    beadm-1.3.5_1 Solaris-like utility to manage Boot Environments on ZFS
    pkg-2.2.1 Package manager
    root@bsdinstalljail:/ # pkg delete -af
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 271 packages (of 0 packages in the universe):
    Installed packages to be REMOVED:
    FreeBSD-acct: 14.1p1
    FreeBSD-acct-man: 14.1
    FreeBSD-acpi: 14.1
    (...)
    [bsdinstalljail.lab.org] [268/271] Deleting files for FreeBSD-zfs-man-14.1: 100%
    [bsdinstalljail.lab.org] [269/271] Deinstalling FreeBSD-zoneinfo-14.1p7... [bsdinstalljail.lab.org] [269/271] Deleting files for FreeBSD-zoneinfo-14.1p7: 100%
    [bsdinstalljail.lab.org] [270/271] Deinstalling beadm-1.3.5_1... [bsdinstalljail.lab.org] [270/271] Deleting files for beadm-1.3.5_1: 100% [bsdinstalljail.lab.org] [271/271] Deinstalling pkg-2.2.1... [bsdinstalljail.lab.org] [271/271] Deleting files for pkg-2.2.1: 100%
    pkg: Cannot runscript POST-DEINSTALL:No such file or directory
    You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
    root@bsdinstalljail:/ # ls
    /bin/sh: ls: not found
    root@bsdinstalljail:/ # vi
    /bin/sh: vi: not found
    root@bsdinstalljail:/ # pkg
    /bin/sh: pkg: not found
    root@bsdinstalljail:/ # pkg-static
    /bin/sh: pkg-static: not found
    root@bsdinstalljail:/ # reboot
    /bin/sh: reboot: not found
    root@bsdinstalljail:/ # goodbye
    /bin/sh: goodbye: not found
    root@bsdinstalljail:/ # /rescue/ls /rescue
    /bin/sh: /rescue/ls: not found
    root@bsdinstalljail:/ # /rescue/ls.pkgsave /rescue
    rescue: ls.pkgsave not compiled in
    usage: rescue <prog> <args> ..., where <prog> is one of:
    cat chflags chio chmod cp date dd df echo ed red expr getfacl hostname kenv
    kill ln link ls mkdir mv pkill pgrep ps pwd realpath rm unlink rmdir setfacl
    sh -sh sleep stty sync test [ csh -csh tcsh -tcsh camcontrol clri devfs dmesg
    dump rdump dumpfs dumpon fsck fsck_ffs fsck_4.2bsd fsck_ufs fsck_msdosfs fsdb
    fsirand gbde geom glabel gpart ifconfig init kldconfig kldload kldstat
    kldunload ldconfig md5 mdconfig mdmfs mknod mount mount_cd9660 mount_msdosfs
    mount_nfs mount_nullfs mount_udf mount_unionfs newfs newfs_msdos nos-tun
    reboot fastboot halt fasthalt restore rrestore rcorder route savecore shutdown
    poweroff swapon sysctl tunefs umount ccdconfig ping ping6 rtsol ipf routed
    rtquery bectl zfs zpool bsdlabel disklabel fdisk dhclient head mt sed tail tee
    gzip gunzip gzcat zcat bzip2 bunzip2 bzcat less more xz unxz lzma unlzma xzcat
    lzcat zstd unzstd zstdcat zstdmt fetch tar nc vi ex id groups whoami iscsictl
    zdb chroot chown chgrp iscsid rescue
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-08 10:31
    Nadawca: "Dag-Erling Sm|+rgrav" &lt;des@FreeBSD.org>
    Adresat: sthaug@nethelp.no;
    DW: freebsd-current@freebsd.org; freebsd-stable@freebsd.org;

    sthaug@nethelp.no writes:
    - It's important to have a clean separation between the base system
    (whether that is installed using the package system or not) and the
    rest. An easy way to list "these are the base system packages" is
    absolutely needed.

    You can easily create an alias for this:

    pkg query -e '%o = base' %n

    If you want something closer to `pkg info`, try:

    pkg query -e '%o = base' '%n-%v %c' | column -tl 2

    - Maybe there should be an extra step if you try to delete packages
    from the base system?

    There already is:

    % sudo pkg delete FreeBSD-clibs
    Checking integrity... done (0 conflicting)
    The following package(s) are locked or vital and may not be
    removed:

    FreeBSD-clibs

    1 packages requested for removal: 1 locked, 0 missing

    The only matter that remains to be settled is which packages should be
    marked vital:

    % pkg query -e '%V = 1' %n
    FreeBSD-clibs
    FreeBSD-runtime

    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From DutchDaemon - FreeBSD Forums Administrator@DutchDaemon@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 17:06:56 2025
    From Newsgroup: muc.lists.freebsd.stable

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------NP0wy94pfYQk2Oi1l0xreIpl
    Content-Type: multipart/mixed; boundary="------------kYp9CgOLynOW3TfT2hDV033u";
    protected-headers="v1"
    From: DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org>
    To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
    Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>,
    freebsd-pkgbase@freebsd.org
    Message-ID: <c562fc39-8f3b-4e16-8535-80eee9657765@FreeBSD.org>
    Subject: Re: PKGBASE Removes FreeBSD Base System Feature
    References: <zxdjhwcktnktdqzisgzy@qkoz>
    <FD0B239A-7DE4-4588-840E-C31FBBECBBEF@submonkey.net>
    <pecwwvnjxkiaplcpxkph@fpas>
    <DA41BBC2-6AD6-44FC-8C0A-213D63DBFF15@ketas.si.pri.ee>
    <ckjuzadqerchrokhlejz@pkwi>
    <ffd818ae-9922-413f-b8d8-acb7af51f865@freebsd.org>
    <CAFYkXjkKMpuJqZkt_x_kpFhMi2kSbJN1ydGK6y9JQeCXpX=MAQ@mail.gmail.com>
    <864iui3si5.fsf@ltc.des.dev>
    <CAFYkXjkf2NVQfv9_L=81bzK5ASxRzrfs4Jn9Jg2D0GxWUqTT2g@mail.gmail.com>
    <86pld62alk.fsf@ltc.des.dev>
    <0CC405ED-BCFC-41AD-A487-5261421BF8A6@FreeBSD.org>
    <BA8BBB0A-2FD8-43C2-B405-20FE136CD04D@FreeBSD.org>
    In-Reply-To: <BA8BBB0A-2FD8-43C2-B405-20FE136CD04D@FreeBSD.org>

    --------------kYp9CgOLynOW3TfT2hDV033u
    Content-Type: multipart/alternative;
    boundary="------------X0LBS8W6e7tF2Wqc5if5U79S"

    --------------X0LBS8W6e7tF2Wqc5if5U79S
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOC84LzIwMjUgNTowMCBQTSwgRGltaXRyeSBBbmRyaWMgd3JvdGU6DQo+IEknbSBvbmUg b2YgdGhlIHBlb3BsZSB0aGF0IHJlZ3VsYXJseSBydW5zIGBwa2cgZGVsZXRlIC1hZmAsIGV2 ZW4gd2l0aCBgLXlgIGFkZGVkLiA6KSAgVGhhdCBzYWlkLCBJIG9ubHkgdXNlIHRoaXMgd2hl biBJIGhhdmUgY29tcGxldGVseSByZWJ1aWx0IGEgcG9ydHMgY29sbGVjdGlvbiB3aXRoIHBv dWRyaWVyZSBhZ2FpbnN0IGEgbmV3ZXIgYmFzZSBqYWlsLCBhbmQgdGhlbiBJJ2QgbGlrZSB0 byBzdGFydCBjb21wbGV0ZWx5IGZyb20gc2NyYXRjaCB3aXRoIGZyZXNobHkgaW5zdGFsbGVk IHBhY2thZ2VzLiBUaGlzIGFsc28gY2xlYXJzIG91dCBhbnkgdW5uZWNlc3Nhcnkgbm9uLWxl YWYgcGFja2FnZXMgdGhlcmUgd2VyZSBwdWxsZWQgaW4gYnkgYSBwcmV2aW91cyBwYWNrYWdl IGJ1aWxkLg0KPg0KPiBPYnZpb3VzbHkgdGhhdCBpcyBhbiBvdXRsaWVyIHNjZW5hcmlvIQ0K DQoNCk5vLCBpdCBpc24ndCwgSSBkbyB0aGUgc2FtZSB0aGluZ3Mgd2l0aCBQb3VkcmllcmUu DQoNCkFuZCBldmVyeSBzbyBvZnRlbiwgd2hlbiB0aGVyZSBoYXZlIGJlZW4gYSBsb3Qgb2Yg ZGV2ZWxvcG1lbnRzIA0KKGFkZGl0aW9ucy9kZWxldGlvbnMgb2YgcGFja2FnZXMsIHRyeS1v dXRzLCBldGMuKSBvbiBhIHNlcnZlciwgdGhpbmdzIA0KY2FuIGdldCBhIGJpdCBtdWRkeS4N Cg0KRGVpbnN0YWxsaW5nIGFsbCBwb3J0cyBhbmQgaW5zdGFsbGluZyBvbmx5IHRoZSBvbmVz IHlvdSBhY3R1YWxseSBuZWVkIA0KZnJvbSB0aGVuIG9uIGlzIGEgKC9zbyBmYXIvKSB0cnVz dGVkIHNvbHV0aW9uIGZvciBob3VzZWtlZXBpbmcuDQoNCg== --------------X0LBS8W6e7tF2Wqc5if5U79S
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=

    </head>
    <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <div class=3D"moz-cite-prefix">On 8/8/2025 5:00 PM, Dimitry Andric
    wrote:<span style=3D"white-space: pre-wrap">
    </span></div>
    <blockquote type=3D"cite"
    cite=3D"mid:BA8BBB0A-2FD8-43C2-B405-20FE136CD04D@FreeBSD.org">
    <pre wrap=3D"" class=3D"moz-quote-pre">
    I'm one of the people that regularly runs `pkg delete -af`, even with `-y=
    ` added. :) That said, I only use this when I have completely rebuilt a = ports collection with poudriere against a newer base jail, and then I'd l=
    ike to start completely from scratch with freshly installed packages. Thi=
    s also clears out any unnecessary non-leaf packages there were pulled in =
    by a previous package build.

    Obviously that is an outlier scenario! </pre>
    </blockquote>
    <p><br>
    </p>
    <p>No, it isn't, I do the same things with Poudriere.=C2=A0</p>
    <p>And every so often, when there have been a lot of developments
    (additions/deletions of packages, try-outs, etc.) on a server,
    things can get a bit muddy.=C2=A0</p>
    <p>Deinstalling all ports and installing only the ones you actually
    need from then on is a (<i>so far</i>) trusted solution for
    housekeeping.</p>
    </body>
    </html>

    --------------X0LBS8W6e7tF2Wqc5if5U79S--

    --------------kYp9CgOLynOW3TfT2hDV033u--

    --------------NP0wy94pfYQk2Oi1l0xreIpl
    Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature
    Content-Disposition: attachment; filename="OpenPGP_signature.asc"

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQSDIpfQllw48uFsWk/r4FMJZEPckQUCaJYSkAUDAAAAAAAKCRDr4FMJZEPckVeX AP4xJFbHDy0O081eOxwDmRhXUmg8AUIKPvCOXRhZJ4FUlQEAhTnydMQyf68lyeLN9p+N6JiGi9Xh 2GQ4v4mVXlJiuA8=
    =k3Al
    -----END PGP SIGNATURE-----

    --------------NP0wy94pfYQk2Oi1l0xreIpl--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Brandon Allbery@allbery.b@gmail.com to muc.lists.freebsd.stable on Fri Aug 8 11:12:45 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000053a430063bdc02c2
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    On Fri, Aug 8, 2025 at 10:54=E2=80=AFAM Karl Denninger <karl@denninger.net>=
    wrote:

    On 8/8/2025 10:48 AM, Daniel Morante wrote:

    I'm from the group of people that believes if you ask a computer to do something, no matter what that thing is (even if it's destructive and dangerous) the computer should do it. There is nothing that I hate more
    than someone else deciding what I can and can not do with my computer. FreeBSD is one of the few remaining operating systems that retains this freedom.

    The problem isn't the action of deleting all your base packages. The
    problem is the fact that this was designed in such a way where we are
    having this conversation.


    IMO these two paragraphs contradict each other. You (or someone) asked it
    to delete everything forcibly without confirmation, it did so. That it
    removed more than they expected=E2=80=A6 okay, was a surprise, but it's als=
    o a risk
    of asking it to do something dangerous. Checking first isn't a POLA, it's something you should expect to do when doing something dangerous like `rm
    -rf` or `pkg delete -af`.

    --=20
    brandon s allbery kf8nh
    allbery.b@gmail.com

    --00000000000053a430063bdc02c2
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div dir=3D"ltr">On Fri, Aug 8, 2025 at 10:54=E2=80=AFAM K= arl Denninger &lt;<a href=3D"mailto:karl@denninger.net">karl@denninger.net<= /a>&gt; wrote:</div><div class=3D"gmail_quote gmail_quote_container"><block= quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
    px solid rgb(204,204,204);padding-left:1ex"><u></u>

    =20
    =20
    =20
    <div>
    <div>On 8/8/2025 10:48 AM, Daniel Morante
    wrote:<br>
    </div>
    <blockquote type=3D"cite">
    I&#39;m from the group of people that believes if you ask a computer
    to do something, no matter what that thing is (even if it&#39;s
    destructive and dangerous) the computer should do it.=C2=A0 There is
    nothing that I hate more than someone else deciding what I can and
    can not do with my computer.=C2=A0 FreeBSD is one of the few remainin=
    g
    operating systems that retains this freedom.
    <br>
    <br>
    The problem isn&#39;t the action of deleting all your base packages.
    The problem is the fact that this was designed in such a way where
    we are having this conversation.</blockquote></div></blockquote><div>= <br></div><div>IMO these two paragraphs contradict each other. You (or some= one) asked it to delete everything forcibly without confirmation, it did so=
    . That it removed more than they expected=E2=80=A6 okay, was a surprise, bu=
    t it&#39;s also a risk of asking it to do something dangerous. Checking fir=
    st isn&#39;t a POLA, it&#39;s something you should expect to do when doing = something dangerous like `rm -rf` or `pkg delete -af`.</div></div><div><br>= </div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr"=
    class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>bran= don s allbery kf8nh</div><div><a href=3D"mailto:allbery.b@gmail.com" target= =3D"_blank">allbery.b@gmail.com</a></div></div></div></div></div></div>

    --00000000000053a430063bdc02c2--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From DutchDaemon - FreeBSD Forums Administrator@DutchDaemon@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 17:23:41 2025
    From Newsgroup: muc.lists.freebsd.stable

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------3i7a6LoVu0OMH3Ud9nNC8eFt
    Content-Type: multipart/mixed; boundary="------------QJnsG2iUv6758t2grMnFXSSx";
    protected-headers="v1"
    From: DutchDaemon - FreeBSD Forums Administrator <DutchDaemon@FreeBSD.org>
    To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
    Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, freebsd-pkgbase@freebsd.org Message-ID: <ff8d932c-b386-4d52-b4f9-4f5a47fa0cb2@FreeBSD.org>
    Subject: Re: PKGBASE Removes FreeBSD Base System Feature
    References: <79429D6B-7948-4D27-9F14-664CC075547A@FreeBSD.org>
    <EA7F6AC8-CCFF-4F59-AD51-57AED93E5A23@codenetworks.net>
    <7D0CD326-0CB0-41F0-99C2-BFEB9F4DC1EA@FreeBSD.org>
    <81470e1f-5a91-453b-a1aa-20a7e9fb8855@FreeBSD.org>
    <33CC4995-5B1D-4640-A5B0-2E7AD599D5BA@FreeBSD.org>
    In-Reply-To: <33CC4995-5B1D-4640-A5B0-2E7AD599D5BA@FreeBSD.org>

    --------------QJnsG2iUv6758t2grMnFXSSx
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOC84LzIwMjUgNToxNSBQTSwgRGF2aWQgQ2hpc25hbGwgd3JvdGU6DQo+IE9uIDggQXVn IDIwMjUsIGF0IDE1OjU5LCBEdXRjaERhZW1vbiAtIEZyZWVCU0QgRm9ydW1zIEFkbWluaXN0 cmF0b3IgPER1dGNoRGFlbW9uQEZyZWVCU0Qub3JnPiB3cm90ZToNCj4gSnVzdCB0byBjbGFy aWZ5IHRoaW5ncyBmcm9tIGFuIGludmVyc2UgcGVyc3BlY3RpdmU6IGluIGEgcGtnYmFzZSBz Y2VuYXJpbywgaG93IHdvdWxkIG9uZSBnbyBhYm91dCBkZWxldGluZyBhbGwgcG9ydHMsIGFu ZCBvbmx5IHBvcnRzPyBXaGF0IHdvdWxkIHRoZSBuZXcgcGtnIGNvbW1hbmQgYmU/DQoNCj4g SXQgc2hvdWxkIGJlIGBwa2cgZGVsIC1yIHtyZXBvIG5hbWV9YC4NCj4NCj4gSXQgaXMgbm90 LCBjdXJyZW50bHksIGJlY2F1c2UgKHVubGlrZSB0aGUgaW5zdGFsbCBjb21tYW5kcyksIGBw a2cgZGVsZXRlYCBkb2VzIG5vdCBhY2NlcHQgdGhlIGAtcmAgZmxhZyAocHJlc3VtYWJseSBi ZWNhdXNlIHRoZSBvbmx5IHBsYWNlIHdoZXJlIGl0IG1ha2VzIHNlbnNlIGlzIGluIGNvbmNl cnQgd2l0aCB0aGUgYC1hYCBmbGFnIGFuZCBubyBvbmUgdGhvdWdodCBvZiB0aGF0IHVzZSBj YXNlKS4NCj4NCj4gSSB0aGluayB0aGF04oCZcyBhIGJ1ZywgaXQgc2hvdWxkIHByb2JhYmx5 IGJlIGZpeGVkLiAgQW5kIG5vdyB3ZSBoYXZlIGEgbWVhbmluZ2Z1bCBhbmQgYWN0aW9uYWJs ZSByZXF1aXJlbWVudC4gIEkgaGF2ZSBmaWxlZCB0aGlzIGlzc3VlOg0KPg0KPiBodHRwczov L2dpdGh1Yi5jb20vZnJlZWJzZC9wa2cvaXNzdWVzLzI0OTQNCj4NCk9oLCBsZWF2ZSBpdCB0 byBtZSB0byBzdHVtYmxlIG92ZXIgdGhlIGJ1ZyA7KSBUaGFua3MuDQoNCklmIHRoaXMgaXMg aW5kZWVkIGEgbWF0dGVyIG9mIHRyYWluaW5nIG11c2NsZSBtZW1vcnkgdG8gdW5sZWFybiBg cGtnIA0KZGVsZXRlIC1meWAgYW5kIHN3aXRjaCB0byBgcGtnIGRlbCAtciByZXBvYCwgdGhl IHRyYW5zaXRpb24gc2hvdWxkIG5vdCANCmJlIHRvbyBwYWluZnVsLg0KDQoodHJ5aW5nIHRv IHNlZSB0aGUgdXBzaWRlKQ0KDQo=

    --------------QJnsG2iUv6758t2grMnFXSSx--

    --------------3i7a6LoVu0OMH3Ud9nNC8eFt
    Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature
    Content-Disposition: attachment; filename="OpenPGP_signature.asc"

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQSDIpfQllw48uFsWk/r4FMJZEPckQUCaJYWfQUDAAAAAAAKCRDr4FMJZEPckfP/ APsEaaivm83VopCr+PkUzsonH1nT2fOAbmkzkrAhdWR2nwEAuxoNhLjIVpLselGNIKVczo0IrFWN xYRqOKIifkSU6w0=
    =9n+M
    -----END PGP SIGNATURE-----

    --------------3i7a6LoVu0OMH3Ud9nNC8eFt--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Brandon Allbery@allbery.b@gmail.com to muc.lists.freebsd.stable on Fri Aug 8 11:44:26 2025
    From Newsgroup: muc.lists.freebsd.stable

    --00000000000091c919063bdc73f9
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    On Fri, Aug 8, 2025 at 11:30=E2=80=AFAM DutchDaemon - FreeBSD Forums Admini= strator <
    DutchDaemon@freebsd.org> wrote:

    (trying to see the upside)


    As stated earlier in the thread: embedded hardware which wants as minimal a base system as they can get away with. The flip side of the
    all-encompassing base system is that it's *big*. And grown considerably
    since the early days, making the early-days management of base a problem
    now.

    --=20
    brandon s allbery kf8nh
    allbery.b@gmail.com

    --00000000000091c919063bdc73f9
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr"><div dir=3D"ltr">On Fri, Aug 8, 2025 at 11:30=E2=80=AFAM D= utchDaemon - FreeBSD Forums Administrator &lt;<a href=3D"mailto:DutchDaemon= @freebsd.org">DutchDaemon@freebsd.org</a>&gt; wrote:</div><div class=3D"gma= il_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=3D"= margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef= t:1ex">(trying to see the upside)<br>
    </blockquote></div><div><br clear=3D"all"></div><div>As stated earlier in t=
    he thread: embedded hardware which wants as minimal a base system as they c=
    an get away with. The flip side of the all-encompassing base system is that=
    it&#39;s <i>big</i>. And grown considerably since the early days,=C2=A0mak= ing the early-days management of base a problem now.</div><div><br></div><s= pan class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class= =3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>brandon s = allbery kf8nh</div><div><a href=3D"mailto:allbery.b@gmail.com" target=3D"_b= lank">allbery.b@gmail.com</a></div></div></div></div></div></div>

    --00000000000091c919063bdc73f9--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Charles Sprickman@spork@bway.net to muc.lists.freebsd.stable on Fri Aug 8 12:09:03 2025
    From Newsgroup: muc.lists.freebsd.stable


    On Aug 8, 2025, at 11:00rC>AM, Dimitry Andric <dim@freebsd.org> wrote:

    On 8 Aug 2025, at 15:56, David Chisnall <theraven@FreeBSD.org> wrote:

    On 8 Aug 2025, at 14:42, Dag-Erling Sm|+rgrav <des@FreeBSD.org> wrote:

    Tomek CEDRO <tomek@cedro.info> writes:
    [...] from user perspective these changes were easy to adapt to :-)

    So will this one.

    LetrCOs remember the thing that started this entire thread: `pkg delete -af` >>
    This is an *incredibly* stupid thing to do. Long before pkg came along, I did the equivalent of this and managed to lock myself out of a headless box by doing this because I forgot that I was using the ports version of openssh instead of the base one.

    I'm one of the people that regularly runs `pkg delete -af`, even with `-y` added. :) That said, I only use this when I have completely rebuilt a ports collection with poudriere against a newer base jail, and then I'd like to start completely from scratch with freshly installed packages. This also clears out any unnecessary non-leaf packages there were pulled in by a previous package build.
    Yeah, this thread is frustrating because on one hand we have users saying "here's why this is bad" and developers just saying "nobody does that" to someone who is doing that. There's no way to know how many people do that, and there's nothing productive in just saying those people are "using FreeBSD wrong". It's not like the handbook is going to teach you actual systems admin skills to the point where you know the "why's" of what you're doing.
    As an analogy, imagine a house. The house is the OS. The furniture is your collection of packages. If I call a mover to empty my house because the furniture no longer fits my needs, has been around too long or something and the mover takes all my furniture out and then plants explosives around the house to make it uninhabitable, that's not great.

    Obviously that is an outlier scenario! But does pkg have a way to express "show me packages only from this particular repo", or "delete only packages from this particular repo"? That would make it easy to do "delete only the packages from ports, not from base".
    Even better, the "-af" flag simply doesn't touch base. PKGBASE is new. Adding a single flag to pkg that indicates operations are being performed on the base system, or even minimally some warnings (who's going to spot a handful of base pkgs in a list of hundreds when running even an interactive purge of all pkgs?) when the command is run, why are people against simple measures like that? I really fail to see why the people creating this new feature, which I'm sure is useful for some vendor or other funding this stuff, cannot accept that there are actual, real, normal users out there who a) don't care about PKGBASE b) believe POLA adoption in the past is what has made this OS pretty great to use and c) don't see any value in doing a base upgrade and pkg upgrade at the same time (DES mentioned this as a feature, but I have no interest in upgrading two wildly different codebases at the same time and have never wanted to do that).
    Charles

    -Dimitry


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Charles Sprickman@spork@bway.net to muc.lists.freebsd.stable on Fri Aug 8 12:12:09 2025
    From Newsgroup: muc.lists.freebsd.stable


    --Apple-Mail=_1FA4EF6F-64DA-4B49-A3DB-A973BFB01DDF
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
    charset=utf-8


    On Aug 8, 2025, at 11:44=E2=80=AFAM, Brandon Allbery =
    <allbery.b@gmail.com> wrote:
    =20
    On Fri, Aug 8, 2025 at 11:30=E2=80=AFAM DutchDaemon - FreeBSD Forums =
    Administrator <DutchDaemon@freebsd.org <mailto:DutchDaemon@freebsd.org>> = wrote:
    (trying to see the upside)
    =20
    =20
    As stated earlier in the thread: embedded hardware which wants as =
    minimal a base system as they can get away with. The flip side of the = all-encompassing base system is that it's big. And grown considerably =
    since the early days, making the early-days management of base a problem =
    now.
    =20

    I have to imagine traditional server installs, which in 2025 certainly =
    have more than enough space for base, are at least 99% of the FreeBSD = universe. Perhaps those wanting it to be something else should be the =
    ones that get "Astonished" instead of the existing users who've been on =
    this OS for decades?

    Charles

    --
    brandon s allbery kf8nh
    allbery.b@gmail.com <mailto:allbery.b@gmail.com>

    --Apple-Mail=_1FA4EF6F-64DA-4B49-A3DB-A973BFB01DDF
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html;
    charset=utf-8

    <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: = after-white-space;"><br><div><blockquote type=3D"cite"><div>On Aug 8, =
    2025, at 11:44=E2=80=AFAM, Brandon Allbery &lt;allbery.b@gmail.com&gt; = wrote:</div><br class=3D"Apple-interchange-newline"><div><div = dir=3D"ltr"><div dir=3D"ltr">On Fri, Aug 8, 2025 at 11:30=E2=80=AFAM = DutchDaemon - FreeBSD Forums Administrator &lt;<a = href=3D"mailto:DutchDaemon@freebsd.org">DutchDaemon@freebsd.org</a>&gt; = wrote:</div><div class=3D"gmail_quote gmail_quote_container"><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
    solid rgb(204,204,204);padding-left:1ex">(trying to see the upside)<br> </blockquote></div><div><br clear=3D"all"></div><div>As stated earlier =
    in the thread: embedded hardware which wants as minimal a base system as =
    they can get away with. The flip side of the all-encompassing base =
    system is that it's <i>big</i>. And grown considerably since the early = days,&nbsp;making the early-days management of base a problem = now.</div><div><br></div></div></div></blockquote><div><br></div><div>I =
    have to imagine traditional server installs, which in 2025 certainly =
    have more than enough space for base, are at least 99% of the FreeBSD = universe. Perhaps those wanting it to be something else should be the =
    ones that get "Astonished" instead of the existing users who've been on =
    this OS for =
    decades?</div><div><br></div><div>Charles</div><br><blockquote = type=3D"cite"><div><div dir=3D"ltr"><span =
    class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" = class=3D"gmail_signature"><div dir=3D"ltr"><div><div =
    dir=3D"ltr"><div>brandon s allbery kf8nh</div><div><a = href=3D"mailto:allbery.b@gmail.com" = target=3D"_blank">allbery.b@gmail.com</a></div></div></div></div></div></d=

    </div></blockquote></div><br></body></html>=

    --Apple-Mail=_1FA4EF6F-64DA-4B49-A3DB-A973BFB01DDF--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From freebsd@freebsd@oldach.net (Helge Oldach) to muc.lists.freebsd.stable on Fri Aug 8 18:19:29 2025
    From Newsgroup: muc.lists.freebsd.stable

    Brandon Allbery wrote on Fri, 08 Aug 2025 17:44:26 +0200 (CEST):
    As stated earlier in the thread: embedded hardware which wants as minimal a base system as they can get away with. The flip side of the
    all-encompassing base system is that it's *big*. And grown considerably
    since the early days, making the early-days management of base a problem
    now.

    Traditional tweaking of make.conf works almost as well. We have that
    knob for low-end gear already; I know of several users happy with that
    approach and not seeking a better (?) one.

    As long as building from source is still supported, it'll be fine.

    Kind regards
    Helge


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=@des@FreeBSD.org to muc.lists.freebsd.stable on Fri Aug 8 19:44:53 2025
    From Newsgroup: muc.lists.freebsd.stable

    vermaden <vermaden@interia.pl> writes:
    Current 'vital' thing does NOTHING to protect FreeBSD Base System.
    How much longer will it take you to learn that people stop taking you
    seriously when you scream at them?
    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Fri Aug 8 19:57:43 2025
    From Newsgroup: muc.lists.freebsd.stable

    Its not screaming its underlining important problem ...
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-08 19:48
    Nadawca: "Dag-Erling Sm|+rgrav" &lt;des@FreeBSD.org>
    Adresat: "vermaden" &lt;vermaden@interia.pl>;
    DW: "sthaug@nethelp.no" &lt;sthaug@nethelp.no>; "freebsd-current@freebsd.org" &lt;freebsd-current@freebsd.org>; "freebsd-stable@freebsd.org" &lt;freebsd-stable@freebsd.org>; freebsd-pkgbase@FreeBSD.org;

    vermaden writes:
    Current 'vital' thing does NOTHING to protect FreeBSD Base System.

    How much longer will it take you to learn that people stop taking you seriously when you scream at them?

    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rob Wing@rob.fx907@gmail.com to muc.lists.freebsd.stable on Fri Aug 8 12:37:20 2025
    From Newsgroup: muc.lists.freebsd.stable

    --0000000000006c7ef2063be08a01
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    Dag,

    mind your attitude towards our users/contributors


    vermaden was clearly not yelling so stop trying to discredit them with such accusations.

    On Friday, August 8, 2025, Dag-Erling Sm=C3=B8rgrav <des@freebsd.org> wrote=
    :

    vermaden <vermaden@interia.pl> writes:
    Current 'vital' thing does NOTHING to protect FreeBSD Base System.

    How much longer will it take you to learn that people stop taking you seriously when you scream at them?

    DES
    --
    Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



    --0000000000006c7ef2063be08a01
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div><span style=3D"font-family:UICTFontTextStyleBody;font-size:17px">Dag,<= /span><br></div><p class=3D"p2" style=3D"margin:0px;font-size:17px;line-hei= ght:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:= normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-varia= nt-east-asian:normal;font-feature-settings:normal;min-height:22px"><span cl= ass=3D"s2" style=3D"font-family:UICTFontTextStyleBody"></span></p><p class= =3D"p2" style=3D"margin:0px;font-size:17px;line-height:normal;font-size-adj= ust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-liga= tures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fon= t-feature-settings:normal;min-height:22px"><span style=3D"font-family:UICTF= ontTextStyleBody">mind your attitude towards our users/contributors</span><= br><span class=3D"s2" style=3D"font-family:UICTFontTextStyleBody"></span></= p><p class=3D"p2" style=3D"margin:0px;font-size:17px;line-height:normal;fon= t-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-va= riant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:= normal;font-feature-settings:normal;min-height:22px"><span class=3D"s2" sty= le=3D"font-family:UICTFontTextStyleBody"></span><br></p><p class=3D"p3" sty= le=3D"margin:0px;font-size:17px;line-height:normal;font-size-adjust:none;fo= nt-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:norma= l;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-s= ettings:normal"><span class=3D"s2" style=3D"font-family:UICTFontTextStyleBo= dy">vermaden was clearly not yelling so stop trying to discredit them with = such accusations.</span></p><br>On Friday, August 8, 2025, Dag-Erling Sm=C3= =B8rgrav &lt;<a href=3D"mailto:des@freebsd.org">des@freebsd.org</a>&gt; wro= te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-= left:1px #ccc solid;padding-left:1ex">vermaden &lt;<a href=3D"mailto:vermad= en@interia.pl">vermaden@interia.pl</a>&gt; writes:<br>
    &gt; Current &#39;vital&#39; thing does NOTHING to protect FreeBSD Base Sys= tem.<br>

    How much longer will it take you to learn that people stop taking you<br> seriously when you scream at them?<br>

    DES<br>
    -- <br>
    Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org<br>

    </blockquote>

    --0000000000006c7ef2063be08a01--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Brandon Allbery@allbery.b@gmail.com to muc.lists.freebsd.stable on Fri Aug 8 16:38:44 2025
    From Newsgroup: muc.lists.freebsd.stable

    --000000000000104729063be090fc
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    Maybe I should clarify that in the old days, all caps *was* considered
    yelling. Maybe things have changed since then.

    On Fri, Aug 8, 2025 at 4:37=E2=80=AFPM Rob Wing <rob.fx907@gmail.com> wrote=
    :

    Dag,

    mind your attitude towards our users/contributors


    vermaden was clearly not yelling so stop trying to discredit them with
    such accusations.

    On Friday, August 8, 2025, Dag-Erling Sm=C3=B8rgrav <des@freebsd.org> wro=
    te:

    vermaden <vermaden@interia.pl> writes:
    Current 'vital' thing does NOTHING to protect FreeBSD Base System.

    How much longer will it take you to learn that people stop taking you
    seriously when you scream at them?

    DES
    --
    Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



    --=20
    brandon s allbery kf8nh
    allbery.b@gmail.com

    --000000000000104729063be090fc
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable

    <div dir=3D"ltr">Maybe I should clarify that in the old days, all caps *was=
    * considered yelling. Maybe things have changed since then.</div><br><div c= lass=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_= attr">On Fri, Aug 8, 2025 at 4:37=E2=80=AFPM Rob Wing &lt;<a href=3D"mailto= :rob.fx907@gmail.com">rob.fx907@gmail.com</a>&gt; wrote:<br></div><blockquo=
    te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex"><div><span style=3D"font-family:UI= CTFontTextStyleBody;font-size:17px">Dag,</span><br></div><p style=3D"margin= :0px;font-size:17px;line-height:normal;font-size-adjust:none;font-kerning:a= uto;font-variant-alternates:normal;font-variant-ligatures:normal;font-varia= nt-numeric:normal;font-variant-east-asian:normal;font-feature-settings:norm= al;min-height:22px"><span style=3D"font-family:UICTFontTextStyleBody"></spa= n></p><p style=3D"margin:0px;font-size:17px;line-height:normal;font-size-ad= just:none;font-kerning:auto;font-variant-alternates:normal;font-variant-lig= atures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fo= nt-feature-settings:normal;min-height:22px"><span style=3D"font-family:UICT= FontTextStyleBody">mind your attitude towards our users/contributors</span>= <br><span style=3D"font-family:UICTFontTextStyleBody"></span></p><p style= =3D"margin:0px;font-size:17px;line-height:normal;font-size-adjust:none;font= -kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;= font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-set= tings:normal;min-height:22px"><span style=3D"font-family:UICTFontTextStyleB= ody"></span><br></p><p style=3D"margin:0px;font-size:17px;line-height:norma= l;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;fo= nt-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-a= sian:normal;font-feature-settings:normal"><span style=3D"font-family:UICTFo= ntTextStyleBody">vermaden was clearly not yelling so stop trying to discred=
    it them with such accusations.</span></p><br>On Friday, August 8, 2025, Dag= -Erling Sm=C3=B8rgrav &lt;<a href=3D"mailto:des@freebsd.org" target=3D"_bla= nk">des@freebsd.org</a>&gt; wrote:<br><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex">vermaden &lt;<a href=3D"mailto:vermaden@interia.pl" target=3D"= _blank">vermaden@interia.pl</a>&gt; writes:<br>
    &gt; Current &#39;vital&#39; thing does NOTHING to protect FreeBSD Base Sys= tem.<br>

    How much longer will it take you to learn that people stop taking you<br> seriously when you scream at them?<br>

    DES<br>
    -- <br>
    Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org<br>

    </blockquote>
    </blockquote></div><div><br clear=3D"all"></div><div><br></div><span class= =3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s= ignature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>brandon s allbery kf8= nh</div><div><a href=3D"mailto:allbery.b@gmail.com" target=3D"_blank">allbe= ry.b@gmail.com</a></div></div></div></div></div>

    --000000000000104729063be090fc--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Fri Aug 8 23:05:47 2025
    From Newsgroup: muc.lists.freebsd.stable

    --=-wxq5Omj1WeYRa/BFDnQM
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    Show me please a way to mark importance of a thing without using ALL CAPS i=
    n a plain text ...Should I use Markdown like that: *important*Should I use = Markdown like that: _important_Should I use Markdown like that: "important"= Something else instead of so called SCREAMING?Temat: Re: PKGBASE Removes Fr= eeBSD Base System FeatureData: 2025-08-08 23:03Nadawca: "Dan Langille" &lt;= dan@langille.org&gt;Adresat: "Brandon Allbery" &lt;allbery.b@gmail.com&gt;;=
    "Rob Wing" &lt;rob.fx907@gmail.com&gt;; DW: "Dag-Erling Sm=C3=B8rgrav" &lt= ;des@freebsd.org&gt;; "vermaden" &lt;vermaden@interia.pl&gt;; "sthaug" &lt;= sthaug@nethelp.no&gt;; "FreeBSD Current" &lt;freebsd-current@freebsd.org&gt=
    ;; "freebsd-stable@freebsd.org" &lt;freebsd-stable@freebsd.org&gt;; "freebs= d-pkgbase@freebsd.org" &lt;freebsd-pkgbase@freebsd.org&gt;; On Fri, Aug 8, = 2025, at 4:38 PM, Brandon Allbery wrote:Maybe I should clarify that in the = old days, all caps *was* considered yelling. Maybe things have changed sinc=
    e then.No, things have not changed. It's still considered yelling.--&nbsp; = Dan Langille&nbsp; dan@langille.org
    --=-wxq5Omj1WeYRa/BFDnQM
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w= 3.org/TR/REC-html40/loose.dtd">
    <html><body><div>Show me please a way to mark importance of a thing without=
    using ALL CAPS in a plain text ...<br><br>Should I use Markdown like that:=
    *important*<br>Should I use Markdown like that: _important_<br>Should I us=
    e Markdown like that: "important"<br><br>Something else instead of so calle=
    d SCREAMING?<br><br><br><br><br><br><div class=3D"inpl-collapsed">Temat: Re=
    : PKGBASE Removes FreeBSD Base System Feature<br>Data: 2025-08-08 23:03<br>= Nadawca: "Dan Langille" &lt;dan@langille.org&gt;<br>Adresat: "Brandon Allbe= ry" &lt;allbery.b@gmail.com&gt;; "Rob Wing" &lt;rob.fx907@gmail.com&gt;; <b= r>DW: "Dag-Erling Sm=C3=B8rgrav" &lt;des@freebsd.org&gt;; "vermaden" &lt;ve= rmaden@interia.pl&gt;; "sthaug" &lt;sthaug@nethelp.no&gt;; "FreeBSD Current=
    " &lt;freebsd-current@freebsd.org&gt;; "freebsd-stable@freebsd.org" &lt;fre= ebsd-stable@freebsd.org&gt;; "freebsd-pkgbase@freebsd.org" &lt;freebsd-pkgb= ase@freebsd.org&gt;; <br><br><br><br><blockquote style=3D"margin: 0; border= -left: 1px solid #CCC;" data-mce-style=3D"margin: 0; border-left: 1px solid=
    #CCC;"><div><div>On Fri, Aug 8, 2025, at 4:38 PM, Brandon Allbery wrote:<b= r></div><blockquote id=3D"qt"><div dir=3D"ltr">Maybe I should clarify that =
    in the old days, all caps *was* considered yelling. Maybe things have chang=
    ed since then.</div></blockquote><div><br></div><div>No, things have not ch= anged. It's still considered yelling.</div><div><br></div><div id=3D"sig650= 64480"><div class=3D"signature">--</div><div class=3D"signature">=C2=A0 Dan=
    Langille</div><div class=3D"signature">=C2=A0 dan@langille.org</div><div c= lass=3D"signature"><br></div></div><div><br></div><br><br></div></blockquot= e></div></div><style type=3D"text/css">#icselection13 {width: 100% !importa= nt; height: 100% !important; padding-top: 0px !important; overflow: visible=
    !important;}</style><style type=3D"text/css">#icselection13 {width: 100% != important; height: 100% !important; padding-top: 0px !important; overflow: = visible !important;}</style><style type=3D"text/css">#icselection13 {width:=
    100% !important; height: 100% !important; padding-top: 0px !important; ove= rflow: visible !important;}</style></body></html>

    --=-wxq5Omj1WeYRa/BFDnQM--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Sat Aug 9 00:12:30 2025
    From Newsgroup: muc.lists.freebsd.stable

    After that PKGBASE deletion I was not able to stop that 'now empty' Jail. Solution was to 'fill' it with content from ANY Jail to allow stop scripts to function.
    # rsync-delete.sh /jail/fbsdjail /jail/bsdinstalljail
    The 'rsync-delete.sh' script is here:
    - https://github.com/vermaden/scripts/blob/master/rsync-delete.sh
    After that I was able to stop it with 'typical' commands.
    Hope that helps.
    Regards,
    vermaden
    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-08 17:03
    Nadawca: "vermaden" &lt;vermaden@interia.pl>
    Adresat: "Dag-Erling Sm|+rgrav" &lt;des@FreeBSD.org>; "sthaug@nethelp.no" &lt;sthaug@nethelp.no>;
    DW: "freebsd-current@freebsd.org" &lt;freebsd-current@freebsd.org>; "freebsd-stable@freebsd.org" &lt;freebsd-stable@freebsd.org>; freebsd-pkgbase@FreeBSD.org;

    Current 'vital' thing does NOTHING to protect FreeBSD Base
    System.

    I literally just wiped one of my Jails because of this 'vital'
    protection.

    That 'vital' thing is useless in current state after issuing this
    command:

    # pkg delete -af

    Log below.

    Unbootable and unusable FreeBSD left after the command that only
    removed packages without PKGBASE and with PKGBASE you are left with dust.

    Even /rescue is gone.

    root@bsdinstalljail:/ # pkg info
    FreeBSD-acct-14.1p1 System Accounting Utilities FreeBSD-acct-man-14.1 System Accounting Utilities (Manual
    Pages)
    FreeBSD-acpi-14.1 ACPI Utilities
    (...)
    FreeBSD-zfs-dev-14.1p1 ZFS Libraries and Utilities
    (Development Files)
    FreeBSD-zfs-man-14.1 ZFS Libraries and Utilities (Manual
    Pages)
    FreeBSD-zoneinfo-14.1p7 zoneinfo package
    beadm-1.3.5_1 Solaris-like utility to manage Boot
    Environments on ZFS
    pkg-2.2.1 Package manager

    root@bsdinstalljail:/ # pkg delete -af
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 271 packages (of 0
    packages in the universe):

    Installed packages to be REMOVED:
    FreeBSD-acct: 14.1p1
    FreeBSD-acct-man: 14.1
    FreeBSD-acpi: 14.1
    (...)
    [bsdinstalljail.lab.org] [268/271] Deleting files for
    FreeBSD-zfs-man-14.1: 100%
    [bsdinstalljail.lab.org] [269/271] Deinstalling
    FreeBSD-zoneinfo-14.1p7...
    [bsdinstalljail.lab.org] [269/271] Deleting files for
    FreeBSD-zoneinfo-14.1p7: 100%
    [bsdinstalljail.lab.org] [270/271] Deinstalling beadm-1.3.5_1... [bsdinstalljail.lab.org] [270/271] Deleting files for beadm-1.3.5_1:
    100%
    [bsdinstalljail.lab.org] [271/271] Deinstalling pkg-2.2.1... [bsdinstalljail.lab.org] [271/271] Deleting files for pkg-2.2.1: 100%
    pkg: Cannot runscript POST-DEINSTALL:No such file or directory
    You may need to manually remove /usr/local/etc/pkg.conf if it is no
    longer needed.

    root@bsdinstalljail:/ # ls
    /bin/sh: ls: not found

    root@bsdinstalljail:/ # vi
    /bin/sh: vi: not found

    root@bsdinstalljail:/ # pkg
    /bin/sh: pkg: not found

    root@bsdinstalljail:/ # pkg-static
    /bin/sh: pkg-static: not found

    root@bsdinstalljail:/ # reboot
    /bin/sh: reboot: not found

    root@bsdinstalljail:/ # goodbye
    /bin/sh: goodbye: not found

    root@bsdinstalljail:/ # /rescue/ls /rescue
    /bin/sh: /rescue/ls: not found

    root@bsdinstalljail:/ # /rescue/ls.pkgsave /rescue
    rescue: ls.pkgsave not compiled in
    usage: rescue ..., where is one of:
    cat chflags chio chmod cp date dd df echo ed red expr getfacl
    hostname kenv
    kill ln link ls mkdir mv pkill pgrep ps pwd realpath rm unlink rmdir
    setfacl
    sh -sh sleep stty sync test [ csh -csh tcsh -tcsh camcontrol clri
    devfs dmesg
    dump rdump dumpfs dumpon fsck fsck_ffs fsck_4.2bsd fsck_ufs
    fsck_msdosfs fsdb
    fsirand gbde geom glabel gpart ifconfig init kldconfig kldload
    kldstat
    kldunload ldconfig md5 mdconfig mdmfs mknod mount mount_cd9660
    mount_msdosfs
    mount_nfs mount_nullfs mount_udf mount_unionfs newfs newfs_msdos
    nos-tun
    reboot fastboot halt fasthalt restore rrestore rcorder route savecore
    shutdown
    poweroff swapon sysctl tunefs umount ccdconfig ping ping6 rtsol ipf
    routed
    rtquery bectl zfs zpool bsdlabel disklabel fdisk dhclient head mt sed
    tail tee
    gzip gunzip gzcat zcat bzip2 bunzip2 bzcat less more xz unxz lzma
    unlzma xzcat
    lzcat zstd unzstd zstdcat zstdmt fetch tar nc vi ex id groups whoami
    iscsictl
    zdb chroot chown chgrp iscsid rescue












    Temat: Re: PKGBASE Removes FreeBSD Base System Feature
    Data: 2025-08-08 10:31
    Nadawca: "Dag-Erling Sm|+rgrav" &lt;des@FreeBSD.org>
    Adresat: sthaug@nethelp.no;
    DW: freebsd-current@freebsd.org; freebsd-stable@freebsd.org;


    sthaug@nethelp.no writes:
    - It's important to have a clean separation between the base system
    (whether that is installed using the package system or not) and the
    rest. An easy way to list "these are the base system packages" is
    absolutely needed.

    You can easily create an alias for this:

    pkg query -e '%o = base' %n

    If you want something closer to `pkg info`, try:

    pkg query -e '%o = base' '%n-%v %c' | column -tl 2

    - Maybe there should be an extra step if you try to delete packages
    from the base system?

    There already is:

    % sudo pkg delete FreeBSD-clibs
    Checking integrity... done (0 conflicting)
    The following package(s) are locked or vital and may not be
    removed:

    FreeBSD-clibs

    1 packages requested for removal: 1 locked, 0 missing

    The only matter that remains to be settled is which packages should
    be
    marked vital:

    % pkg query -e '%V = 1' %n
    FreeBSD-clibs
    FreeBSD-runtime

    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org





    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=@des@FreeBSD.org to muc.lists.freebsd.stable on Sat Aug 9 16:42:07 2025
    From Newsgroup: muc.lists.freebsd.stable

    Roger Leigh <rleigh@codelibre.net> writes:
    [...] In Debian, there is an "Essential" package status. "Essential" packages can't be removed, only upgraded or replaced. [...] It
    strikes me that having a similar bit of package metadata for pkg(8)
    would go a long way to making the behaviour safe by default.
    This is already the case, as has been pointed out repeatedly in this
    thread.
    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Pat Maddox@pat@patmaddox.com to muc.lists.freebsd.stable on Sat Aug 9 12:06:25 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Fri, Aug 8, 2025, at 7:20 AM, David Chisnall wrote:
    On 8 Aug 2025, at 15:02, Santiago Martinez <sm@codenetworks.net> wrote:
    This is the same we have today. No extra complexity or confusion, actually it is quite simple , if you want to touch your base system just explicitly targeting it ( what we do today with FreeBSD-update)

    What is the reason that you would want to install updates for packages
    built by ports and *not* want to install updates to the base system?
    I don't have to reboot my system after upgrading third-party software. I may have to after updating the base system.
    Also, when something breaks, it's usually because something changed. If I can compartmentalize the changes, I can better understand what causes an issue.
    The OS is a bigger, more involved dependency than third-party software. I think about them on different cycles, I want to control them on different cycles.
    Currently, you need to do these separately because they are managed by
    two separate tools, but thatrCOs an accident. It was never a deliberate usability choice to have different ways of updating different parts of
    the system. Fixing this is one of the goals of pkgbase.
    I think this conflates the mechanism and policy a bit.
    Before pkgbase, the default freebsd policy is to upgrade base and third-party separately. Perhaps that was an accidental outcome of them using different mechanisms, I don't know. But it's been that way for a long, long time. Thus people talking about POLA.
    pkgbase introduces a new mechanism for updating base. Now what we're seeing is two camps of what the default policy should be:
    - camp A says retain the default freebsd policy of updating base and third-party separately
    - camp B says change the default freebsd policy to updating them all together Hopefully without making things too confusing, I think people are also talking past each other a bit because there's a conflict between the historical policy of base/third-party, and pkg. Because we could also say:
    - camp A says change the default pkg policy to account for base/third-party separation
    - camp B says retain the default pkg policy to operate on all packages
    In short, based on the proposals I've seen here, there's a tension: either retain freebsd default policy and change pkg default policy, or vice versa. Maybe there's a way of resolving the tension, or maybe the project just needs to pick one and move on.
    Nothing stops the user from upgrading base (target base) then upgrading the rest. Or to have a target that is rCLallrCY.

    This is still possible with pkgbase. If you want to stage things,
    simply use the `-r` flag. But when do you *actively want* that?
    Same as before: I want to be able to answer, do two versions of third-party software run on a single known version of FreeBSD? Likewise, does one version of third-party software run on multiple known versions of FreeBSD?
    Every upgrade flow I have on every FreeBSD machine I use is simplified
    by pkgbase. Having fewer tools is a usability win. Having a single
    command upgrade everything is a usability win. If you *want to*
    upgrade only some things, thatrCOs one extra command-line flag.
    That's perfectly reasonable to me.
    I guess the core question is: why change the established policy of updating base and third-party separately, and require users to use a flag to retain it? Why not retain the policy, and require users to use a flag to update both separately?
    - Because it's so inherently superior to the old way that it should be the default, and people who want the old way just need to read UPDATING to know the tweaks to make?
    - Because doing so would make the semantics of `pkg` too confusing? So we accept the tradeoff of changing established upgrade policy, and again people need to be familiar with UPDATING?
    - Other reasons?
    pkgbase seems like a fine mechanism for upgrading base. The issue at hand seems to be that the current approach changes the default freebsd upgrade policy in a significant way.
    Pat
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Pat Maddox@pat@patmaddox.com to muc.lists.freebsd.stable on Sat Aug 9 12:24:21 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Sat, Aug 9, 2025, at 12:06 PM, Pat Maddox wrote:
    On Fri, Aug 8, 2025, at 7:20 AM, David Chisnall wrote:
    Every upgrade flow I have on every FreeBSD machine I use is simplified
    by pkgbase. Having fewer tools is a usability win. Having a single
    command upgrade everything is a usability win. If you *want to*
    upgrade only some things, thatrCOs one extra command-line flag.

    That's perfectly reasonable to me.

    I guess the core question is: why change the established policy of
    updating base and third-party separately, and require users to use a
    flag to retain it? Why not retain the policy, and require users to use
    a flag to update both separately?
    This should be: "why change the established policy of updating base and third-party separately, and require users to use a flag to retain it? Why not retain the policy, and require users to use a flag to update both **together**?"
    - Because it's so inherently superior to the old way that it should be
    the default, and people who want the old way just need to read UPDATING
    to know the tweaks to make?
    - Because doing so would make the semantics of `pkg` too confusing? So
    we accept the tradeoff of changing established upgrade policy, and
    again people need to be familiar with UPDATING?
    - Other reasons?

    pkgbase seems like a fine mechanism for upgrading base. The issue at
    hand seems to be that the current approach changes the default freebsd upgrade policy in a significant way.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Don Lewis@truckman@FreeBSD.org to muc.lists.freebsd.stable on Sun Aug 10 01:47:18 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 8 Aug, Jamie Landeg-Jones wrote:
    Karl Denninger <karl@denninger.net> wrote:

    How many of us have done an "rm -rf" in the wrong place?a Uh..... same
    thing when you get down to it, right?

    The problem with this analogy is that "rm -rf" hasn't changed - the "-f" wasn't suddenly changed from something innocuous to "force".

    Pople using "pkg delete -af" are used to using it to delete all ports.
    I'll often do that when upgrading a server to a new major release -
    update the base OS, with the appropriate COMPAT and compat-libs, if
    required, then once that's working, chose a free moment to pkg-delete -af
    all the ports, and then BATCH rebuild them from a list of previously installed ports.

    It looks like you are making extra work for youself. When you
    "pkg delete -af", you are erasing all the data about which ports you
    carefully chosen to install and whether they were manually our
    automatically installed. You need to record this info somewhere before
    you "pkg delete".
    If you "pkg upgrade -af" after the version upgrade, all of this info is preserved and selects the right ports to reinstall. You can optionally
    follow this with "pkg autoremove" to clean up unused leaf ports.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Charles Sprickman@spork@bway.net to muc.lists.freebsd.stable on Sun Aug 10 12:51:52 2025
    From Newsgroup: muc.lists.freebsd.stable


    On Aug 10, 2025, at 4:47rC>AM, Don Lewis <truckman@FreeBSD.org> wrote:

    On 8 Aug, Jamie Landeg-Jones wrote:
    Karl Denninger <karl@denninger.net> wrote:

    How many of us have done an "rm -rf" in the wrong place? Uh..... same
    thing when you get down to it, right?

    The problem with this analogy is that "rm -rf" hasn't changed - the "-f"
    wasn't suddenly changed from something innocuous to "force".

    Pople using "pkg delete -af" are used to using it to delete all ports.
    I'll often do that when upgrading a server to a new major release -
    update the base OS, with the appropriate COMPAT and compat-libs, if
    required, then once that's working, chose a free moment to pkg-delete -af
    all the ports, and then BATCH rebuild them from a list of previously
    installed ports.


    It looks like you are making extra work for youself. When you
    "pkg delete -af", you are erasing all the data about which ports you carefully chosen to install and whether they were manually our
    automatically installed. You need to record this info somewhere before
    you "pkg delete".

    If you "pkg upgrade -af" after the version upgrade, all of this info is preserved and selects the right ports to reinstall. You can optionally follow this with "pkg autoremove" to clean up unused leaf ports.
    I don't think he stated that he doesn't have a list of ports/pkgs that are wanted.
    Deleting everything, and then just adding the 4 or 5 things you want (which would end up with many more than 4-5 pkgs installed) is a pretty foolproof way to clean up a bunch of cruft. Unless of course your base OS also goes away.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Don Lewis@truckman@FreeBSD.org to muc.lists.freebsd.stable on Mon Aug 11 02:12:12 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 10 Aug, Charles Sprickman wrote:


    On Aug 10, 2025, at 4:47rC>AM, Don Lewis <truckman@FreeBSD.org> wrote:

    On 8 Aug, Jamie Landeg-Jones wrote:
    Karl Denninger <karl@denninger.net> wrote:

    How many of us have done an "rm -rf" in the wrong place? Uh.....
    same thing when you get down to it, right?

    The problem with this analogy is that "rm -rf" hasn't changed - the
    "-f" wasn't suddenly changed from something innocuous to "force".

    Pople using "pkg delete -af" are used to using it to delete all
    ports. I'll often do that when upgrading a server to a new major
    release - update the base OS, with the appropriate COMPAT and
    compat-libs, if required, then once that's working, chose a free
    moment to pkg-delete -af all the ports, and then BATCH rebuild them
    from a list of previously installed ports.


    It looks like you are making extra work for youself. When you
    "pkg delete -af", you are erasing all the data about which ports you
    carefully chosen to install and whether they were manually our
    automatically installed. You need to record this info somewhere
    before you "pkg delete".

    If you "pkg upgrade -af" after the version upgrade, all of this info
    is preserved and selects the right ports to reinstall. You can
    optionally follow this with "pkg autoremove" to clean up unused leaf
    ports.

    I don't think he stated that he doesn't have a list of ports/pkgs that
    are wanted.

    Deleting everything, and then just adding the 4 or 5 things you want
    (which would end up with many more than 4-5 pkgs installed) is a
    pretty foolproof way to clean up a bunch of cruft. Unless of course
    your base OS also goes away.

    4 or 5 is easy. My desktop:
    %pkg info -a | wc -l
    1411
    %pkg prime-origins | wc -l
    177
    With 177 things, I want to make my life as simple as possible.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Mon Aug 11 12:05:16 2025
    From Newsgroup: muc.lists.freebsd.stable


    4 or 5 is easy. My desktop:
    %pkg info -a | wc -l
    1411
    %pkg prime-origins | wc -l
    177

    With 177 things, I want to make my life as simple as possible.

    Same here.

    % pkg prime-list | wc -l
    439

    % pkg stats
    Local package database:
    Installed packages: 1671
    Disk space occupied: 22 GiB


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From George Mitchell@george+freebsd@m5p.com to muc.lists.freebsd.stable on Mon Aug 11 10:01:16 2025
    From Newsgroup: muc.lists.freebsd.stable

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------X5OkUizovgY8agA2JUYNtm7F
    Content-Type: multipart/mixed; boundary="------------CKlYdH1BS7SbCnciS8zHCovN";
    protected-headers="v1"
    From: George Mitchell <george+freebsd@m5p.com>
    To: stable@freebsd.org
    Message-ID: <54ef219e-00e8-4a75-ab52-79fcebd8aab2@m5p.com>
    Subject: Re: PKGBASE Removes FreeBSD Base System Feature
    References: <zxdjhwcktnktdqzisgzy@qkoz>
    <FD0B239A-7DE4-4588-840E-C31FBBECBBEF@submonkey.net>
    <pecwwvnjxkiaplcpxkph@fpas>
    <DA41BBC2-6AD6-44FC-8C0A-213D63DBFF15@ketas.si.pri.ee>
    <ckjuzadqerchrokhlejz@pkwi>
    <ffd818ae-9922-413f-b8d8-acb7af51f865@freebsd.org>
    <CAFYkXjkKMpuJqZkt_x_kpFhMi2kSbJN1ydGK6y9JQeCXpX=MAQ@mail.gmail.com>
    <864iui3si5.fsf@ltc.des.dev>
    <CAFYkXjkf2NVQfv9_L=81bzK5ASxRzrfs4Jn9Jg2D0GxWUqTT2g@mail.gmail.com>
    <86pld62alk.fsf@ltc.des.dev>
    <0CC405ED-BCFC-41AD-A487-5261421BF8A6@FreeBSD.org>
    <4d3fad5c-0d1c-4625-846e-02105bb5c2c3@denninger.net>
    <202508081646.578GkoU0048683@donotpassgo.dyslexicfish.net>
    <tkrat.ec487087ceed03ca@FreeBSD.org>
    <FC008A36-6657-4FFB-B7D7-29321F40B24E@bway.net>
    <tkrat.5f9f4fcba1a56546@FreeBSD.org> <svacuvwgfquylbdmrbrg@oktf>
    In-Reply-To: <svacuvwgfquylbdmrbrg@oktf>

    --------------CKlYdH1BS7SbCnciS8zHCovN
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOC8xMS8yNSAwNjowNSwgdmVybWFkZW4gd3JvdGU6DQo+IFsuLi5dDQo+ICUgcGtnIHBy aW1lLWxpc3QgfCB3YyAtbA0KPiAgICAgICA0MzkNCj4gWy4uLl0NCg0KV293ISAgV2hhdCBv dGhlciBzZWNyZXQgdW5kb2N1bWVudGVkIGNvbW1hbmRzIGFyZSB0aGVyZSBpbiBwa2c/DQot LSBHZW9yZ2UNCg==

    --------------CKlYdH1BS7SbCnciS8zHCovN--

    --------------X5OkUizovgY8agA2JUYNtm7F
    Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature
    Content-Disposition: attachment; filename="OpenPGP_signature.asc"

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQQ6b7/Z+PlMzCwCfBGaHA937rZnfQUCaJn3sQUDAAAAAAAKCRCaHA937rZnfRGu AP9l7LqcLK3/4JsspiPwejgn+j7GqSw69IwzsNUIglXLWQEA6TNeJcJTOmePCc8BkJfMfNxzIOZS rVt6K7f0p5PSUgY=
    =qMIK
    -----END PGP SIGNATURE-----

    --------------X5OkUizovgY8agA2JUYNtm7F--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Herbert J. Skuhra@herbert@gojira.at to muc.lists.freebsd.stable on Mon Aug 11 16:10:30 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Mon, Aug 11, 2025 at 10:01:16AM -0400, George Mitchell wrote:
    On 8/11/25 06:05, vermaden wrote:
    [...]
    % pkg prime-list | wc -l
    439
    [...]

    Wow! What other secret undocumented commands are there in pkg?

    $ pkg alias

    $ grep -n prime-list /usr/local/etc/pkg.conf
    69: prime-list = "query -e '%a = 0' '%n'";


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From George Mitchell@george+freebsd@m5p.com to muc.lists.freebsd.stable on Mon Aug 11 10:16:26 2025
    From Newsgroup: muc.lists.freebsd.stable

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------9l5Zvrkbik9t710rnFiqauJ0
    Content-Type: multipart/mixed; boundary="------------TgbmAiBliVYUKMeLYtx7MWxJ";
    protected-headers="v1"
    From: George Mitchell <george+freebsd@m5p.com>
    To: stable@freebsd.org
    Message-ID: <b3442e02-f734-47f8-afe9-de263bb49797@m5p.com>
    Subject: Re: PKGBASE Removes FreeBSD Base System Feature
    References: <CAFYkXjkf2NVQfv9_L=81bzK5ASxRzrfs4Jn9Jg2D0GxWUqTT2g@mail.gmail.com>
    <86pld62alk.fsf@ltc.des.dev>
    <0CC405ED-BCFC-41AD-A487-5261421BF8A6@FreeBSD.org>
    <4d3fad5c-0d1c-4625-846e-02105bb5c2c3@denninger.net>
    <202508081646.578GkoU0048683@donotpassgo.dyslexicfish.net>
    <tkrat.ec487087ceed03ca@FreeBSD.org>
    <FC008A36-6657-4FFB-B7D7-29321F40B24E@bway.net>
    <tkrat.5f9f4fcba1a56546@FreeBSD.org> <svacuvwgfquylbdmrbrg@oktf>
    <54ef219e-00e8-4a75-ab52-79fcebd8aab2@m5p.com>
    <aJn51lN4yV1BjWqF@mail.bsd4all.net>
    In-Reply-To: <aJn51lN4yV1BjWqF@mail.bsd4all.net>

    --------------TgbmAiBliVYUKMeLYtx7MWxJ
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOC8xMS8yNSAxMDoxMCwgSGVyYmVydCBKLiBTa3VocmEgd3JvdGU6DQo+IE9uIE1vbiwg QXVnIDExLCAyMDI1IGF0IDEwOjAxOjE2QU0gLTA0MDAsIEdlb3JnZSBNaXRjaGVsbCB3cm90 ZToNCj4+IE9uIDgvMTEvMjUgMDY6MDUsIHZlcm1hZGVuIHdyb3RlOg0KPj4+IFsuLi5dDQo+ Pj4gJSBwa2cgcHJpbWUtbGlzdCB8IHdjIC1sDQo+Pj4gICAgICAgIDQzOQ0KPj4+IFsuLi5d DQo+Pg0KPj4gV293ISAgV2hhdCBvdGhlciBzZWNyZXQgdW5kb2N1bWVudGVkIGNvbW1hbmRz IGFyZSB0aGVyZSBpbiBwa2c/DQo+IA0KPiAkIHBrZyBhbGlhcw0KPiANCj4gJCBncmVwIC1u IHByaW1lLWxpc3QgL3Vzci9sb2NhbC9ldGMvcGtnLmNvbmYNCj4gNjk6ICAgIHByaW1lLWxp c3QgPSAicXVlcnkgLWUgJyVhID0gMCcgJyVuJyI7DQoNClN1cmUgZW5vdWdoLiAgV2lzaCBJ J2Qga25vd24gYWJvdXQgaXQgKGFuZCBhbGwgdGhvc2UgaGFuZHkgcHJlZGVmaW5lZA0KYWxp YXNlcykgYmVmb3JlISAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IC0tIEdlb3JnZQ0K

    --------------TgbmAiBliVYUKMeLYtx7MWxJ--

    --------------9l5Zvrkbik9t710rnFiqauJ0
    Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature
    Content-Disposition: attachment; filename="OpenPGP_signature.asc"

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQQ6b7/Z+PlMzCwCfBGaHA937rZnfQUCaJn7PgUDAAAAAAAKCRCaHA937rZnfeGE AQDuXYD7J/P/yTSnD0H7JT3rQMkBRM4xeQprlW+dE45yQQEA/6leDfKdX+g2fpnY/FPnLvlqRalZ pME2YRLEV8JzXgE=
    =VW6W
    -----END PGP SIGNATURE-----

    --------------9l5Zvrkbik9t710rnFiqauJ0--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Don Lewis@truckman@FreeBSD.org to muc.lists.freebsd.stable on Mon Aug 11 22:07:30 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 11 Aug, Jamie Landeg-Jones wrote:
    Charles Sprickman <spork@bway.net> wrote:

    On Aug 10, 2025, at 4:47rC>AM, Don Lewis <truckman@FreeBSD.org> wrote:

    On 8 Aug, Jamie Landeg-Jones wrote:
    all the ports, and then BATCH rebuild them from a list of previously
    installed ports.


    It looks like you are making extra work for youself. When you
    "pkg delete -af", you are erasing all the data about which ports you
    carefully chosen to install and whether they were manually our
    automatically installed. You need to record this info somewhere before
    you "pkg delete".

    I don't think he stated that he doesn't have a list of ports/pkgs that are wanted.

    Yep! As I even wrote! :-) , I batch rebuild them from a list - rather, I have a script that parses a pkg list, and creates a script to install the ports fresh. (I build from ports not packages) The script does hard code a priority install order of ports if necessary - i.e. on machines I use the ports version
    of openssl, that's the port the script installs first. I think if openssh from
    ports was installed, that is next, and a few other similar examples.

    I don't do this process for all upgrades, just the times I want to do a complete rebuild, usually after a major release upgrade.

    After doing a pkg delete -af I then check /usr/local for orphaned files
    etc. and make it clean before running the script.

    The script first runs through all the ports to check for config option changes
    (I still have the previous settings in /var/db/ports) and then when they are done, it runs through the install in BATCH=YES mode.

    Deleting everything, and then just adding the 4 or 5 things you want (which would end up with many more than 4-5 pkgs installed) is a pretty foolproof way to clean up a bunch of cruft. Unless of course your base OS also goes away.

    Exactly! After cleaning the system, before running the script, I prune the list of ports I know I don't want, or are just dependencies. Any that are only there as dependencies will get built again anyway. It's a nice, and
    as you say, pretty foolproof way of cleaning things up. It's also quite
    a fast operation - well, the actual ports install takes a while, but that happens without me needing to be around.

    Finally, any errors/failed installs are highlighted at the end of the script for manual selection.
    I use poudriere to pre-build my desired package set on a headless box
    running -CURRENT before starting the upgrade. It's now close to 24
    hours for a full build of my package set. That way, I don't bog down my desktop while the build is in progress, and I can defer the upgrade if
    anything vital fails to build. I don't have to worry about getting
    stuck in a half-upgraded state. My only downtime is during pkg upgrade.
    If you use "pkg prime-origins" to get the list of ports, that is lot
    smaller set to sort through.
    I like to use pkg delete -af because I want to catch orphaned files, but bluntly,
    I could just save /usr/local/etc and nuke the rest of /usr/local and /var/db/pkg
    Any thoughts on how to do the same housecleaning on the base system?
    Thanks for the reply, cheers, Jamie


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Jamie Landeg-Jones@jamie@catflap.org to muc.lists.freebsd.stable on Wed Aug 13 19:06:43 2025
    From Newsgroup: muc.lists.freebsd.stable

    vermaden <vermaden@interia.pl> wrote:

    4 or 5 is easy. My desktop:
    %pkg info -a | wc -l
    1411
    %pkg prime-origins | wc -l
    177

    With 177 things, I want to make my life as simple as possible.

    Same here.

    % pkg prime-list | wc -l
    439

    % pkg stats
    Local package database:
    Installed packages: 1671
    Disk space occupied: 22 GiB

    Well, I don't exactly have 4 or 5 things installed.... :-)

    % pkg prime-origins | wc -l
    1296

    % pkg stats
    Local package database:
    Installed packages: 2243
    Disk space occupied: 25 GiB


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Jamie Landeg-Jones@jamie@catflap.org to muc.lists.freebsd.stable on Wed Aug 13 19:27:31 2025
    From Newsgroup: muc.lists.freebsd.stable

    Don Lewis <truckman@FreeBSD.org> wrote:

    I use poudriere to pre-build my desired package set on a headless box
    running -CURRENT before starting the upgrade. It's now close to 24
    hours for a full build of my package set. That way, I don't bog down my desktop while the build is in progress, and I can defer the upgrade if anything vital fails to build. I don't have to worry about getting
    stuck in a half-upgraded state. My only downtime is during pkg upgrade.

    That sounds like a good way of doing it. I've been doing it my old way since way before poudriere was a thing. I should maybe look to change.

    If you use "pkg prime-origins" to get the list of ports, that is lot
    smaller set to sort through.

    Thanks! I didn't know about that. I use pkg query in my script, but had
    missed the "%a == 0" thing to not show installed dependencies.

    Admittedly I have to fiddle with the script before running it (in case it
    tries to install old versions of perl/python etc.) so that should help alot.

    I'd still need to check the full list, because some of my own software may
    be using a dependent-port, but now it will be alot easier, thanks.

    Incidently, my script runs in 3 phases, the first goes through make config,
    the second pkg-deletes everything, and the third doing the install in BATCH mode at idle20 or idprio, finally listing failures at the end. It's not ideal, but it's not too bad. I find that pkg deleting whilst everything is up means most of the things continue to work even though they've been deleted from the filesystem.

    I update 8 servers this way, covering various different architecture, but I probably don't update them as often as I would if it was easier!

    I like to use pkg delete -af because I want to catch orphaned files, but bluntly,
    I could just save /usr/local/etc and nuke the rest of /usr/local and /var/db/pkg

    Any thoughts on how to do the same housecleaning on the base system?

    I install base from src too, again at idle priority whilst the machine
    is live. For housecleaning, I do run make delete-old and make
    delete-old-libs.

    I also patched the installer so that it updates the timestamp on any 'installed' file even if the file hasn't changed.

    % cat /usr/common/patches/src/share/mk/patch:share_mk_bsd.confs.mk
    # When installing world, ensure files have their timestamp updated:
    --- share/mk/bsd.confs.mk.orig 2019-09-05 15:15:47.000000000 +0100
    +++ share/mk/bsd.confs.mk 2023-03-12 03:28:26.195219000 +0000
    @@ -113,7 +113,7 @@
    . if ${cnf} == "/dev/null"
    INSTALL_COPY=
    . else
    -INSTALL_COPY= -C
    +INSTALL_COPY= -c
    . endif

    This way I can then just use a find ... -mtime -2 ... to catch stale files, which I then investigate further.

    As for /etc I still use mergemaster, but that requires a lot more manual
    effort these days. I intend to get my head around etcupdate in time for
    my next base upgrade!

    Thanks again for the feedback, it's been useful.

    Cheers, Jamie


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.stable on Wed Aug 13 13:40:51 2025
    From Newsgroup: muc.lists.freebsd.stable

    Jamie Landeg-Jones <jamie_at_catflap.org> wrote on
    Date: Wed, 13 Aug 2025 18:06:43 UTC :

    vermaden <vermaden@interia.pl> wrote:

    4 or 5 is easy. My desktop:
    %pkg info -a | wc -l
    1411
    %pkg prime-origins | wc -l
    177

    With 177 things, I want to make my life as simple as possible.

    Same here.

    % pkg prime-list | wc -l
    439

    % pkg stats
    Local package database:
    Installed packages: 1671
    Disk space occupied: 22 GiB

    Well, I don't exactly have 4 or 5 things installed.... :-)

    % pkg prime-origins | wc -l
    1296

    The above is likely not what you expect if using pkgbase (?) . . .

    # pkg prime-origins | head
    base
    base
    base
    base
    base
    base
    base
    base
    base
    base

    # pkg prime-origins | wc -l
    657

    # pkg prime-origins | grep -v "^base$" | wc -l
    82


    % pkg stats
    Local package database:
    Installed packages: 2243
    Disk space occupied: 25 GiB

    ===
    Mark Millard
    marklmi at yahoo.com



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2