image builder commands parameters issues

Posted on

Hi Dear,
I've tried to do some test with RHEL image builder (RHEL8.3) using some commands described in image customization. Unfortunately some commands doesn't run, by ex.: cannot install firewall:

[[packages]]
name = "firewalld"

Package is present with depsolve:

# composer-cli blueprints depsolve KVM_RHEL8_TestServer |grep firew
    firewalld-0.8.2-7.el8_4.noarch
    firewalld-filesystem-0.8.2-7.el8_4.noarch
    python3-firewall-0.8.2-7.el8_4.noarch

But cannot install it:

# composer-cli compose start KVM_RHEL8_TestServer qcow2
2021-12-01 14:21:24,285: DNF error occured: MarkingErrors: Error occurred when marking packages for installation: Problems in request:
missing packages: firewalld

And some other strange things, like :
- defining group and user but builder cannot create user because it doesn't find the group.
- or following errors:

Output:
[/usr/lib/tmpfiles.d/journal-nocow.conf:26] Failed to resolve specifier: uninitialized /etc detected, skipping
All rules containing unresolvable specifiers will be skipped.
Failed to create file /sys/fs/selinux/checkreqprot: Read-only file system

As someone already have same issue or any idea about these Problems?
Thanks a lot in advance for your help and support