<div dir="ltr">Thanks. <div><br></div><div>I think I remembered there is a kill function, just forgot that that is an argument of lxc-stop.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Mar 13, 2014 at 8:14 PM, Tamas Papp <span dir="ltr"><<a href="mailto:tompos@martos.bme.hu" target="_blank">tompos@martos.bme.hu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div class="">
<br>
<div>On 03/13/2014 08:06 PM, István Király
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div>lxcpath:</div>
<div><br clear="all">
<div>I see, I can use this argument to place containers to
different path's.</div>
<div>Is there a general config that can set the default fedora
path /usr/local/var/lib/lxc to some custom path? For now I
need to use this argument every time, in every lxc command.</div>
</div>
</div>
</blockquote>
<br></div>
echo "lxc.lxcpath=/some/custom/path" >
/usr/local/etc/lxc/lxc.conf<br>
<br>
However, it's always better if you use distro packages.<div class=""><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>lxc-kill
<div><br>
</div>
<div>When running fedora containers on a fedora host, I see
some situations where I would need to force to stop a
container. I have a container running in a terminal at the
login prompt, I use lxc-stop in another terminal window, and
see the "Received SIGPWR." message, but nothing happens.</div>
<div><a href="http://lxc.info" target="_blank">lxc.info</a>
reports my container running, and I didnt find a way to shut
it down. Is there a way to "hard reset" or "hard poweroff" a
container?</div>
</div>
</div>
</blockquote>
<br></div>
man lxc-stop<br>
<br>
-k,--kill<br>
Rather than requesting a clean shutdown of the
container, explicitly kill all tasks in the container. This is the
legacy lxc-stop behavior.<br>
<br>
Where did you get lxc-kill from?<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
tamas<br>
</font></span></div>
<br>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">István Király<div>
+36 209 753 758</div><div>LaKing@D250.hu</div></div>
</div>