Bug 131496
| Summary: | alternatives (re)--install does not delete orphaned slave symlinks | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <scop> | ||||||||
| Component: | chkconfig | Assignee: | Bill Nottingham <notting> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | rawhide | CC: | fitzsim, mitr, rvokal | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2005-05-05 21:11:44 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 136451 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ville Skyttä
2004-09-01 19:11:34 UTC
Created attachment 103361 [details]
FC2 typescript demonstrating the bug
Created attachment 103362 [details]
Debian typescript demonstrating the expected behaviour
While at it: the update-alternatives manpage symlink is missing from
the package. Fix:
--- chkconfig.spec~ 2004-06-15 20:27:43.000000000 +0300
+++ chkconfig.spec 2004-09-01 22:28:03.589678283 +0300
@@ -67,6 +67,7 @@
/etc/rc.d/rc[0-6].d
%dir /var/lib/alternatives
%{_mandir}/*/chkconfig*
+%{_mandir}/*/update-alternatives*
%{_mandir}/*/alternatives*
%files -n ntsysv
Created attachment 114068 [details]
Proposed patch
This patch modifies --install to compute the union of the provided slaves and
remove the slaves nobody provides when an alternative is updated.
Added in 1.3.20-1 - thanks! |