New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CentOS Stream 8, udica returns errors when building CIL... #103
Comments
I see essentially the same error on Fedora 35. |
|
Fixes: containers#105, containers#103 Inspired by: WellIDKRealy@0c56d98 Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
Thank you for reporting the issue, the following patch should fix it: #106 |
Fixes: #105, #103 Inspired by: WellIDKRealy@0c56d98 Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
Yes, udica-0.2.6-3.fc36 seems to work for me on Fedora 35. Thanks. |
@vmojzis Yes it works now : $ more /etc/os-release $ udica -V $ udica -j etcd.json etcd Policy etcd created! Please load these modules using: Restart the container with: "--security-opt label=type:etcd.process" parameter Many thank's again and best regards ! |
Thank you for the testing. Closing. |
Fedora 35 still doesn't have udica 0.2.7, which I think has this fix. So I solved it by editing the - "EffectiveCaps": null,
- "BoundingCaps": null,
+ "EffectiveCaps": [],
+ "BoundingCaps": [], |
Describe the bug
When running udica, the following error is returned :
Traceback (most recent call last):
File "/usr/bin/udica", line 11, in
load_entry_point('udica==0.2.6', 'console_scripts', 'udica')()
File "/usr/lib/python3.6/site-packages/udica/main.py", line 216, in main
container_caps = sorted(engine_helper.get_caps(container_inspect, opts))
TypeError: 'NoneType' object is not iterable
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected output :
Policy b13test with container id f8d0cb6c653e created!
Additional context
See b13test.json as attached file
b13test.zip
$ podman version
Version: 4.0.0-dev
API Version: 4.0.0-dev
Go Version: go1.16.7
Built: Thu Sep 30 17:17:20 2021
OS/Arch: linux/amd64
$ udica --version
0.2.6
$ more /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
The text was updated successfully, but these errors were encountered: