Uploaded image for project: 'Container Tools'
  1. Container Tools
  2. RUN-2582

[containers/buildah] bash completion error with `shopt -s failglob`

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • buildah
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-container-tools

      [2926240363] Upstream Reporter: David Mandelberg
      Upstream issue status: Open
      Upstream description:

      I have failglob set in my interactive shells, and buildah's bash completion doesn't seem to work with that. In this output from bash --norc, I pressed tab after buildah:

      bash-5.2$ . /etc/bash_completion
      bash-5.2$ shopt -s failglob
      bash-5.2$ buildah bash: no match: @(--cgroup-manager|--registries-conf|--registries-conf-dir|--root|--runroot|--storage-driver|--storage-opt|--userns-uid-map|--userns-gid-map)
      bash: [: 1: unary operator expected

      Upstream URL: https://github.com/containers/buildah/issues/6069

              container-runtime-eng Container Runtime Eng Bot
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: