Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-84413

/var/target directory fails to be created in image mode environment

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.6, rhel-10.0
    • targetcli
    • No
    • None
    • rhel-storage-io-2
    • ssg_platform_storage
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      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

      Actual results

              mlombard@redhat.com Maurizio Lombardi
              rhn-support-dzheng Dan Zheng
              Maurizio Lombardi Maurizio Lombardi
              Zhaojuan Guo Zhaojuan Guo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: