#1247 CentOS Stream koji - change mock option from -n to -N
Closed: Wrong tracker by arrfab. Opened by tdawson.

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

[1] - https://kojihub.stream.centos.org/koji/


it's a stream infra request, so we'll need to create request on the proper tracker (CS project on issues.redhat.com).
I'll create one tomorrow and close this one with pointer to correct tracker and we'll discuss in the other one

Will be discsussed, tracked and prioritised in https://issues.redhat.com/browse/CS-1722 ticket

Metadata Update from @arrfab:
- Issue close_status updated to: Wrong tracker
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata