Uploaded image for project: 'CentOS Stream Pipeline'
  1. CentOS Stream Pipeline
  2. CS-1722

CentOS Stream koji - change mock option from -n to -N

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Infrastructure
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Testable

      Initially asked by @tdawson on wrong tracker :

       

      The current CentOS Stream koji build system[1] uses mock 2.8.
      In that version of mock, when it creates the mockbuild user it uses -n as one of it's options.
      useradd -n has always been an alias for useradd -N
      In Fedora shadow-utils-4.14.0-1 this alias was removed, and it now only has useradd -N
      Because the -n option is no longer available, builds for CentOS Stream 10 no longer build, but fail with

       
      ERROR: Command failed: # /usr/sbin/useradd -o -m -u 988 -g 135 -d /builddir -n mockbuild
      Please patch mock on CentOS Stream koji so that it uses -N instead of -n

              farrotin@redhat.com Fabian Arrotin
              tdawson@redhat.com Troy Dawson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: