]> git.ipfire.org Git - thirdparty/lxc.git/commit
only warn for inherited file descriptors
authorGreg Kurz <gkurz@fr.ibm.com>
Tue, 13 Sep 2011 13:08:04 +0000 (15:08 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 13 Sep 2011 13:08:04 +0000 (15:08 +0200)
commit92c7f6295518decd3989b2790d758888551e7d9a
tree9795d45747f5160c952b0fd9c88e9bea1d4643be
parent1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850
only warn for inherited file descriptors

As discussed in thread:

http://sourceforge.net/mailarchive/forum.php?thread_name=4E5618C3.5060507%40free.fr&forum_name=lxc-devel

We think it's better for now to only warn the user about a fd leaking into
the container. Also remove the call to readlink() as it isn't really useful
now: since the container will start anyway, the user can look into /proc/../fd
or use lsof or whatever.

Signed-off-by: Greg Kurz <gkurz@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/start.c