summaryrefslogtreecommitdiffstats
path: root/perl-install/run_program.pm
Commit message (Collapse)AuthorAgeFilesLines
* (raw) do not crash when trying to guess homedir before running another ↵Thierry Vignaud2012-09-171-1/+2
| | | | process (mga#7403)
* (raw) rename $user as $uid as it really what it isThierry Vignaud2012-09-171-5/+5
| | | | (preparing for next commit)
* (get_stdout_raw) introduce itThierry Vignaud2012-05-231-0/+8
| | | | needed for next commit
* add infrastructure so that programs can alter the default timeout (10m)Thierry Vignaud2012-04-031-1/+8
| | | | (needed for next commit, mga#4772)
* (raw) fix $HOME for all when runing as another user instead of root (mga#287)Thierry Vignaud2011-12-101-0/+3
| | | | make rpmdrake fix more generic
* - use 'cannot' instead of 'can not'Ahmad Samir2011-04-021-4/+4
| | | | | - use 'LDAP' instead of 'Ldap'
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* run_program: use home and logname of user we are dropping privileges to, not 501Pascal Terjan2010-02-111-1/+1
|
* (raw) introduce new 'as_user' parameter which tries harder to get user ID inThierry Vignaud2009-10-121-1/+20
| | | | | | order to drop privileges ; also keep a copy of the X11 cookie (enable to fix #53999)
* explainThierry Vignaud2009-10-121-0/+1
|
* (raw) perl_checker cleanupThierry Vignaud2009-10-121-1/+1
|
* - fix LOGNAME to be able to use a running firefox instance to fill a bug #31109Tiago Salem Herrmann2008-05-281-1/+1
|
* - add a fallback when setting $ENV{'LOGNAME'}Tiago Salem Herrmann2008-04-071-1/+1
|
* - firefox needs LOGNAME to work properly. #31109Tiago Salem Herrmann2008-04-071-0/+1
|
* - fix changing UID on forking (spotted by salem)Thierry Vignaud2008-03-131-1/+1
|
* (raw) run_program layer: enable to drop privileges through setuid()Thierry Vignaud2007-09-131-0/+5
|
* re-sync after the big svn lossPascal Rigaux2007-04-251-6/+7
|
* fix bad typoPascal Rigaux2005-12-181-1/+1
|
* fix handling absolute binary in chrootPascal Rigaux2005-12-141-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 Rigaux2005-11-031-2/+1
|
* fix previous commit so that "prog1|prog2" like construction still workThierry Vignaud2005-10-071-1/+2
|
* fix buggy previous commit, cleanup and correctly indent. previous commit was:Pascal Rigaux2005-10-071-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 Vignaud2005-10-071-0/+2
| | | | found (#18987)
* force our tmpdir to /root/tmp when root and not isInstallPascal Rigaux2005-09-141-2/+2
| | | | | (fixes installkernel being called with sudo and not sudo -H) (thanks to fred crozat!)
* fix return code when chroot can't be doneOlivier Blin2005-05-241-1/+1
|
* (raw) ensure runned programs are logged in explanationsThierry Vignaud2005-03-101-1/+1
|
* *** empty log message ***Pascal Rigaux2005-01-111-1/+1
|
* do not log the encrypted passwordPascal Rigaux2005-01-111-1/+2
|
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-4/+4
|
* since we don't use ramdisk but clp, some code is deadPascal Rigaux2004-11-181-4/+0
| | | | | (remove usingRamdisk(), check_prog(), remove_unused()...)
* do not use die when forked, use log::l + c::_exit insteadPascal Rigaux2004-10-261-6/+9
|
* don't check_prog when the prog is a complex command (containing a pipe)Pascal Rigaux2004-09-091-1/+1
|
* simplifyPascal Rigaux2004-09-091-1/+1
|
* rename $str into $real_namePascal Rigaux2004-09-091-4/+4
|
* remove redundant codePascal Rigaux2004-09-091-11/+8
|
* create ~/tmp when neededPascal Rigaux2004-04-261-2/+7
|
* don't print refs in log when output is redirectedPascal Rigaux2004-01-121-5/+5
| | | | | (nice patch from blino :)
* when called from commands.pm, install_any is not loadedPascal Rigaux2004-01-071-1/+4
|
* fix to enable drakconnect to be run in "install" mode while being a standaloneThierry Vignaud2003-12-291-1/+1
| | | | | tool
* introduce bg_command object that enable to fork a sub that give back dataThierry Vignaud2003-11-231-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 Vignaud2003-10-271-0/+1
|
* better logging of killed runaway processesPascal Rigaux2003-09-151-1/+1
|
* added detach option to handle detached process running (for update-menus).Francois Pons2003-09-111-27/+31
|
* perl_checker compliance ("ref" now need parentheses in many case)Pascal Rigaux2003-02-121-2/+2
|
* perl_checker fixesThierry Vignaud2002-11-261-1/+1
|
* s/wantarray/wantarray()/Pascal Rigaux2002-11-151-2/+2
|
* - add/remove spaces to make perl_checker happyPascal Rigaux2002-11-141-1/+1
| | | | | | - remove redundant parentheses - add some parentheses for clarity
* add/remove some spaces to make perl_checker happyPascal Rigaux2002-11-121-1/+1
|
* allow the saving in perl variable to be done even if the exit status is not 0Pascal Rigaux2002-08-211-3/+2
|
* add get_stdout (similar to rooted_get_stdout)Pascal Rigaux2002-08-111-0/+7
|