Description of problem: Could you please fix mock, so it will use useradd '-N' option instead of 'n'. '-n' is obsolete. thnx. etc/mock/site-defaults.cfg:# config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s -n %(user)s' # Fedora/RedHat py/mock.py: config_opts['useradd'] = \ py/mock.py: '/usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s -n %(user)s' py/mock/backend.py: self.useradd = config['useradd'] py/mock/backend.py: if not os.path.exists(self.makeChrootPath('usr/sbin/useradd')): py/mock/backend.py: raise mock.exception.RootError, "Could not find useradd in chroot, maybe the install failed?" py/mock/backend.py: self.doChroot(self.useradd % dets, shell=True)
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Looking at this, the EL5/4 useradd doesn't support -N, so we'd have to do a different call in the configs for EL4/5. Checking with Clark if he's OK with that.
Change pushed upstream.
mock-1.0.5-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/mock-1.0.5-1.fc12
mock-1.0.5-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/mock-1.0.5-1.fc11
mock-1.0.5-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/mock-1.0.5-1.fc13
mock-1.0.5-1.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/mock-1.0.5-1.el5
mock-1.0.5-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-1083
mock-1.0.5-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1306
mock-1.0.5-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-1374
mock-1.0.5-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2010-2289
(In reply to comment #2) > Looking at this, the EL5/4 useradd doesn't support -N, so we'd have to do a > different call in the configs for EL4/5. Checking with Clark if he's OK with > that. This means that people updating on Fedora need to manually merge their config for EPEL, but the update details do not mention this.
mock-1.0.5-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.0.5-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.0.5-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.0.5-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
Ok, this is going south in a hurry. Peter, how long until Fedora's useradd no longer accepts -n? The problem with using -N is that EL useradd doesn't support it, and for things like koji generated configs we can't have a default that won't work. Since -n works everywhere currently I'd like to keep it as -n.
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
We're still using -n, and will for a while until there are no consumers of -N needed by mock.