Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2020 13:37:33 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: Technological advantages over Linux
Message-ID:  <20200725063733.GE92589@admin.sibptus.ru>
In-Reply-To: <20200724122127.08ea76b6881fd483dc212287@sohara.org>
References:  <20200214121620.GA80657@admin.sibptus.ru> <20200724032840.GA61047@admin.sibptus.ru> <20200724122127.08ea76b6881fd483dc212287@sohara.org>

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

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

Steve O'Hara-Smith wrote:
>=20
> > Victor Sudakov wrote:
>=20
> > 1. Debian can run several versions of PHP, PostgreSQL and some other
> > software simultaneously (without manual efforts with jails, chroots
>=20
> 	Hmmm ...

FreeBSD supports multiple versions of Python, what's wrong with PHP? Is
it some principled position, or just lack of resources or money to
implement?

>=20
> > 3. FreeBSD lacks a native docker (what prevents from fixing
>=20
> 	Isn't the whole point of docker to package applications in
> containers so that (among other simplifications) there was no need to
> support multiple versions of services in the same environment.
>=20
> 	One service, one container works just as well in jails as in
> docker,=20

We can't compare docker and jails like that. Jails is just a process
isolation technology. Docker is a ready product (based on the Linux
equivalents of jails, mount_unionfs etc).

When iocage or pot are mature enough (hopefully), we well be able to
compare docker vs iocage, and this would be a fair comparison.

> granted it's not as easy as writing a yaml file and watching a
> poorly understood swarm of thousands of containers spring to life and
> provide a load-balanced service, but it isn't hard especially with iocage
> templates.

Glad you understand that. Many people touting jail don't realize it.

>=20
> 	Personally I always run services in single service jails and have
> done for a lot longer than docker has existed.=20

It could be great if FreeBSD provided an infrastructure for this. If for
example, for every service XXX there existed a

XXX_enable=3D"YES"
XXX_jailed=3D"jail1"

That would be a huge advantage.

>=20
> 	I have systems which have been steadily upgraded from 8.<mumble> to
> 12.1 with only a single (easily corrected) upgrade glitch (the drm_kmod
> issue) and not a single byte of data lost. Standard advice in Linux world
> regarding major version upgrades seems to be "Don't do it and if you do
> expect breakage". That is a *major* technological advantage.

I fully agree with you here, especially taking into account that Linuxes
lack the notion of the base system and boot environments.


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

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

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

iQEcBAEBAgAGBQJfG9MtAAoJEA2k8lmbXsY0WRoH/2gd6ybd2t6SnVWTkbeGKWy2
UlcwbupRxEMbK5zX4hrB+dkqEGQ/Ge3dhQmRnZDLdIJ+ZgspsNWr1lIDjkbpmSJa
sa/FYWNmdarh4DS7NJfr4TFHE9vwyw0qmb/wjmDIwyaVHefVHGWBPCH0Z6hGsyU9
iq2lW9JoL9pLEr8PC/RzCHcINhYeYlISD1UDD5+TuGc3fHALDpFBZ1fXEUxAB1zU
0XSadoTNyrooFr58dZg3T9iy7xR9pVf2MvZrUP2usu7Ik45/qcrxLi4+b/AGe0s5
ofztRbBYk/USQ3r6pOv6FkYAKrucCCqCIHf/Cwxj0dhenNXF9hH2+ia6Q3Rm9dQ=
=Q510
-----END PGP SIGNATURE-----

--hoZxPH4CaxYzWscb--



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