What were you trying to do that didn't work?
When installing targetcli package, the /var/target is expected to be created, but failed in image mode enviornment
Please provide the package NVR for which the bug is seen:
targetcli-2.1.58-3.el10.noarch
How reproducible is this bug?:
100%
Steps to reproduce
1 Use a beaker job to get a Fedora 41 in image mode
2 Log on the Fedora and create a container file, see attachment, The key step is only to install targetcli package
3 Build the image, switch to the image and reboot
podman build --platform "linux/arm64" -t localhost/bootc:beaker_virt -f container.file .
bootc switch --quiet --transport containers-storage localhost/bootc:beaker_virt && rstrnt-reboot
4 Log on the host and check the package and directory
rpm -q targetcli python3-rtslib;uname -r
targetcli-2.1.58-3.el10.noarch
python3-rtslib-2.1.76-12.el10.noarch
6.12.0-55.7.1.el10_0.aarch64
ll /etc/target
total 0
drwxr-xr-x. 2 root root 6 Mar 21 00:07 backup
ll /var/target
ls: cannot access '/var/target': No such file or directory
Expected results
/var/target should be created automatically