Bugzilla – Bug 1270
Vzctl config file symlink
Last modified: 2015-04-01 14:43:17 EDT
Created attachment 969 [details]
apply to 3.0.23
vzctl is unable to handle symlink files for config file in certain case ( cross-device )
I've made a patch which handle this.
Looks good, but can we use canonicalize_file_name(3) for that?
Created attachment 970 [details]
indeed, it works as expected
1. you need to free() the result of canonicalize_file_name()
2. the proper way to #define _GNU_SOURCE is:
Fixed in GIT:
Plus an improvement related to this bugreport:
Will be available in vzctl >= 3.0.24.
*** Bug 1359 has been marked as a duplicate of this bug. ***
Bug was fixed more than one year ago and there were no complains from reporter after fix. We believe bug fix helped and mark bug as closed.