On Tue, 2015-03-24 at 11:45 +, Wei Liu wrote:
If the path is not a symlink, readlink by default returns empty string.
Use -f to always return canonical path. This fixes the problem that
xenpolicy file not getting loaded (because it is not a symlink).
Also change another spot that calls
On Fri, 2015-03-27 at 17:31 +0100, Atom2 wrote:
Am 27.03.15 um 10:28 schrieb Ian Campbell:
Unfortunately this has unexpectedly made things worse. See:
http://www.chiark.greenend.org.uk/~xensrcts/logs/36757/
The issue is that readlink -f returns the full absolute path, so given
$ ls
Am 27.03.15 um 10:28 schrieb Ian Campbell:
Unfortunately this has unexpectedly made things worse. See:
http://www.chiark.greenend.org.uk/~xensrcts/logs/36757/
The issue is that readlink -f returns the full absolute path, so given
$ ls /boot/xen*
xen - xen-X.Y
xen-X.Y
Then:
$
On Tue, 2015-03-24 at 11:45 +, Wei Liu wrote:
If the path is not a symlink, readlink by default returns empty string.
Use -f to always return canonical path. This fixes the problem that
xenpolicy file not getting loaded (because it is not a symlink).
Also change another spot that calls
If the path is not a symlink, readlink by default returns empty string.
Use -f to always return canonical path. This fixes the problem that
xenpolicy file not getting loaded (because it is not a symlink).
Also change another spot that calls readlink to get xen binary path in
case in the future we