summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/001881.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2011-January/001881.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001881.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-January/001881.html99
1 files changed, 99 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/001881.html b/zarb-ml/mageia-sysadm/2011-January/001881.html
new file mode 100644
index 000000000..501174fd8
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-January/001881.html
@@ -0,0 +1,99 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [262] use iurt_root_command to run chroot for --shell and --stop
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B262%5D%20use%20iurt_root_command%20to%20run%20chroot%20for%0A%09--shell%20and%20--stop&In-Reply-To=%3C20110110121259.0077541F75%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="001879.html">
+ <LINK REL="Next" HREF="001882.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [262] use iurt_root_command to run chroot for --shell and --stop</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B262%5D%20use%20iurt_root_command%20to%20run%20chroot%20for%0A%09--shell%20and%20--stop&In-Reply-To=%3C20110110121259.0077541F75%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [262] use iurt_root_command to run chroot for --shell and --stop">root at mageia.org
+ </A><BR>
+ <I>Mon Jan 10 13:12:58 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001879.html">[Mageia-sysadm] [761] use template, as noted by blino ( in case we need to change domain name )
+</A></li>
+ <LI>Next message: <A HREF="001882.html">[Mageia-sysadm] [263] PNG is a binary file
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1881">[ date ]</a>
+ <a href="thread.html#1881">[ thread ]</a>
+ <a href="subject.html#1881">[ subject ]</a>
+ <a href="author.html#1881">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 262
+Author: blino
+Date: 2011-01-10 13:12:58 +0100 (Mon, 10 Jan 2011)
+Log Message:
+-----------
+use iurt_root_command to run chroot for --shell and --stop
+
+Modified Paths:
+--------------
+ build_system/iurt/trunk/iurt2
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2 2011-01-10 11:58:26 UTC (rev 261)
++++ build_system/iurt/trunk/iurt2 2011-01-10 12:12:58 UTC (rev 262)
+@@ -770,7 +770,7 @@
+ add_sudoers(\%run, $chroot_tmp, $luser);
+ if ($run{shell}) {
+ plog('NOTIFY', &quot;dumping to a chrooted shell into $chroot_tmp&quot;);
+- exec $sudo, 'chroot', $chroot_tmp, '/bin/su', '-', $luser, '-c', &quot;$config-&gt;{prompt} bash&quot;;
++ exec $sudo, $config-&gt;{iurt_root_command}, '--chroot', $chroot_tmp, '/bin/su', '-', $luser, '-c', &quot;$config-&gt;{prompt} bash&quot;;
+ die &quot;FATAL $program_name: could not exec chroot to $chroot_tmp ($!)&quot;;
+ }
+ }
+@@ -959,7 +959,7 @@
+ if ($run{stop}) {
+ plog(&quot;dumping to a chrooted shell into $chroot_tmp (pid $$)&quot;);
+ # exec does not work because it seems stdin and out are shared between children
+- system($sudo, 'chroot', $chroot_tmp, '/bin/su', '-', $luser, '-c', &quot;$config-&gt;{prompt} bash&quot;);
++ system($sudo, $config-&gt;{iurt_root_command}, '--chroot', $chroot_tmp, '/bin/su', '-', $luser, '-c', &quot;$config-&gt;{prompt} bash&quot;);
+ exit();
+ }
+ plog('DEBUG', &quot;calling callback for $opt-&gt;{hash}&quot;);
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20110110/cba69fe6/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001879.html">[Mageia-sysadm] [761] use template, as noted by blino ( in case we need to change domain name )
+</A></li>
+ <LI>Next message: <A HREF="001882.html">[Mageia-sysadm] [263] PNG is a binary file
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1881">[ date ]</a>
+ <a href="thread.html#1881">[ thread ]</a>
+ <a href="subject.html#1881">[ subject ]</a>
+ <a href="author.html#1881">[ 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>