]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
lxc: be more patient while resolving symlinks
authorCédric Bosdonnat <cbosdonnat@suse.com>
Fri, 21 Nov 2014 16:45:55 +0000 (17:45 +0100)
committerCédric Bosdonnat <cbosdonnat@suse.com>
Tue, 25 Nov 2014 10:40:55 +0000 (11:40 +0100)
commit72fecf1813b9e77a7f89bc1e708f91bdab7d9ad4
treef0fe48cb1a545da9198b7123ac8d17be11e496b8
parent433b427ff853ab72d32573d415e6ec569b77c7cb
lxc: be more patient while resolving symlinks

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
src/lxc/lxc_container.c