[Mageia-sysadm] [225] No need to sudo, emi is running with correct user already

Michael Scherer misc at zarb.org
Thu Jan 6 13:16:24 CET 2011


Le jeudi 06 janvier 2011 à 10:56 +0100, root at mageia.org a écrit :
> Revision: 225
> Author:   pterjan
> Date:     2011-01-06 10:56:59 +0100 (Thu, 06 Jan 2011)
> Log Message:
> -----------
> No need to sudo, emi is running with correct user already
> 
> Modified Paths:
> --------------
>     build_system/iurt/trunk/emi
> 
> Modified: build_system/iurt/trunk/emi
> ===================================================================
> --- build_system/iurt/trunk/emi	2011-01-06 03:25:26 UTC (rev 224)
> +++ build_system/iurt/trunk/emi	2011-01-06 09:56:59 UTC (rev 225)
> @@ -221,9 +221,8 @@
>  
>      $user ||= $config->{upload_user};
>  
> +    my $command = "/usr/bin/perl -I/usr/share/mdv-youri-core/lib 
> -I/usr/share/mdv-youri-submit/lib /usr/share/mdv-youri-submit/bin/youri-submit 

What about later simply placing the library in the default perl path to
avoid this ? ( ie, the requirement of adding -I everywhere )

> --verbose --config /etc/youri/submit-queue.conf --define user=$user --define prefix=$prefix 
> --define section=$section $target @packages &> $done/$path/$prefix.youri";
>  
-- 
Michael Scherer



More information about the Mageia-sysadm mailing list