Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2025 12:50:38 +0100
From:      Lexi Winter <ivy@freebsd.org>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        stable@freebsd.org, current@freebsd.org, cperciva@freebsd.org
Subject:   Re: disallowing 'make installworld' with pkgbase
Message-ID:  <aOOtDh6assJGYPEn@amaryllis.le-fay.org>
In-Reply-To: <20251006204554.d1ea4dc8671f72e70f678875@dec.sakura.ne.jp>
References:  <aOMjZdiJk5RisKyI@amaryllis.le-fay.org> <20251006204554.d1ea4dc8671f72e70f678875@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

--lJHUbM5q5wFY5lkn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Tomoaki AOKI wrote in <20251006204554.d1ea4dc8671f72e70f678875@dec.sakura.n=
e.jp>:
> Isn't there at least one edge case with D52879?
>=20
> What I can think of is
>   *pkgbase installation,
>   */usr/local/ and /var/db/pkg/ (/var/cache/pkg/, too, possibly?) are
>    NOT in root partition,
>   *running `make installworld` in single user mode,
>   *any of the partitions / datasets that above-mentioned directories
>    exists are NOT mounted.

you need /var and /usr mounted for make installworld to work.  a
situation where /usr is mounted but /usr/local is not is niche enough
that i don't think it matters for this.  the purpose isn't to prevent
every possible user error (which is impossible), only the majority of
them, i.e., the most common case.

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

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

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaOOtCwAKCRD1nT63mIK/
YNazAQC8ck5GAbnsTQz6YKWZ4VBvTQ0aPAw5hU9Yua6zIdV1eAD+NnXZaSzjctjf
O6v7DOS4Hdxk2E0JWfvMmgjiv4gocgs=
=P7gM
-----END PGP SIGNATURE-----

--lJHUbM5q5wFY5lkn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aOOtDh6assJGYPEn>