[lxc-devel] 答复: lxc and LD_PRELOAD conflict
尹小彪(嵌入式软件事业部)
yinxb at neusoft.com
Thu Feb 2 06:59:08 UTC 2012
Additionally,xxx.so depends on libplatform_config.so.
________________________________________
发件人: 尹小彪(嵌入式软件事业部) [yinxb at neusoft.com]
发送时间: 2012年2月2日 11:27
收件人: lxc-devel at lists.sourceforge.net
主题: [lxc-devel] lxc and LD_PRELOAD conflict
Hi Professors
Now I faced a problem.when add LD_PRELAOD before lxc-execute -n xxx,I will get error info:
--------------
lxc-execute:inherited fd 3 on /proc/platform_config
--------------
Look into the lxc source code and find that lxc does not allow inheriting any fd(in function lxc_start()).
my shell is like
======
export LD_PRELOAD= xxxx.so
mkdir /cgroup
mount -t cgroup -o all cgroup /cgroup
lxc-create -n xxx
lxc-execute -n myapp
======
Coulde anyone give a hint how to workaround this issue?
Thansk in advanced.
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------
More information about the lxc-devel
mailing list