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

Does not contain /root (/var/roothome)

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • rhel-bootc-container
    • None
    • None
    • None
    • rhel-sst-bootc
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      The base image container does not have a pre-created /root home directory when run as a container image.
      This directory (among others which are a subdirectory of /var) will by default also be created on system boot by systemd-tmpfiles however.

      Workaround:

      FROM <baseimage>
      RUN mkdir /var/roothome
      

      as part of a container build.

              walters@redhat.com Colin Walters
              walters@redhat.com Colin Walters
              Colin Walters Colin Walters
              Wei Shi Wei Shi
              Gabriela Necasova Gabriela Necasova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: