Bug 1312357 - When not-selected link is removed, links is never restored, even when another user exists
Summary: When not-selected link is removed, links is never restored, even when anothe...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: chkconfig
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Macku
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1312019 1400961 1472751
TreeView+ depends on / blocked
 
Reported: 2016-02-26 14:19 UTC by jiri vanek
Modified: 2020-03-26 10:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-26 10:54:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.