Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2020 12:02:26 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: Technological advantages over Linux
Message-ID:  <20200317050226.GC19098@admin.sibptus.ru>
In-Reply-To: <20200316114638.GD1410@belspo>
References:  <mailman.19358.1581761921.21074.freebsd-questions@freebsd.org> <fde4cbec-efa0-de36-18f9-696e5cdfea3d@defert.com> <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo>

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

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

Julien Cigar wrote:
> > >=20
> > > The insanity of systemd is a large part of what convinced me
> > > to migrate all my personal machines from GNU/Linux to FreeBSD
> > > a couple of years ago.
> >=20
> > I've just come across two related things which may convince me to
> > migrate some machines from FreeBSD to Debian.
> >=20
> > 1. On Debian, you can run several instances of php-fpm with different
> > PHP versions in them.
> >=20
> > 2. On Debian, you can install and run several versions of PostgreSQL
> > simultaneously thanks to the pg_createcluster/pg_lsclusters/...
> > infrastructure.
> >=20
> > All that from standard packages, without manual compiling and tweaking,
> > jails etc, with minimal effort.
>=20
> that's true, but once you setup a dedicated Poudriere machine,=20

I do have a dedicated Poudriere machine. It can *build* different
versions and combinations of PHP/whatever (even that not always unless
you build separate -z sets with different make.conf files),
unfortunately you cannot *install* them simultaneously.

> that all
> your deployments are happening in jails,=20

*All" deployments in jails is an overkill.

Using jails will be especially counterproductive in case of PostgreSQL
because you will not be able to do smart things like=20
"pg_update --link --old-datadir XXX --new-datadir YYY".

> that you use some CMS (like
> SaltStack), and that everything is based on ZFS it's a *lot* easier to
> maintain on the long term, and you have a lot of flexibility. I think

I don't quite agree with you. Keeping multiple jails in an updated
state, and building multiple Poudriere sets (combination of packages)
for all your service jails is a huge administrative overhead best
avoided when not absolutely necessary.

>=20
> I have to deal with some very old (15+ years) shit at work that isn't
> updated but has to be accessible (webapps) (don't ask) and thanks to
> jails and things like rctl I could stil use that latest -RELEASE while
> isolating the old shit in 10.x-RELEASE jails. Try to do that with
> Linux.. (I don't say it's impossible but it would require a lot more
> work IMHO)

That's a different matter when the use of jails is justified. However,
for having nice and supported php72 and php73 packages simultaneously
you don't need such security measures. After all, FreeBSD has learned to
have different versions of Python.

PS Debian's pg_*cluster framework rocks!

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

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

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

iQEcBAEBAgAGBQJecFniAAoJEA2k8lmbXsY0NNsH/R6nmSKMwon9aj1bLSXAGoKQ
Esm/ND+w+rdT6hgL/TrTiGUmzFI+hAdZMy9SGCi+P+3Zp+4CzkqydTp4S81Ntzz8
mDoSeohcLeaCmzPVyjJ4Di6HxfNAGa2cPHw/XBHVm8IRT47yawae3njSETcY07/6
Q2IGqyfInzi+3+3VnOo3l90s19uza6MI0bFe1FO7Ryxp6PaA//6GUcCVhAAlVXeS
qWLBUQ8r2hJnkONb0/yeoLjVtyxP1DltSKR3djhI9mI858uOIyZMnSfe0W1pvjpk
s02tkCqtn4WrrJs2+2iacBHkMWIoQUC/oa2PojB0+naqw5TKfA7Sb02N5AHXv1E=
=KHMn
-----END PGP SIGNATURE-----

--dkEUBIird37B8yKS--



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