diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001578.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/001578.html | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/001578.html b/zarb-ml/mageia-sysadm/2011-January/001578.html new file mode 100644 index 000000000..a3b841318 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/001578.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [225] No need to sudo, emi is running with correct user already + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B225%5D%20No%20need%20to%20sudo%2C%0A%09emi%20is%20running%20with%20correct%20user%20already&In-Reply-To=%3C20110106095659.C658D41A25%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="001663.html"> + <LINK REL="Next" HREF="001579.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [225] No need to sudo, emi is running with correct user already</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B225%5D%20No%20need%20to%20sudo%2C%0A%09emi%20is%20running%20with%20correct%20user%20already&In-Reply-To=%3C20110106095659.C658D41A25%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [225] No need to sudo, emi is running with correct user already">root at mageia.org + </A><BR> + <I>Thu Jan 6 10:56:59 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="001663.html">[Mageia-sysadm] Hardware +</A></li> + <LI>Next message: <A HREF="001579.html">[Mageia-sysadm] [225] No need to sudo, emi is running with correct user already +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1578">[ date ]</a> + <a href="thread.html#1578">[ thread ]</a> + <a href="subject.html#1578">[ subject ]</a> + <a href="author.html#1578">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>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 --verbose --config /etc/youri/submit-queue.conf --define user=$user --define prefix=$prefix --define section=$section $target @packages &> $done/$path/$prefix.youri"; + +- my $command = "/usr/bin/sudo -H -u $config->{upload_user} /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 --verbose --config /etc/youri/submit-queue.conf --define user=$user --define prefix=$prefix --define section=$section $target @packages &> $done/$path/$prefix.youri"; +- + plog('DEBUG', "running $command"); + if (!system($command)) { + plog('INFO', "upload succeeded"); +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20110106/445fa2ae/attachment.html> +</PRE> + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="001663.html">[Mageia-sysadm] Hardware +</A></li> + <LI>Next message: <A HREF="001579.html">[Mageia-sysadm] [225] No need to sudo, emi is running with correct user already +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1578">[ date ]</a> + <a href="thread.html#1578">[ thread ]</a> + <a href="subject.html#1578">[ subject ]</a> + <a href="author.html#1578">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |