[Pkg-giraffe-discuss] kopanocore, installation of /usr/libexec/kopano/kopano-mfr.py
Simon Eisenmann
s.eisenmann at kopano.com
Sun Aug 11 20:58:35 BST 2019
Hey Carsten,
kopano-mfr.py is part of our REST API stack and is the Master fleet runner for GRAPI. It should be treated as any other Python based daemon. So in that sense it is quite similar to kopano-search for example.
The 8.7.x branch is the first Kopano release which supports this new component.
Since GRAPI does not make much sense as standalone service or without other additional services (e.g. Kopano Konnect and Kopano KAPI), i suggest that this script is and everything else GRAPI releated for the time being is not installed as part of the Kopano package provided by Debian.
Also please take into account that in the meanwile the GRAPI sub project has been moved out of the Kopanocore tree into its own tree. You can take a look at this at https://github.com/Kopano-dev/grapi . GRAPI has its own releases and moves much faster than Kopanocore. I think that it should be packaged from there eventually. We package it like this in our nightly community builds:
longsleep at mose1:~/Downloads$ tar -tzf core-8.7.82.88-Debian_10-amd64.tar.gz |grep grapi
core-8.7.82.88-Debian_10-amd64/./kopano-grapi-bin_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./kopano-grapi_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./python3-grapi.api.v1_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./python3-grapi.backend.caldav_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./python3-grapi.backend.imap_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./python3-grapi.backend.kopano_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./python3-grapi.backend.ldap_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./python3-grapi.mfr_9.2.1+0.01d9408-0+16.1_amd64.deb
core-8.7.82.88-Debian_10-amd64/./python3-grapi_9.2.1+0.01d9408-0+16.1_amd64.deb
If you still wish to install the mfr script, it should go into kopano-grapi or kopano-grapi-bin for the 8.7 release and be installed to /usr/sbin like any other system service executable.
I wanted to reach out to you guys regarding this for a while. Generally it would be nice if the Kopano packages as included in Debian would eventually have everything for kopanocore which is required to support our new REST API stack. And then in a next step also have this the additional components forming this stack in the Debian repositories. I am aware that this is quite some work which involves mostly packaging Go stuff and some Python.
I will write a separate message the pkg-giraffe-discuss list to describe this in more detail and get some feedback/thoughts.
Best regards
Simon
-----Original message-----
> From: Carsten Schoenert <c.schoenert at t-online.de>
> Sent: Sunday 11th August 2019 14:13
> To: Simon Eisenmann <s.eisenmann at kopano.com>
> Cc: pkg-giraffe-discuss <pkg-giraffe-discuss at alioth-lists.debian.net>
> Subject: kopanocore, installation of /usr/libexec/kopano/kopano-mfr.py
>
> Hello Simon,
>
> while looking at some installation issues within the version 8.7.0-3 I
> have found the file kopano-mfr.py which is installed into
> /usr/libexec/kopano/ which can't be fully correct due the arch dependent
> intention for /usr/libexec.
>
> I haven't found the real use case for that script as the is no comment
> within the head of that script.
>
> So where should this script get installed instead?
>
> --
> Regards
> Carsten Schoenert
>
More information about the Pkg-giraffe-discuss
mailing list