If possible, replace symbolic links in place
Naive 'ln -s -f a b' will put the link inside 'b', if 'b' is (a symlink to) a directory; so, during upgrades, the links in $(sysconfdir) cannot be updated this way. Removing and readding works, however leaves the risk of the upgrade process dying in that very moment, thus leaving 'gnt-cluster' a dangling link, so that the --resume option is of no help. On GNU systems, avoid this problem by using the -T option of GNU ln. Signed-off-by:Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
Please register or sign in to comment