Red Hat Bugzilla – Bug 1312357
When not-selected link is removed, links is never restored, even when another user exists
Last modified: 2018-02-01 20:53:27 EST
Motivation is this case:
alternatives --install /home/x/master-name master /home/x/master1-path 10 --slave /home/x/slave-name slave /home/x/slave1-path
alternatives --install /home/x/master-name master /home/x/master2-path 20 --slave /home/x/slave-name slave /home/x/slave2-path
now `slave` is pointing to /home/x/slave2-path is selected.
When you delete /home/x/slave-name
alternatives --remove master1 home/x/master1-path (not selected one)
then the link is not restored, even when another record is still there and should be pointing
(same is valid also for operations directly on master)
On contrary, when you
alternatives --remove master1 home/x/master2-path (selected one)
the link is restored (during moving of target to another valid target)
I do not insists this is bug. I just would like to know the opinions.