[packages/mock] add -o: useradd: UID 0 is not unique.

glen glen at pld-linux.org
Sat Jun 14 17:15:07 CEST 2014


commit ffe35838588bd16756c49715dc299aff9bafbb5d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jun 14 18:14:51 2014 +0300

    add -o: useradd: UID 0 is not unique.

 config.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/config.patch b/config.patch
index a865a05..86387f6 100644
--- a/config.patch
+++ b/config.patch
@@ -5,7 +5,7 @@
  # config_opts['chrootgid'] = grp.getgrnam("mock")[2]
  
 -# config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s -n %(user)s' # Fedora/RedHat
-+config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s'
++config_opts['useradd'] = '/usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s'
  #
  # Security related
  # config_opts['no_root_shells'] = False
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mock.git/commitdiff/ffe35838588bd16756c49715dc299aff9bafbb5d



More information about the pld-cvs-commit mailing list