Uploaded image for project: 'Project Hummingbird'
  1. Project Hummingbird
  2. HUM-78

run dnf --installroot with proper mounts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • Hum Sprint 1

      Upstream issue: https://gitlab.com/redhat/rhel-primitives/containers/-/issues/2

      We're doing a plain "dnf --installroot" into a target root without even /dev and /proc mounted. This is a very unfriendly thing to do for code being run in this environment. One can easily end up with weird stuff if e.g. some script blindly does foo >/dev/null and you end up with a regular file there.

      This should be fixed before releasing the MVP.  I gave a stab at it but ran out of time.

              jlebon1@redhat.com Jonathan Lebon
              vrothber@redhat.com Valentin Rothberg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: