Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | run_program: set XAUTHORITY and HOME for the user we will drop privileges todistro/mdv2009.1 | Pascal Terjan | 2010-02-11 | 1 | -1/+4 |
| | |||||
* | - fix LOGNAME to be able to use a running firefox instance to fill a bug #31109 | Tiago Salem Herrmann | 2008-05-28 | 1 | -1/+1 |
| | |||||
* | - add a fallback when setting $ENV{'LOGNAME'} | Tiago Salem Herrmann | 2008-04-07 | 1 | -1/+1 |
| | |||||
* | - firefox needs LOGNAME to work properly. #31109 | Tiago Salem Herrmann | 2008-04-07 | 1 | -0/+1 |
| | |||||
* | - fix changing UID on forking (spotted by salem) | Thierry Vignaud | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | (raw) run_program layer: enable to drop privileges through setuid() | Thierry Vignaud | 2007-09-13 | 1 | -0/+5 |
| | |||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-25 | 1 | -6/+7 |
| | |||||
* | fix bad typo | Pascal Rigaux | 2005-12-18 | 1 | -1/+1 |
| | |||||
* | fix handling absolute binary in chroot | Pascal Rigaux | 2005-12-14 | 1 | -2/+5 |
| | | | | | (and add some comment about the usefulness of catching program not found early) | ||||
* | don't use /root/tmp if /root doesn't exist (fixes using it in rescue) | Pascal Rigaux | 2005-11-03 | 1 | -2/+1 |
| | |||||
* | fix previous commit so that "prog1|prog2" like construction still work | Thierry Vignaud | 2005-10-07 | 1 | -1/+2 |
| | |||||
* | fix buggy previous commit, cleanup and correctly indent. previous commit was: | Pascal Rigaux | 2005-10-07 | 1 | -2/+10 |
| | | | | | do not clober output files (stdout or stderr) when binary cannot be found (#18987) | ||||
* | (raw) do not clober output files (stdout or stderr) when binary cannot be ↵ | Thierry Vignaud | 2005-10-07 | 1 | -0/+2 |
| | | | | found (#18987) | ||||
* | force our tmpdir to /root/tmp when root and not isInstall | Pascal Rigaux | 2005-09-14 | 1 | -2/+2 |
| | | | | | (fixes installkernel being called with sudo and not sudo -H) (thanks to fred crozat!) | ||||
* | fix return code when chroot can't be done | Olivier Blin | 2005-05-24 | 1 | -1/+1 |
| | |||||
* | (raw) ensure runned programs are logged in explanations | Thierry Vignaud | 2005-03-10 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Pascal Rigaux | 2005-01-11 | 1 | -1/+1 |
| | |||||
* | do not log the encrypted password | Pascal Rigaux | 2005-01-11 | 1 | -1/+2 |
| | |||||
* | better english (writing style rather than spoken one) | Thierry Vignaud | 2004-12-13 | 1 | -4/+4 |
| | |||||
* | since we don't use ramdisk but clp, some code is dead | Pascal Rigaux | 2004-11-18 | 1 | -4/+0 |
| | | | | | (remove usingRamdisk(), check_prog(), remove_unused()...) | ||||
* | do not use die when forked, use log::l + c::_exit instead | Pascal Rigaux | 2004-10-26 | 1 | -6/+9 |
| | |||||
* | don't check_prog when the prog is a complex command (containing a pipe) | Pascal Rigaux | 2004-09-09 | 1 | -1/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2004-09-09 | 1 | -1/+1 |
| | |||||
* | rename $str into $real_name | Pascal Rigaux | 2004-09-09 | 1 | -4/+4 |
| | |||||
* | remove redundant code | Pascal Rigaux | 2004-09-09 | 1 | -11/+8 |
| | |||||
* | create ~/tmp when needed | Pascal Rigaux | 2004-04-26 | 1 | -2/+7 |
| | |||||
* | don't print refs in log when output is redirected | Pascal Rigaux | 2004-01-12 | 1 | -5/+5 |
| | | | | | (nice patch from blino :) | ||||
* | when called from commands.pm, install_any is not loaded | Pascal Rigaux | 2004-01-07 | 1 | -1/+4 |
| | |||||
* | fix to enable drakconnect to be run in "install" mode while being a standalone | Thierry Vignaud | 2003-12-29 | 1 | -1/+1 |
| | | | | | tool | ||||
* | introduce bg_command object that enable to fork a sub that give back data | Thierry Vignaud | 2003-11-23 | 1 | -0/+23 |
| | | | | | | through STDOUT a la run_program::get_stdout but w/ arbitrary perl code instead of external program and in background | ||||
* | fix requires for c::_exit() | Thierry Vignaud | 2003-10-27 | 1 | -0/+1 |
| | |||||
* | better logging of killed runaway processes | Pascal Rigaux | 2003-09-15 | 1 | -1/+1 |
| | |||||
* | added detach option to handle detached process running (for update-menus). | Francois Pons | 2003-09-11 | 1 | -27/+31 |
| | |||||
* | perl_checker compliance ("ref" now need parentheses in many case) | Pascal Rigaux | 2003-02-12 | 1 | -2/+2 |
| | |||||
* | perl_checker fixes | Thierry Vignaud | 2002-11-26 | 1 | -1/+1 |
| | |||||
* | s/wantarray/wantarray()/ | Pascal Rigaux | 2002-11-15 | 1 | -2/+2 |
| | |||||
* | - add/remove spaces to make perl_checker happy | Pascal Rigaux | 2002-11-14 | 1 | -1/+1 |
| | | | | | | - remove redundant parentheses - add some parentheses for clarity | ||||
* | add/remove some spaces to make perl_checker happy | Pascal Rigaux | 2002-11-12 | 1 | -1/+1 |
| | |||||
* | allow the saving in perl variable to be done even if the exit status is not 0 | Pascal Rigaux | 2002-08-21 | 1 | -3/+2 |
| | |||||
* | add get_stdout (similar to rooted_get_stdout) | Pascal Rigaux | 2002-08-11 | 1 | -0/+7 |
| | |||||
* | (raw): new function allowing special options like {timeout} | Pascal Rigaux | 2002-08-06 | 1 | -3/+22 |
| | |||||
* | - fix $ENV{HOME} value to '/root' if usermode break it | Damien Chaumette | 2002-07-31 | 1 | -1/+1 |
| | |||||
* | fix rooted() when chrooted and saving the result in a perl variable | Pascal Rigaux | 2002-07-29 | 1 | -4/+4 |
| | |||||
* | (rooted_get_stdout): handle one line return using wantarray | Pascal Rigaux | 2002-07-26 | 1 | -1/+1 |
| | |||||
* | - also give the ability to redirect to an array ref | Pascal Rigaux | 2002-07-26 | 1 | -2/+17 |
| | | | | | - add rooted_get_stdout which is alike `` | ||||
* | add 2 functionalities to run_program: | Pascal Rigaux | 2002-07-26 | 1 | -12/+28 |
| | | | | | | | | | | - run_program::run(prog, '>', 'STDOUT', ...) run_program::run(prog, '2>', 'STDERR, ...) which will run with verbatim stdout or stderr - run_program::run(prog, '>', \$s, ...) run_program::run(prog, '2>', \$s, ...) which will return the stdout (resp. stderr) of the program in $s | ||||
* | remove assigning STDIN to /dev/null since: | Pascal Rigaux | 2002-02-15 | 1 | -2/+0 |
| | | | | | | - programs should not use STDIN - the "postInstall" script for auto_install's is more happy still having the STDIN. | ||||
* | changed exit code of failed exec in rooted to 128 instead of 1 (may clash with | Francois Pons | 2001-07-12 | 1 | -2/+2 |
| | | | | | exit code of fsck else). | ||||
* | (rooted): don't call install_any::check_prog if rooted | Pascal Rigaux | 2001-04-11 | 1 | -1/+1 |
| | |||||
* | in install, call install_any::check_prog to allow shadow progs which are | Pascal Rigaux | 2001-04-11 | 1 | -0/+1 |
| | | | | | fetched when needed via getFile |