From 680203b6388d67c34d5022cd3fad1956c138a5bc Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Thu, 14 Jun 2007 11:43:44 -0500 Subject: resolv.conf fixes. use 'mock' group for multiuser goodness. --- etc/defaults.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/defaults.cfg b/etc/defaults.cfg index 993ff6d..f9a57ed 100644 --- a/etc/defaults.cfg +++ b/etc/defaults.cfg @@ -12,11 +12,15 @@ config_opts['chrootgroup'] = 'mockbuild' config_opts['chroothome'] = '/builddir' config_opts['clean'] = True +import grp +config_opts['chrootuid'] = os.geteuid() +config_opts['chrootgid'] = grp.getgrnam("mock")[2] + # copy the host resolv.conf to the chroot config_opts['use_host_resolv'] = True # caching related options -config_opts['rebuild_cache'] = True +config_opts['rebuild_cache'] = False config_opts['use_cache'] = True config_opts['cache_topdir'] = "root-cache" config_opts['max_cache_age_days'] = 15 -- cgit