Bug 1312357 - When not-selected link is removed, links is never restored, even when another user exists
When not-selected link is removed, links is never restored, even when anothe...
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: chkconfig (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Lukáš Nykrýn
qe-baseos-daemons
:
Depends On:
Blocks: 1400961 1472751 1312019
  Show dependency treegraph
 
Reported: 2016-02-26 09:19 EST by jiri vanek
Modified: 2018-02-01 20:53 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description jiri vanek 2016-02-26 09:19:19 EST
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.

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