On ma, 30 touko 2022, Leo O via FreeIPA-users wrote:
@Alexander Thanks for the detailed explanation.
I was able to solve some issues (adelton - Jan) helped me out. Could
make "dnf install ..." to work inside the container, used that instead
"rpm -i ...". The docker build is now running without error messages.
There was also another issue which is a bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2083570 Because of this I
had issues with upgrading from `rocky-8-4.9.6` to `rocky-8-4.9.8`
respectively from `rocky-8-4.9.6` to my custom `rocky-8-pfb-4.9.8`.
Therefore went down to `container-tools:3.0` and using podman 3.0.1
atm.
As this is now working, I'm still missing the Web UI elements inside a
users details page.

As said, I commented out the two already existing attributeTypes
(mailQuota and mailForwardingAddress). Everything else, is still in my
plugin. So mailForwardingAddress is still PostfixBookMailForward
ObjectClass and mailQuota on PostfixBookMailAccount ObjectClass. I hope
that's correct so far?
https://github.com/leonidas-o/freeipa-postfixbook-plugin/blob/main/plugin/schema.d/postfix-book-schema.ldif


I also entered the container and looked into the paths:
/usr/share/ipa/ui/js/plugins/postfixbook/ -> exists and contains all the .js 
files
/usr/lib/python3.6/site-packages/ipaserver/plugins/ -> contains the .py files

JS plugin loader expects that for every plugin named foo you are
providing foo/foo.js loader which then pulls all required files itself.
I don't see postfixbook/postfixbook.js at all. You are copying all js
files when building the package but there is no main file that would be
loaded by the framework.

See install/ui/doc/guides/plugins/README.md for details.

--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to