Bug 1312357

Summary: When not-selected link is removed, links is never restored, even when another user exists
Product: Red Hat Enterprise Linux 7 Reporter: jiri vanek <jvanek>
Component: chkconfigAssignee: Jan Macku <jamacku>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jamacku, jscotka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-26 10:54:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1312019, 1400961, 1472751    

Description jiri vanek 2016-02-26 14:19:19 UTC
Motivation is this case:
https://bugzilla.redhat.com/show_bug.cgi?id=1312019#c8

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
  and remove
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.

Comment 4 Jan Macku 2020-03-26 10:54:33 UTC
Hi Jiri,

I'm sorry, but we are not able to check all corner cases witch might happen. Once you manually touch alternatives, we are not able to track those changes.

Closing this bug as WONTFIX.