summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* remove redundant daemontest in srcMichael E Brown2007-12-121-101/+0
|
* convert to use consolehelper rather than setuid wrapper.Michael E Brown2007-12-063-297/+0
|
* cleanup unused configure directives.Michael E Brown2007-12-011-66/+0
|
* move daemontest.c to src/ dir.Michael E Brown2007-12-011-0/+101
|
* move things around so that we can run mock.py from the build tree instead of ↵Michael E Brown2007-11-3012-1988/+0
| | | | having to install it.
* reformat command failed output slightly.Michael E Brown2007-11-291-2/+2
|
* use log.info() to tell about enabled caches rather than misusing state(). ↵Michael E Brown2007-11-292-2/+3
| | | | the state() method should be used to say what is happening.
* fixup error message for misconfigured logging.ini. pass system exit ↵Michael E Brown2007-11-291-3/+3
| | | | exception so we dont run eg. orphankill. log exception using correct logger.
* make error log output more useful.Michael E Brown2007-11-291-2/+2
|
* add dep on python-ctypes so it will run on FC6. remove attempt at non-ctypes ↵Michael E Brown2007-11-293-82/+0
| | | | compatibility
* add verbosity control (-q/-v)Michael E Brown2007-11-291-23/+62
|
* most root_log.info() calls were actually for debugging, so change them to debug.Michael E Brown2007-11-291-8/+7
|
* basic logger config a bit earlier so we can possibly catch log messages from ↵Michael E Brown2007-11-291-7/+6
| | | | submodule imports.
* make sure trace log only emits log records to logger if logger is enabled ↵Michael E Brown2007-11-291-9/+19
| | | | for the specified log level.
* dont init buildroot for install/installdepsMichael E Brown2007-11-291-3/+4
|
* remove no-longer-needed debug log messagesMichael E Brown2007-11-291-16/+0
|
* make sure we run yum install as root. remove unneeded state change message. ↵Michael E Brown2007-11-291-13/+10
| | | | remove redundant becomeUser() call in _copySrpmIntoChroot().
* make privstack more readable.Michael E Brown2007-11-291-2/+2
|
* bypass privStack by calling _becomeUser directly in mock setup.Michael E Brown2007-11-291-2/+2
|
* log calling function name properlyMichael E Brown2007-11-291-8/+12
|
* fix handling for printout of exceptions.Michael E Brown2007-11-291-2/+4
|
* enhance trace decorator to make log messages print actual ↵Michael E Brown2007-11-291-3/+37
| | | | function/filename/lineno of the to-be-called function.
* Merge commit 'origin/master'Michael E Brown2007-11-282-22/+30
|\ | | | | | | | | | | * commit 'origin/master': add option to disable internal /dev setup. turn output back on for yum install commands. better user feedback.
| * add option to disable internal /dev setup.Michael E Brown2007-11-282-21/+29
| |
| * turn output back on for yum install commands. better user feedback.Michael E Brown2007-11-281-2/+2
| |
* | temporary debug logging to be removed.Michael E Brown2007-11-281-12/+16
| |
* | Merge branch 'master' of ssh://duo/~/mockworkMichael E Brown2007-11-282-0/+136
|\ \ | | | | | | | | | | | | * 'master' of ssh://duo/~/mockwork: add {g,s}etres{g,u}id() functions using ctypes direct call to glibc.
| * | add {g,s}etres{g,u}id() functions using ctypes direct call to glibc.Michael E Brown2007-11-282-0/+136
| | |
* | | Merge branch 'master' of ssh://duo/~/mockworkMichael E Brown2007-11-282-9/+17
|\| | | |/ |/| | | | | | | | | | | | | * 'master' of ssh://duo/~/mockwork: move uid stuff to its own module. start updating release instructions. uid stuff in its own submodule drop privs early to parse cmdline args and config files. pick them up again before we start doing real work. better end-user error messages for messed up config files
| * move uid stuff to its own module.Michael E Brown2007-11-281-1/+0
| |
| * drop privs early to parse cmdline args and config files. pick them up again ↵Michael E Brown2007-11-281-4/+8
| | | | | | | | before we start doing real work.
| * better end-user error messages for messed up config filesMichael E Brown2007-11-281-4/+9
| |
* | Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mockMichael E Brown2007-11-281-1/+4
|\ \
| * | add length check to old behavior check in command_parse()Clark Williams2007-11-271-1/+1
| | |
| * | merge resolvedClark Williams2007-11-275-65/+105
| |\|
| * | Merge branch 'master' into clarkClark Williams2007-11-151-1/+1
| |\ \
| * | | fix for no logging.ini situationClark Williams2007-11-151-1/+4
| | | |
* | | | place online param where chroot obj can find it.Michael E Brown2007-11-281-1/+4
| | | |
* | | | first (untested) try at adding offline mode.Michael E Brown2007-11-283-22/+36
| |_|/ |/| |
* | | version bumpMichael E Brown2007-11-261-1/+1
| | |
* | | fix bz#400161 - broken 'shell' commandMichael E Brown2007-11-261-1/+1
| | |
* | | set selinux context on created /dev/ files in chroot to prevent AVC denials.Michael E Brown2007-11-261-7/+17
| | |
* | | small optimization on LOC for detecting if we need to clean chroot.Michael E Brown2007-11-201-3/+1
| | |
* | | forgot to put back return value for command_parse().Michael E Brown2007-11-201-0/+2
| | |
* | | fix syntax error typo.Michael E Brown2007-11-201-2/+2
| | |
* | | unify command mode parsing using optparse with backward compatibility for ↵Michael E Brown2007-11-201-37/+35
| | | | | | | | | | | | old style.
* | | another old-python fix for rhel5 python 2.4 support.Michael E Brown2007-11-191-2/+5
| | |
* | | version bumpMichael E Brown2007-11-191-1/+1
| | |
* | | Fix python 2.4. traceback on logging module bug.Michael E Brown2007-11-191-0/+2
| | |
* | | allow mock builds by root. potentially unsafe if building untrusted code, ↵Michael E Brown2007-11-191-1/+1
| | | | | | | | | | | | but there is no reason to hardcode a ban on it.