vzctl - vps_save_config will overwrite a CTs config if it is a symlink
Attachment vzctl-symlink.diff has been added with description: apply to 3.0.23
Looks good, but can we use canonicalize_file_name(3) for that?
Attachment vzctl_write_conf_canonical.diff has been added with description: canonicalize_fine_name
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 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.