Diazo (plone.app.theming) 与 RHEL 相关的问题
我最近开始再次尝试让 plone.app.theming 在 RHEL 盒子上工作。我按照建议通过 buildout 构建 lxml 库,但它仍然无法工作。
我收到的错误是:reloc 后无法恢复段 prot:lxml Egg 目录中的文件的权限被拒绝。这使得实例无法启动。
经过一番尝试、错误和研究,我终于找到了一个解决方案,尽管不是一个好的解决方案,但我确实让 plone.app.theming 工作了。该问题似乎与启用 SELinux 有关。出于测试目的,我在这个盒子和 wola 上禁用了 SELinux,在重新启动我的实例后,整个过程正常了。
我的问题是这样的。如果我做错什么导致了这种情况怎么办?是否有一个不涉及完全关闭 SELinux 的解决方案,并且是否有一个基于构建的解决方案可以做到这一点?
I recently began working again on trying to get plone.app.theming to work on a RHEL box. I am building the lxml libraries via buildout as suggested and it still would not work.
The error I was getting is: cannot restore segment prot after reloc: Permission denied on files within the lxml egg directory. This kept the instances from starting.
After some trial and error and research, I finally found a solution, albeit not a good one, but I did get plone.app.theming working. The issue seems to be with SELinux enabled. For testing purposes, I disabled SELinux on this box and wola, after restarting my instances, the whole thing worked.
My questions are this. What, if anything am I doing wrong to cause this? Is there a solution that doesn't involve turning SELinux off completely and would there be a buildout based solution to do so?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能需要 更改文件的 selinux 上下文。不过,这与 Diazo 和/或 lxml 没有任何联系。 SELinux 是个粗鲁的家伙。
You probably need to change files' selinux context. Though, this isn't linked in any way to Diazo and/or lxml. SELinux is a rude guy.