nspawn: properly handle image/directory paths that are symlinks
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Nov 2016 20:03:36 +0000 (21:03 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 Nov 2016 23:25:51 +0000 (00:25 +0100)
commit3f342ec4b028914fa558855609cd932364558c05
treedaf57b02f076b78fcc909ff7fd4a485629ba2038
parente187369587b1c6a5f65a12e7ec0bf7844905d014
nspawn: properly handle image/directory paths that are symlinks

This resolves any paths specified on --directory=, --template=, and --image=
before using them. This makes sure nspawn can be used correctly on symlinked
images and directory trees.

Fixes: #2001
src/nspawn/nspawn.c