Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 22:57:36 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Yuri <yuri@rawbw.com>
Cc:        "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org>
Subject:   Re: linuxolator:  ... not implemented
Message-ID:  <20140129225736.00007899@unknown>
In-Reply-To: <52E3755E.9070900@rawbw.com>
References:  <DB4CAD5C-FFB9-4480-A1F5-3A1DE56A5D68@lists.zabbadoz.net> <52DF6D7E.8080703@rawbw.com> <BLU179-W364198332E261689E3DC0FC6A70@phx.gbl> <52E0CA90.1040602@rawbw.com> <20140124231646.0000658d@unknown> <52E3755E.9070900@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Jan 2014 00:27:10 -0800
Yuri <yuri@rawbw.com> wrote:

> On 01/24/2014 14:16, Alexander Leidinger wrote:
> > Some comments regarding the linux packages:
> >   - the goal with the linux_base ports is to switch from Fedora to
> > CentOS
> >   - the linux_base ports are not designed for the use with chroot
> >   - the linux_dist port can be used with chroot
> >   - do you mind to give the linux_base-c6 port a try and maybe even
> > use it as a base for your development?
> 
> But linux_base is a repackaging of the various linux shared libraries 
> into yet another package. Why even bother doing this, if this all is 
> already pre-packaged by linux folks?

To use one tool to rule them all (= if you want to install software on
FreeBSD, use the FreeBSD package management tool).

Apart from that, please investigate more deeply what the linux_base
ports are doing, one eample:
 - NOT packaging files which are available in the linux package to fall
   through to the FreeBSD files in the same location
 - replacing linux files with symlinks/wrappers to use the
   corresponding FreeBSD functionality
Both of them result in re-using FreeBSD infrastructure to lessen the
need to do some config inside the linux area to have it configured the
same way as FreeBSD.

> CentOS also uses rpm/yum, just like Fedora. The difference is merely
> a repository string for yum. I am not sure if this will practically

The difference which was important for us is that the Fedora has a
faster turn-around time with new versions than CentOS. We don't have
the man-power to cope with the fast release cycle of Fedora.

> even make any difference at all, stock Fedora vs. stock CentOS. I can
> install any rpm package in fewer lines of code than in a Makefile of
> linux_base-c6.
> 
> User side done this way works like a charm. Most work is to implement 

Off-course, but what you are doing is a linux_dist setup (plain
vanilla linux, OK to chroot into), not a linux_base setup (a
FreeBSD-blended-linux, NOT OK to chroot into because of missing
configs as there is no fall-through to FreeBSD config files).

> missing kernel features, and some yet unexplained malfunctions.
> Missing futex operations being one of them, but there are quite a few
> others.

One known problem in the futex area is (attention: this is IIRC!) that
futexes don't work after a fork(), but we don't know how often this is
used or if it is used at all.

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



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