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

Image mode: change default runtime system paths for bootc compatibility

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • rhel-10.2
    • rhel-10.2
    • yggdrasil
    • None
    • yggdrasil-0.4.9-1.el10
    • None
    • Important
    • 2
    • subs-client-tools-2
    • 8
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CT2 Sprint 1, CT2 Sprint 2
    • None

      Description of Problem:

      Yggdrasil in bootc environments (rhel10 base image) attempts to incorrectly make the /usr/local/var/ directory which has read-only access in image mode.  

      Please provide the package NVR for which bug is seen:

      yggdrasil-0.4.5-2.el10_0.x86_64
      yggdrasil-worker-package-manager-0.2.3-3.el10.x86_64

      How reproducible

      Always

      Steps to Reproduce

      • Attempt to manually run yggdrasil in a bootc environment:
        • $ yggd --log-level DEBUG
      • There should be an error:
        • cannot create client-id: cannot set client-id: cannot create directory: mkdir /usr/local/var: read-only file system

      Actual Behavior

      There is an error creating the var directory in /usr/local/ due to bootc restricting write access.

      Expected Behavior

      Yggdrasil shouldn't be attempting to create a directory in a restricted location in bootc environments.

              rh-ee-jajerome Jason Jerome
              redakkan@redhat.com Rehana Raj Edakandiyil
              Adam Ruzicka, Joshua Locash
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Archana Pandey Archana Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: