raising warning flag on firewalld-default feature

Pádraig Brady P at draigBrady.com
Tue Nov 13 14:41:44 UTC 2012


On 11/12/2012 07:53 PM, Matthew Miller wrote:
> On Sat, Nov 10, 2012 at 09:53:13PM +0100, Kevin Kofler wrote:
>> I really don't understand why a core system component such as firewalld is
>> implemented in Python!
>
> Here, I mostly don't see the reason for it to be running all the time.
> Couldn't it be dbus activated, and then go away when it's not needed? Then,
> it would matter less what it was written in.

It could be argued that python is more suited to long lived programs:

$ time /bin/true
real	0m0.002s
$ time python -c True
real	0m0.049s
$ time python3 -c True
real	0m0.165s

 > And for reducing space use: I think it might also be nice to break python
 > 2to3 and idle out of the python-libs package.

splitting python-libs (25MB here), seems worthwhile.
python-libs can bb changed to a subpackage that just depends on
various split subpackages, and then as needed various packages
like yum etc. can adjust dependencies to require just the
subpackages they need.

I remember doing a dist of python for an embedded system
that was 2.1MB in total and was enough to support cherrypy.

cheers,
Pádraig.


More information about the devel mailing list