[libvirt] [PATCH 4/5] lxc: be more patient while resolving symlinks

Martin Kletzander mkletzan at redhat.com
Tue Nov 25 07:43:01 UTC 2014

On Mon, Nov 24, 2014 at 09:54:45PM +0100, Cédric Bosdonnat wrote:
>Resolving symlinks can fail before mounting any file system if one file
>system depends on another being mounted. Symlinks are now resolved in
>two passes:
>  * Before any file system is mounted, but then we are more gentle if
>    the source path can't be accessed
>  * Right before mounting a file system, so that we are sure that we
>    have the resolved path... but then if it can't be accessed we raise
>    an error.
> src/conf/domain_conf.h  |  1 +
> src/lxc/lxc_container.c | 77 ++++++++++++++++++++++++++++++++++---------------
> 2 files changed, 54 insertions(+), 24 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141125/8474e60b/attachment-0001.sig>

More information about the libvir-list mailing list