[Lxc-users] can't start container after shutdown
hello, i have gentoo with 2.6.37-gentoo #1 SMP kernel , and lxc-0.7.3-r1 i successfully installed debian template and used it some time (about 1 month). Today after turning off the container, i can't start it. I get the following messsage # lxc-start -n debian lxc-start: inherited fd 6 on pipe:[2401332881] I could start only with command lxc-start -n debian 6- can you help me to solve my problem ? (sorry for my english ... ) -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] can't start container after shutdown
On 02/07/2011 03:52 PM, Володя К. wrote: 07.02.11, 17:31, Daniel Lezcanodaniel.lezc...@free.fr: On 02/07/2011 03:15 PM, Володя К. wrote: Are you using Midnight Commander ? yes, i have installed Midnight Commander and use it very often I don't remember exactly but there is a thread about this bug. This is not related to lxc. There is a bug in debian where the file descriptors are not closed and you inherit one within the container. The lxc code checks there is no fd leak inside the container for security reasons. What you are describing is very likely a bug in debian. I observed midnight commander leaks a fd for a pipe when an application is launched via it or via its shell. hm... are there the way to solve my problem manually ? or can i close open descriptors manually ? (if it's a debian bug - i think it's impossible to solve it now// it take some time) Yep, FYI: http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00962.html and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532319 can you advise me some simple solution Closing the fd is a workaround and that must wor, but maybe it is worth upgrading gdm and check the problem is resolved ? -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] can't start container after shutdown
On 02/07/2011 04:20 PM, Володя К. wrote: can you advise me some simple solution Closing the fd is a workaround and that must wor, but maybe it is worth upgrading gdm and check the problem is resolved ? I don't have gdm installed hmm. An application is leaking a fd somewhere. You can investigate to find it. First in the shell by checking /proc/self/fd and look for a symlink to the pipe. Then get the ppid of your shell and look at /proc/ppid/fd and so on ... until the pipe fd disappear. You will find the culprit. -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] can't start container after shutdown
can you advise me some simple solution Closing the fd is a workaround and that must wor, but maybe it is worth upgrading gdm and check the problem is resolved ? I don't have gdm installed -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users