[illumos-Developer] webrev: 278 get rid zfs of python and pyzfs dependencies

Jason King jason.brian.king at gmail.com
Sat Nov 13 10:05:08 PST 2010


2010/11/13 Edward Tomasz Napierała <trasz at freebsd.org>:
> Wiadomość napisana przez Jason King w dniu 2010-11-12, o godz. 16:09:
>> On Fri, Nov 12, 2010 at 9:04 AM, Edho P Arief <edhoprima at gmail.com> wrote:
>>> On Fri, Nov 12, 2010 at 9:50 PM, Jason King <jason.abrian.king at gmail.com> wrote:
>>>> That is not what this is about.   There is no issue with maintaining
>>>> python bindings for zfs.  The issue is the actual /sbin/zfs command
>>>> itself requires python to operate fully.  In other words, you cannot
>>>> administer zfs completely without python.  This is about removing that
>>>> dependency.
>>>>
>>>
>>> I'm quite sure that the entire zfs stack in FreeBSD doesn't require
>>> python at all...
>>
>> A number of subcommands invoke python to process them (IIRC zfs allow
>> is one of them).  FreeBSD must not be using those.  Regardless, this
>> is not about removing zfs bindings for python, but the dependency of
>> /sbin/zfs on python.
>
> In FreeBSD, the part of functionality that depends on Python was moved
> into the Ports Collection.  Which means that "zfs allow" results in:
>
> $ zfs allow
> internal error: /usr/lib/zfs/pyzfs.py not found
>    install sysutils/py-zfs port to correct this
>
> After installing that package, zfs command becomes fully functional.

Hopefully soon with this change, that will no longer be necessary
(assuming fbsd uses the work in question of course).



More information about the Developer mailing list